Changeset 3389 for trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc
- Timestamp:
- 03/03/04 13:50:05 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc
r3374 r3389 106 106 return kFALSE; 107 107 108 return kTRUE; 109 } 110 111 Bool_t MCerPhotAnal2::ReInit(MParList *pList) 112 { 108 113 fPedestals=NULL; 109 114 115 // This must be done in ReInit because in PreProcess the 116 // headers are not available 110 117 const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); 111 118 if (!runheader) 112 119 *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl; 113 120 else 121 { 122 *fLog << all << "CHECK: " << runheader->GetRunType() << endl; 114 123 if (runheader->IsMonteCarloRun()) 115 124 return kTRUE; 125 } 116 126 117 127 fPedestals = (MPedPhotCam*)pList->FindCreateObj("MPedPhotCam");
Note:
See TracChangeset
for help on using the changeset viewer.