Changeset 7189 for trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
- Timestamp:
- 07/14/05 16:03:32 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r7188 r7189 174 174 } 175 175 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 183 176 if (file.FindKey("MBadPixelsCam")) 184 177 { … … 190 183 } 191 184 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 } 192 195 return o ? (MExtractor*)o->Clone("ExtractSignal") : NULL; 193 196 }
Note:
See TracChangeset
for help on using the changeset viewer.