Changeset 9157 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 11/12/08 16:16:11 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mpedestal
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc
r8795 r9157 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.3 8 2007-12-19 18:53:02tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.39 2008-11-12 16:04:18 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 491 491 fExtractor->SetNoiseCalculation(fRandomCalculation); 492 492 493 const Int_t rc =Calc();493 Calc(); 494 494 495 495 if (fExtractor) 496 496 fExtractor->SetNoiseCalculation(kFALSE); 497 497 498 return rc; 498 fPedestalsOut->SetNumEvents(fCounter); 499 500 return kTRUE; 499 501 } 500 502 … … 624 626 Int_t MExtractPedestal::PostProcess() 625 627 { 626 fPedestalsOut->SetNumEvents(fCounter);627 628 628 return fExtractor ? fExtractor->CallPostProcess() : kTRUE; 629 629 } -
trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.h
r8788 r9157 100 100 101 101 // Interface to be overwritten by a new class 102 virtual void 103 virtual Int_tCalc() = 0;102 virtual void ResetArrays(); 103 virtual void Calc() = 0; 104 104 105 105 // Helper functions -
trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.cc
r8788 r9157 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MPedCalcFromLoGain.cc,v 1. 39 2007-12-14 09:56:03tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MPedCalcFromLoGain.cc,v 1.40 2008-11-12 16:04:18 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 199 199 // calculate the overall mean and rms in the PostProcess() 200 200 // 201 Int_tMPedCalcFromLoGain::Calc()201 void MPedCalcFromLoGain::Calc() 202 202 { 203 203 const Int_t nhi = fRunHeader->GetNumSamplesHiGain(); … … 242 242 if (fPedestalUpdate) 243 243 fPedestalsOut->SetReadyToSave(); 244 245 return kTRUE;246 244 } 247 245 -
trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.h
r8490 r9157 34 34 35 35 // MExtractPedestal 36 Int_tCalc();36 void Calc(); 37 37 38 38 public: -
trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc
r8999 r9157 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MPedCalcPedRun.cc,v 1.5 3 2008-07-14 19:59:12tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MPedCalcPedRun.cc,v 1.54 2008-11-12 16:04:18 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 256 256 // calculate the overall mean and rms in the PostProcess() 257 257 // 258 Int_tMPedCalcPedRun::Calc()258 void MPedCalcPedRun::Calc() 259 259 { 260 260 if (fIsNotPedRun && !IsPedBitSet()) 261 return kTRUE;261 return; 262 262 263 263 MRawEvtPixelIter pixel(fRawEvt); … … 268 268 269 269 fPedestalsOut->SetReadyToSave(); 270 271 return kTRUE;272 270 } 273 271 -
trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.h
r8490 r9157 25 25 Bool_t ReInit(MParList *pList); 26 26 Int_t PreProcess(MParList *pList); 27 Int_tCalc();27 void Calc(); 28 28 Int_t PostProcess(); 29 29
Note:
See TracChangeset
for help on using the changeset viewer.