Line | |
---|
1 | #ifndef MARS_MHFadcPix
|
---|
2 | #define MARS_MHFadcPix
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TH1F;
|
---|
9 |
|
---|
10 | class MHFadcPix : public MParContainer
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | TH1F *fHistHi;
|
---|
14 | TH1F *fHistLo;
|
---|
15 |
|
---|
16 | UInt_t fPixId;
|
---|
17 |
|
---|
18 | public:
|
---|
19 | MHFadcPix(UInt_t pixid=0);
|
---|
20 | ~MHFadcPix();
|
---|
21 |
|
---|
22 | TH1F *GetHistHi() { return fHistHi; }
|
---|
23 | TH1F *GetHistLo() { return fHistLo; }
|
---|
24 |
|
---|
25 | const TH1F *GetHistHi() const { return fHistHi; }
|
---|
26 | const TH1F *GetHistLo() const { return fHistLo; }
|
---|
27 |
|
---|
28 | void FillHi(Byte_t i);
|
---|
29 | void FillLo(Byte_t i);
|
---|
30 |
|
---|
31 | void DrawHi();
|
---|
32 | void DrawLo();
|
---|
33 |
|
---|
34 | TObject *Clone(const char *) const;
|
---|
35 |
|
---|
36 | void Draw(Option_t *opt=NULL);
|
---|
37 |
|
---|
38 | ClassDef(MHFadcPix, 1) // Conatiner to hold two histograms container spektrums for the lo-/hi gain of one pixel
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.