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