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* fHPCharge; //-> Histogram containing the summed 32 PINDiode slices
|
---|
29 | TH1F* fHErrCharge; //-> Variance of summed FADC slices
|
---|
30 | TH1I* fHPTime; //-> Histogram with time evolution of summed charges
|
---|
31 |
|
---|
32 |
|
---|
33 | TF1 *fVarGausFit;
|
---|
34 |
|
---|
35 | Float_t fErrChargeFirst;
|
---|
36 | Float_t fErrChargeLast;
|
---|
37 | UShort_t fErrChargeNbins;
|
---|
38 |
|
---|
39 | public:
|
---|
40 |
|
---|
41 | MHCalibrationPINDiode(const char *name=NULL, const char *title=NULL);
|
---|
42 | ~MHCalibrationPINDiode();
|
---|
43 |
|
---|
44 | const Double_t GetTime() const { return fVarGausFit->GetParameter(2); }
|
---|
45 | const Double_t GetErrTime() 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.