source: trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeHiGainPix.h@ 3308

Last change on this file since 3308 was 3264, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MHCalibrationChargeHiGainPix
2#define MARS_MHCalibrationChargeHiGainPix
3
4
5#ifndef MARS_MHCalibrationChargePix
6#include "MHCalibrationChargePix.h"
7#endif
8
9class TH1F;
10class MHCalibrationChargeHiGainPix : public MHCalibrationChargePix
11{
12private:
13
14 static const Int_t fgChargeNbins;
15 static const Axis_t fgChargeFirst;
16 static const Axis_t fgChargeLast;
17
18 static const Int_t fgAbsTimeNbins;
19 static const Axis_t fgAbsTimeFirst;
20 static const Axis_t fgAbsTimeLast;
21
22public:
23
24 MHCalibrationChargeHiGainPix(const char *name=NULL, const char *title=NULL);
25 ~MHCalibrationChargeHiGainPix(){}
26
27 void Init();
28
29 // Setters
30 void SetChargeNbins(const Int_t bins =fgChargeNbins) { fChargeNbins = bins; }
31 void SetChargeFirst(const Axis_t first=fgChargeFirst) { fChargeFirst = first; }
32 void SetChargeLast (const Axis_t last =fgChargeLast) { fChargeLast = last; }
33
34 void SetAbsTimeNbins(const Int_t bins =fgAbsTimeNbins) { fAbsTimeNbins = bins; }
35 void SetAbsTimeFirst(const Axis_t first=fgAbsTimeFirst) { fAbsTimeFirst = first; }
36 void SetAbsTimeLast (const Axis_t last =fgAbsTimeLast) { fAbsTimeLast = last; }
37
38 void ChangeHistId(Int_t i);
39
40 // Draw
41 void Draw(Option_t *opt="");
42
43 ClassDef(MHCalibrationChargeHiGainPix, 1) // Histogram class for a Calibration Pixel with extracted Hi Gain
44};
45
46#endif
47
48
49
50
51
52
Note: See TracBrowser for help on using the repository browser.