Changeset 5354 for trunk/MagicSoft
- Timestamp:
- 11/08/04 11:35:53 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5352 r5354 20 20 21 21 -*-*- END OF LINE -*-*- 22 23 2004/11/08: Abelardo Moralejo 24 * mpedestal/MPedPhotCalc.cc 25 - In ReInit: removed check of whether file is MC file. Now fSumx 26 and fSumx2 are initialized also for MC files. This is needed to 27 run some parts of the calibration over pedestal and calibration 28 MC files. 22 29 23 30 2004/11/06: Abelardo Moralejo -
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.