Changeset 3374 for trunk/MagicSoft/Mars/manalysis/MCerPhotAnal.cc
- Timestamp:
- 03/01/04 17:18:18 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal.cc
r2942 r3374 103 103 return kFALSE; 104 104 105 fPedestals = NULL; 106 105 107 const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); 106 108 if (!runheader) 107 109 *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl; 108 110 else 109 if (runheader->GetRunType() == kRTMonteCarlo) 110 { 111 fPedestals=NULL; 111 if (runheader->IsMonteCarloRun()) 112 112 return kTRUE; 113 }114 113 115 114 fPedestals = (MPedestalCam*)pList->FindCreateObj("MPedestalCam");
Note:
See TracChangeset
for help on using the changeset viewer.