Ignore:
Timestamp:
07/14/05 16:03:32 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r7188 r7189  
    174174    }
    175175
    176     TObject *o = file.Get("ExtractSignal");
    177     if (o && !o->InheritsFrom(MExtractor::Class()))
    178     {
    179         *fLog << err << dbginf << "ERROR - ExtractSignal read from " << fname << " doesn't inherit from MExtractor!" << endl;
    180         return NULL;
    181     }
    182 
    183176    if (file.FindKey("MBadPixelsCam"))
    184177    {
     
    190183    }
    191184
     185    if (fExtractor)
     186        return fExtractor;
     187
     188    TObject *o=0;
     189    o = file.Get("ExtractSignal");
     190    if (o && !o->InheritsFrom(MExtractor::Class()))
     191    {
     192        *fLog << err << dbginf << "ERROR - ExtractSignal read from " << fname << " doesn't inherit from MExtractor!" << endl;
     193        return NULL;
     194    }
    192195    return o ? (MExtractor*)o->Clone("ExtractSignal") : NULL;
    193196}
Note: See TracChangeset for help on using the changeset viewer.