| Line | |
|---|
| 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 MMcEvt;
|
|---|
| 19 | class MPedPhotCam;
|
|---|
| 20 | class MSigmabar;
|
|---|
| 21 | class MParList;
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | class MHSigmaTheta : public MH
|
|---|
| 25 | {
|
|---|
| 26 | private:
|
|---|
| 27 | const MGeomCam *fCam; //!
|
|---|
| 28 | MPedPhotCam *fPed; //!
|
|---|
| 29 | MCerPhotEvt *fEvt; //!
|
|---|
| 30 | MSigmabar *fSigmabar; //!
|
|---|
| 31 | MMcEvt *fMcEvt; //!
|
|---|
| 32 |
|
|---|
| 33 | TH2D fSigmaTheta; // 2D-distribution sigmabar versus Theta;
|
|---|
| 34 | // sigmabar is the average pedestasl sigma in an event
|
|---|
| 35 | TH3D fSigmaPixTheta; // 3D-distr.:Theta, pixel, pedestal sigma
|
|---|
| 36 | TH3D fDiffPixTheta; // 3D-distr.:Theta, pixel, sigma^2-sigmabar^2
|
|---|
| 37 |
|
|---|
| 38 | void Paint(Option_t *opt="");
|
|---|
| 39 |
|
|---|
| 40 | public:
|
|---|
| 41 | MHSigmaTheta(const char *name=NULL, const char *title=NULL);
|
|---|
| 42 |
|
|---|
| 43 | Bool_t SetupFill(const MParList *plist);
|
|---|
| 44 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
|---|
| 45 |
|
|---|
| 46 | const TH2D *GetSigmaTheta() { return &fSigmaTheta; }
|
|---|
| 47 | const TH2D *GetSigmaTheta() const { return &fSigmaTheta; }
|
|---|
| 48 |
|
|---|
| 49 | const TH3D *GetSigmaPixTheta() { return &fSigmaPixTheta; }
|
|---|
| 50 | const TH3D *GetSigmaPixTheta() const { return &fSigmaPixTheta; }
|
|---|
| 51 |
|
|---|
| 52 | const TH3D *GetDiffPixTheta() { return &fDiffPixTheta; }
|
|---|
| 53 | const TH3D *GetDiffPixTheta() const { return &fDiffPixTheta; }
|
|---|
| 54 |
|
|---|
| 55 | void Draw(Option_t *option="");
|
|---|
| 56 |
|
|---|
| 57 | ClassDef(MHSigmaTheta, 1) //2D-histogram sigmabar vs. Theta
|
|---|
| 58 | };
|
|---|
| 59 |
|
|---|
| 60 | #endif
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.