Line | |
---|
1 | #ifndef MARS_MHCalibrationPINDiode
|
---|
2 | #define MARS_MHCalibrationPINDiode
|
---|
3 |
|
---|
4 | #ifndef MARS_MHCalibrationPixel
|
---|
5 | #include "MHCalibrationPixel.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MH
|
---|
9 | #include "MH.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | #ifndef ROOT_TH1
|
---|
13 | #include "TH1.h"
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef ROOT_TH1F
|
---|
17 | #include "TH1F.h"
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | #ifndef ROOT_TF1
|
---|
21 | #include "TF1.h"
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | class MHCalibrationPINDiode : public MHCalibrationPixel
|
---|
25 | {
|
---|
26 | private:
|
---|
27 |
|
---|
28 | TH1I* fHPQ; //-> Histogram containing the summed 32 PINDiode slices
|
---|
29 | TH1F* fHErrQ; //-> Variance of summed FADC slices
|
---|
30 | TH1I* fHPT; //-> Histogram with time evolution of summed charges
|
---|
31 |
|
---|
32 |
|
---|
33 | TF1 *fVarGausFit;
|
---|
34 |
|
---|
35 | Float_t fErrQfirst;
|
---|
36 | Float_t fErrQlast;
|
---|
37 | UShort_t fErrQnbins;
|
---|
38 |
|
---|
39 | public:
|
---|
40 |
|
---|
41 | MHCalibrationPINDiode(const char *name=NULL, const char *title=NULL);
|
---|
42 | ~MHCalibrationPINDiode();
|
---|
43 |
|
---|
44 | const Double_t GetT() const { return fVarGausFit->GetParameter(2); }
|
---|
45 | const Double_t GetErrT() const { return fVarGausFit->GetParameter(3); }
|
---|
46 |
|
---|
47 | ClassDef(MHCalibrationPINDiode, 0)
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.