| 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 |
|
|---|
| 17 | class MParList;
|
|---|
| 18 | class MGeomCam;
|
|---|
| 19 | class MCerPhotEvt;
|
|---|
| 20 | class MPointingPos;
|
|---|
| 21 | class MPedPhotCam;
|
|---|
| 22 | class MBadPixelsCam;
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | class MHSigmaTheta : public MH
|
|---|
| 26 | {
|
|---|
| 27 | private:
|
|---|
| 28 | const MGeomCam *fCam; //!
|
|---|
| 29 | MPedPhotCam *fPed; //!
|
|---|
| 30 | MCerPhotEvt *fEvt; //!
|
|---|
| 31 | MPointingPos *fPointPos; //!
|
|---|
| 32 | MBadPixelsCam *fBad; //!
|
|---|
| 33 |
|
|---|
| 34 | TString fNamePedPhotCam; //! name of the 'MPedPhotCam' container
|
|---|
| 35 |
|
|---|
| 36 | // sigmabar is the average pedestal sigma
|
|---|
| 37 | TH2D *fSigmaTheta; // 2D-distribution sigmabar versus Theta (Inner)
|
|---|
| 38 | TH2D *fSigmaThetaOuter; // 2D-distribution sigmabar versus Theta (Outer)
|
|---|
| 39 |
|
|---|
| 40 | TH3D *fSigmaPixTheta; // 3D-distr.:Theta, pixel, pedestal sigma
|
|---|
| 41 | TH3D *fDiffPixTheta; // 3D-distr.:Theta, pixel, sigma^2-sigmabar^2
|
|---|
| 42 |
|
|---|
| 43 | TH2D *fThetaPhi; // 2D-distribution Theta versus Phi
|
|---|
| 44 |
|
|---|
| 45 | MBinning *fBinsPhi; //!
|
|---|
| 46 | MBinning *fBinsTheta; //!
|
|---|
| 47 | MBinning *fBinsSigma; //!
|
|---|
| 48 | MBinning *fBinsSigmabarIn; //!
|
|---|
| 49 | MBinning *fBinsSigmabarOut; //!
|
|---|
| 50 | MBinning *fBinsPix; //!
|
|---|
| 51 | MBinning *fBinsDiff; //!
|
|---|
| 52 |
|
|---|
| 53 | void Paint(Option_t *opt="");
|
|---|
| 54 |
|
|---|
| 55 | public:
|
|---|
| 56 | MHSigmaTheta(const char *name=NULL, const char *title=NULL);
|
|---|
| 57 | ~MHSigmaTheta();
|
|---|
| 58 |
|
|---|
| 59 | void SetNamePedPhotCam(const char *name) { fNamePedPhotCam = name; }
|
|---|
| 60 |
|
|---|
| 61 | Bool_t SetupFill(const MParList *plist);
|
|---|
| 62 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
|---|
| 63 |
|
|---|
| 64 | const TH2D *GetThetaPhi() { return fThetaPhi; }
|
|---|
| 65 | const TH2D *GetThetaPhi() const { return fThetaPhi; }
|
|---|
| 66 |
|
|---|
| 67 | const TH2D *GetSigmaTheta() { return fSigmaTheta; }
|
|---|
| 68 | const TH2D *GetSigmaTheta() const { return fSigmaTheta; }
|
|---|
| 69 |
|
|---|
| 70 | const TH2D *GetSigmaThetaOuter() { return fSigmaThetaOuter; }
|
|---|
| 71 | const TH2D *GetSigmaThetaOuter() const { return fSigmaThetaOuter; }
|
|---|
| 72 |
|
|---|
| 73 | const TH3D *GetSigmaPixTheta() { return fSigmaPixTheta; }
|
|---|
| 74 | const TH3D *GetSigmaPixTheta() const { return fSigmaPixTheta; }
|
|---|
| 75 |
|
|---|
| 76 | const TH3D *GetDiffPixTheta() { return fDiffPixTheta; }
|
|---|
| 77 | const TH3D *GetDiffPixTheta() const { return fDiffPixTheta; }
|
|---|
| 78 |
|
|---|
| 79 | void Draw(Option_t *option="");
|
|---|
| 80 |
|
|---|
| 81 | ClassDef(MHSigmaTheta, 1) //2D-histogram sigmabar vs. Theta
|
|---|
| 82 | };
|
|---|
| 83 |
|
|---|
| 84 | #endif
|
|---|
| 85 |
|
|---|
| 86 |
|
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|