Changeset 5887 for trunk/MagicSoft/Mars
- Timestamp:
- 01/18/05 22:41:24 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5885 r5887 26 26 - fixed the remaining day of data without colour in project name 27 27 neither in digital modules bits. 28 29 * mpedestal/MPedCalcPedRun.[h,cc] 30 - catch the continuous light runs with MRawRunHeader::fRunType 31 == kRTCalibration to be recognized as effective pedestal runs. 28 32 29 33 -
trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc
r5848 r5887 250 250 } 251 251 252 if (fRunHeader->GetRunType()==MRawRunHeader::kRTCalibration) 253 { 254 TString proj(fRunHeader->GetProjectName()); 255 proj.ToLower(); 256 257 // test if a continuous light run has been declared as calibration... 258 if (proj.Contains("cl")) 259 { 260 fIsFirstPedRun = kFALSE; 261 fIsNotPedRun = kFALSE; 262 return kTRUE; 263 } 264 } 265 266 267 252 268 fIsNotPedRun = kTRUE; 253 269 // -
trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.h
r5848 r5887 21 21 Bool_t fIsFirstPedRun; //! Flag to tell if the first run out of many is used 22 22 Bool_t fIsNotPedRun; //! Flag to tell if the current run is a pedestal run 23 U Long_tfUsedEvents; // Number of used (not skipped) events23 UInt_t fUsedEvents; // Number of used (not skipped) events 24 24 25 25 MTriggerPattern *fTrigPattern; //! Trigger pattern decoded … … 44 44 Int_t Finalize(); 45 45 46 ClassDef(MPedCalcPedRun, 1) // Task to calculate pedestals from pedestal runs46 ClassDef(MPedCalcPedRun, 2) // Task to calculate pedestals from pedestal runs 47 47 }; 48 48
Note:
See TracChangeset
for help on using the changeset viewer.