Changeset 3888 for trunk/MagicSoft/Mars
- Timestamp:
- 04/29/04 15:45:42 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3880 r3888 30 30 checks of the range there. Slight differences in every extractor 31 31 because of the floating windows. 32 33 34 * mpedestals/MPedCalcPedRun.[h,cc] 35 - add the possibility to set ranges and extraction windows. Default 36 is what has always been 32 37 33 38 -
trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.h
r3803 r3888 2 2 #define MARS_MPedCalcPedRun 3 3 4 #ifndef MARS_M Task5 #include "M Task.h"4 #ifndef MARS_MExtractor 5 #include "MExtractor.h" 6 6 #endif 7 7 … … 14 14 #endif 15 15 16 class MRawEvtData;17 class MPedestalCam;18 16 class MGeomCam; 19 class MPedCalcPedRun : public M Task17 class MPedCalcPedRun : public MExtractor 20 18 { 21 19 22 Byte_t fNumHiGainSamples; 23 UInt_t fNumSamplesTot; 20 static const Byte_t fgHiGainFirst; // First FADC slice Hi-Gain (currently set to: 3) 21 static const Byte_t fgHiGainLast; // Last FADC slice Hi-Gain (currently set to: 14) 22 static const Byte_t fgLoGainFirst; // First FADC slice Lo-Gain (currently set to: 3) 23 static const Byte_t fgLoGainLast; // Last FADC slice Lo-Gain (currently set to: 14) 24 static const Byte_t fgHiGainWindowSize; // The extraction window Hi-Gain 25 static const Byte_t fgLoGainWindowSize; // The extraction window Lo-Gain 26 27 UInt_t fNumSamplesTot; 28 Byte_t fWindowSizeHiGain; // Number of Hi Gain slices in window 29 Byte_t fWindowSizeLoGain; // Number of Lo Gain slices in window 24 30 25 MRawEvtData *fRawEvt; // raw event data (time slices)26 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera27 31 MGeomCam *fGeom; // Camera geometry 28 32 … … 46 50 47 51 void Clear(const Option_t *o=""); 48 void SetNumHiGainSamples(const Byte_t n) { fNumHiGainSamples = n; } 52 void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0); 53 void SetWindowSize(Byte_t windowh=0, Byte_t windowl=0); 49 54 50 55 ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data
Note:
See TracChangeset
for help on using the changeset viewer.