Line | |
---|
1 | #ifndef MARS_MHPedestalPix
|
---|
2 | #define MARS_MHPedestalPix
|
---|
3 |
|
---|
4 | #ifndef MARS_MHGausEvents
|
---|
5 | #include "MHGausEvents.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TObject;
|
---|
9 | class TH1F;
|
---|
10 | class MBinning;
|
---|
11 | class MHPedestalPix : public MHGausEvents
|
---|
12 | {
|
---|
13 |
|
---|
14 | private:
|
---|
15 |
|
---|
16 | static const Int_t fgChargeNbins;
|
---|
17 | static const Axis_t fgChargeFirst;
|
---|
18 | static const Axis_t fgChargeLast;
|
---|
19 |
|
---|
20 | Int_t fChargeNbins;
|
---|
21 | Axis_t fChargeFirst;
|
---|
22 | Axis_t fChargeLast;
|
---|
23 |
|
---|
24 | Int_t fPixId; // Pixel Nr
|
---|
25 |
|
---|
26 | Int_t fTotalEntries;
|
---|
27 |
|
---|
28 | public:
|
---|
29 |
|
---|
30 | MHPedestalPix();
|
---|
31 | ~MHPedestalPix();
|
---|
32 |
|
---|
33 | void InitBins();
|
---|
34 |
|
---|
35 | // Setters
|
---|
36 | void SetChargeNbins(const Int_t bins =fgChargeNbins) { fChargeNbins = bins; }
|
---|
37 | void SetChargeFirst(const Axis_t first=fgChargeFirst) { fChargeFirst = first; }
|
---|
38 | void SetChargeLast( const Axis_t last =fgChargeLast) { fChargeLast = last; }
|
---|
39 |
|
---|
40 | // Getters
|
---|
41 | const Int_t GetTotalEntries() const { return fTotalEntries; }
|
---|
42 |
|
---|
43 | // Others
|
---|
44 | void ChangeHistId(Int_t i);
|
---|
45 | void Renorm(const Float_t nslices);
|
---|
46 |
|
---|
47 | // TObject *DrawClone(Option_t *opt="") const;
|
---|
48 |
|
---|
49 | ClassDef(MHPedestalPix, 1) // Histograms for each calibrated pixel
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.