source: trunk/MagicSoft/Mars/mhist/MHSigmaTheta.h@ 1951

Last change on this file since 1951 was 1951, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.7 KB
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
16class MGeomCam;
17class MCerPhotEvt;
18class MPedestalCam;
19class MMcEvt;
20class MPedestalCam;
21class MSigmabar;
22class MParList;
23
24
25class MHSigmaTheta : public MH
26{
27private:
28 const MGeomCam *fCam; //!
29 MPedestalCam *fPed; //!
30 MCerPhotEvt *fEvt; //!
31 MSigmabar *fSigmabar; //!
32 MMcEvt *fMcEvt; //!
33
34 TH2D fSigmaTheta; // 2D-distribution sigmabar versus Theta; 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
39public:
40 MHSigmaTheta(const char *name=NULL, const char *title=NULL);
41
42 Bool_t SetupFill(const MParList *plist);
43 Bool_t Fill(const MParContainer *par);
44
45 const TH2D *GetSigmaTheta() { return &fSigmaTheta; }
46 const TH2D *GetSigmaTheta() const { return &fSigmaTheta; }
47 TH2D *GetSigmaThetaByName(const TString name) { return &fSigmaTheta; }
48
49 const TH3D *GetSigmaPixTheta() { return &fSigmaPixTheta; }
50 const TH3D *GetSigmaPixTheta() const { return &fSigmaPixTheta; }
51 TH3D *GetSigmaPixThetaByName(const TString name) { return &fSigmaPixTheta; }
52
53 const TH3D *GetDiffPixTheta() { return &fDiffPixTheta; }
54 const TH3D *GetDiffPixTheta() const { return &fDiffPixTheta; }
55 TH3D *GetDiffPixThetaByName(const TString name) { return &fDiffPixTheta; }
56
57 void Draw(Option_t *option="");
58 TObject *DrawClone(Option_t *option="");
59
60 ClassDef(MHSigmaTheta, 0) //2D-histogram sigmabar vs. Theta
61};
62
63#endif
64
65
66
Note: See TracBrowser for help on using the repository browser.