Changeset 2667
- Timestamp:
- 12/12/03 14:29:57 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc
r2666 r2667 43 43 44 44 #include "MParList.h" 45 #include "MH.h" 46 47 #include "MRawRunHeader.h" 48 #include "MRawEvtData.h" // MRawEvtData::GetNumPixels 45 46 #include "MRawEvtData.h" 49 47 #include "MRawEvtPixelIter.h" 50 48 … … 95 93 } 96 94 97 const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");98 if (!runheader)99 *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl;100 101 95 102 96 fSignals = (MExtractedSignalCam*)pList->FindCreateObj("MExtractedSignalCam"); … … 123 117 { 124 118 125 fRunHeader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");126 if (!fRunHeader)127 {128 *fLog << dbginf << "MRawRunHeader not found... aborting." << endl;129 return kFALSE;130 }131 132 119 133 120 MGeomCam *cam = (MGeomCam*)pList->FindObject(AddSerialNumber("MGeomCam"));
Note:
See TracChangeset
for help on using the changeset viewer.