- Timestamp:
- 08/27/04 17:26:06 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r4768 r4769 134 134 } 135 135 136 fGeomCam = 0; 137 if (!IsUseInterpolation()) 138 return kTRUE; 139 136 140 fGeomCam = (MGeomCam*)pList->FindObject(AddSerialNumber("MGeomCam")); 137 if (!fGeomCam && TESTBIT(fFlags, kUseInterpolation))141 if (!fGeomCam) 138 142 { 139 143 *fLog << err << AddSerialNumber("MGeomCam") << " not found - can't use interpolation... abort." << endl; … … 150 154 return kFALSE; 151 155 } 152 *fLog << inf << "Processing Pedestals..." << endl;153 156 } 154 157 … … 162 165 return kFALSE; 163 166 } 164 *fLog << inf << "Processing Times..." << endl; 165 } 167 } 168 169 if (IsProcessPedestalEvt()) 170 *fLog << inf << "Processing Pedestals once per event..." << endl; 171 if (IsProcessPedestalRun()) 172 *fLog << inf << "Processing Pedestals once per run..." << endl; 173 if (IsProcessTimes()) 174 *fLog << inf << "Processing Arrival Times once per event..." << endl; 166 175 167 176 return kTRUE; … … 610 619 Bool_t MBadPixelsTreat::ReInit(MParList *pList) 611 620 { 612 if (Is ProcessPedestalRun())621 if (IsUseInterpolation() && IsProcessPedestalRun()) 613 622 InterpolatePedestals(); 614 623 return kTRUE; … … 621 630 Int_t MBadPixelsTreat::Process() 622 631 { 623 if ( TESTBIT(fFlags, kUseInterpolation) && fGeomCam)632 if (IsUseInterpolation()) 624 633 { 625 634 InterpolateSignal();
Note:
See TracChangeset
for help on using the changeset viewer.