Line | |
---|
1 | #ifndef MARS_MHCalibrationRelTimePix
|
---|
2 | #define MARS_MHCalibrationRelTimePix
|
---|
3 |
|
---|
4 | #ifndef MARS_MHGausEvents
|
---|
5 | #include "MHGausEvents.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHCalibrationRelTimePix : public MHGausEvents
|
---|
9 | {
|
---|
10 |
|
---|
11 | private:
|
---|
12 |
|
---|
13 | static const Int_t fgChargeNbins; // Default for fChargeNBins (now set to: 900 )
|
---|
14 | static const Axis_t fgChargeFirst; // Default for fChargeFirst (now set to: -13.5 )
|
---|
15 | static const Axis_t fgChargeLast; // Default for fChargeLast (now set to: 13.5 )
|
---|
16 |
|
---|
17 | Int_t fChargeNbins; // Number of bins used for the fHGausHist
|
---|
18 | Axis_t fChargeFirst; // Lower bound bin used for the fHGausHist
|
---|
19 | Axis_t fChargeLast; // Upper bound bin used for the fHGausHist
|
---|
20 |
|
---|
21 | Int_t fPixId; // The pixel ID
|
---|
22 |
|
---|
23 | public:
|
---|
24 |
|
---|
25 | MHCalibrationRelTimePix(const char *name=NULL, const char *title=NULL);
|
---|
26 | ~MHCalibrationRelTimePix() {}
|
---|
27 |
|
---|
28 |
|
---|
29 | void Clear(Option_t *o="");
|
---|
30 | void Reset();
|
---|
31 | void Init();
|
---|
32 |
|
---|
33 | // Setters
|
---|
34 | void SetChargeNbins(const Int_t bins =fgChargeNbins) { fChargeNbins = bins; }
|
---|
35 | void SetChargeFirst(const Axis_t first=fgChargeFirst) { fChargeFirst = first; }
|
---|
36 | void SetChargeLast( const Axis_t last =fgChargeLast) { fChargeLast = last; }
|
---|
37 |
|
---|
38 | // Others
|
---|
39 | void ChangeHistId(Int_t i);
|
---|
40 | void Renorm(const Float_t slicewidth);
|
---|
41 |
|
---|
42 | ClassDef(MHCalibrationRelTimePix, 1) // Histogram class for Relative Time Calibration pixel
|
---|
43 | };
|
---|
44 |
|
---|
45 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.