1 | #ifndef MARS_MHSigmaTheta
|
---|
2 | #define MARS_MHSigmaTheta
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TH2
|
---|
9 | #include "TH2.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | #ifndef ROOT_TH3
|
---|
13 | #include "TH3.h"
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | class MGeomCam;
|
---|
17 | class MCerPhotEvt;
|
---|
18 | class MPedestalCam;
|
---|
19 | class MMcEvt;
|
---|
20 | class MPedestalCam;
|
---|
21 | class MSigmabar;
|
---|
22 | class MParList;
|
---|
23 |
|
---|
24 |
|
---|
25 | class MHSigmaTheta : public MH
|
---|
26 | {
|
---|
27 | private:
|
---|
28 | const MGeomCam *fCam; //!
|
---|
29 | MPedestalCam *fPed; //!
|
---|
30 | MCerPhotEvt *fEvt; //!
|
---|
31 | MSigmabar *fSigmabar; //!
|
---|
32 | MMcEvt *fMcEvt; //!
|
---|
33 |
|
---|
34 | TH1D fNpix; // 1D-distribution no.of pixels in MCerPhotEvt;
|
---|
35 | TH1D fBlindId; // 1D-distribution Id of blind pixel;
|
---|
36 | TH2D fSigmaTheta; // 2D-distribution sigmabar versus Theta;
|
---|
37 | // sigmabar is the average pedestasl sigma in an event
|
---|
38 | TH3D fSigmaPixTheta; // 3D-distr.:Theta, pixel, pedestal sigma
|
---|
39 | TH3D fDiffPixTheta; // 3D-distr.:Theta, pixel, sigma^2-sigmabar^2
|
---|
40 |
|
---|
41 |
|
---|
42 | public:
|
---|
43 | MHSigmaTheta(const char *name=NULL, const char *title=NULL);
|
---|
44 |
|
---|
45 | Bool_t SetupFill(const MParList *plist);
|
---|
46 | Bool_t Fill(const MParContainer *par, Double_t w=1);
|
---|
47 |
|
---|
48 | const TH2D *GetSigmaTheta() { return &fSigmaTheta; }
|
---|
49 | const TH2D *GetSigmaTheta() const { return &fSigmaTheta; }
|
---|
50 | TH2D *GetSigmaThetaByName(const TString name) { return &fSigmaTheta; }
|
---|
51 |
|
---|
52 | const TH3D *GetSigmaPixTheta() { return &fSigmaPixTheta; }
|
---|
53 | const TH3D *GetSigmaPixTheta() const { return &fSigmaPixTheta; }
|
---|
54 | TH3D *GetSigmaPixThetaByName(const TString name) { return &fSigmaPixTheta; }
|
---|
55 |
|
---|
56 | const TH3D *GetDiffPixTheta() { return &fDiffPixTheta; }
|
---|
57 | const TH3D *GetDiffPixTheta() const { return &fDiffPixTheta; }
|
---|
58 | TH3D *GetDiffPixThetaByName(const TString name) { return &fDiffPixTheta; }
|
---|
59 |
|
---|
60 | void Draw(Option_t *option="");
|
---|
61 | TObject *DrawClone(Option_t *option="");
|
---|
62 |
|
---|
63 | ClassDef(MHSigmaTheta, 0) //2D-histogram sigmabar vs. Theta
|
---|
64 | };
|
---|
65 |
|
---|
66 | #endif
|
---|
67 |
|
---|
68 |
|
---|
69 |
|
---|