Changeset 9261 for trunk/MagicSoft/Mars/msignal/MSignalCalc.cc
- Timestamp:
- 01/25/09 14:32:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MSignalCalc.cc
r8939 r9261 127 127 Int_t MSignalCalc::Process() 128 128 { 129 if (!fPedestals) 130 return kFALSE; 131 129 132 const Int_t npix = fRawEvt->GetNumPixels(); 130 133 const Int_t nhi = fRunHeader->GetNumSamplesHiGain(); … … 259 262 // Preliminary: Do not overwrite pedestals calculated by 260 263 // MMcPedestalCopy and MMcPedestalNSBAdd 261 if (fPedestals) 262 (*fPedestals)[i].Set(b/fRunHeader->GetScale(), sigb/fRunHeader->GetScale()); 264 (*fPedestals)[i].Set(b/fRunHeader->GetScale(), sigb/fRunHeader->GetScale()); 263 265 } 264 266 … … 266 268 //fCerPhotEvt->SetReadyToSave(); 267 269 268 if (fPedestals) 269 fPedestals->SetReadyToSave(); 270 fPedestals->SetReadyToSave(); 270 271 271 272 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.