Changeset 5354 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 11/08/04 11:35:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedPhotCalc.cc
r4160 r5354 120 120 Bool_t MPedPhotCalc::ReInit(MParList *pList) 121 121 { 122 const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");123 if (!runheader)124 {125 *fLog << warn << dbginf;126 *fLog << "Warning - cannot check file type, MRawRunHeader not found." << endl;127 }128 else129 if (runheader->IsMonteCarloRun())130 return kTRUE;131 132 133 122 // Initialize arrays 134 123 if(fSumx.GetSize()==0) … … 156 145 for(UInt_t i=0;i<fCerPhot->GetNumPixels();i++) 157 146 { 158 159 147 const MCerPhotPix &pix = (*fCerPhot)[i]; 160 148 const Int_t pixidx = pix.GetPixId();
Note:
See TracChangeset
for help on using the changeset viewer.