Changeset 5381 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 11/11/04 10:32:21 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mpedestal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.cc
r5378 r5381 576 576 // 577 577 // The following resources are available: 578 // FirstCheckWindowSlice: 0 579 // LastCheckWindowSlice: 29 580 // ExtractWindowFirst: 15 581 // ExtractWindowSize: 6 582 // NumEventsDump: 578 // FirstCheckWindowSlice: 0 579 // LastCheckWindowSlice: 29 580 // ExtractWindowFirst: 15 581 // ExtractWindowSize: 6 582 // NumEventsDump: 500 583 // MaxSignalVar: 40 584 // PedestalUpdate: yes 583 585 // 584 586 Int_t MPedCalcFromLoGain::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 585 587 { 586 if (MExtractor::ReadEnv(env, prefix, print)==kERROR)587 return kERROR;588 589 588 Bool_t rc=kFALSE; 590 589 … … 653 652 *fLog << "Max allowed signal variation: " << fMaxSignalVar << endl; 654 653 *fLog << "Pedestal Update is " << (fPedestalUpdate?"on":"off") << endl; 655 MExtractor::Print(o); 656 } 654 } -
trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.h
r5378 r5381 2 2 #define MARS_MPedCalcFromLoGain 3 3 4 #ifndef MARS_M Extractor5 #include "M Extractor.h"4 #ifndef MARS_MTask 5 #include "MTask.h" 6 6 #endif 7 7 … … 15 15 16 16 class MGeomCam; 17 class MBadPixelsCam; 17 class MPedestalCam; 18 class MRawEvtData; 18 19 class MRawEvtPixelIter; 20 class MRawRunHeader; 19 21 20 class MPedCalcFromLoGain : public M Extractor22 class MPedCalcFromLoGain : public MTask 21 23 { 22 24 static const UShort_t fgCheckWinFirst; // First FADC slice to check for signal (currently set to: 0) … … 26 28 static const UShort_t fgMaxSignalVar; // The maximum difference between the highest and lowest slice 27 29 28 MGeomCam *fGeom; // Camera geometry 30 MGeomCam *fGeom; //! Camera geometry 31 MPedestalCam *fPedestals; //! Pedestals of all pixels in the camera 32 MRawEvtData *fRawEvt; //! Raw event data (time slices) 33 MRawRunHeader *fRunHeader; //! RunHeader information 29 34 30 UInt_t fNumEventsDump; 35 UInt_t fNumEventsDump; // Number of event after which MPedestalCam gets updated 31 36 32 37 UShort_t fMaxSignalVar; 33 38 UShort_t fCheckWinFirst; 34 39 UShort_t fCheckWinLast; 35 UShort_t fExtractWinSize; 40 UShort_t fExtractWinSize; // Number of slices to calculate the pedestal from 36 41 UShort_t fExtractWinFirst; 37 42 UShort_t fExtractWinLast;
Note:
See TracChangeset
for help on using the changeset viewer.