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

Last change on this file since 4723 was 4584, checked in by wittek, 20 years ago
*** empty log message ***
File size: 1.8 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 MPointingPos;
19class MPedPhotCam;
20class MSigmabar;
21class MParList;
22class MBlindPixels;
23
24
25class MHSigmaTheta : public MH
26{
27private:
28 const MGeomCam *fCam; //!
29 MPedPhotCam *fPed; //!
30 MCerPhotEvt *fEvt; //!
31 MSigmabar *fSigmabar; //!
32 MPointingPos *fPointPos; //!
33 MBlindPixels *fBlindPix; //!
34
35 // sigmabar is the average pedestal sigma
36 TH2D fSigmaTheta; // 2D-distribution sigmabar versus Theta (Inner)
37 TH2D fSigmaThetaOuter; // 2D-distribution sigmabar versus Theta (Outer)
38
39 TH3D fSigmaPixTheta; // 3D-distr.:Theta, pixel, pedestal sigma
40 TH3D fDiffPixTheta; // 3D-distr.:Theta, pixel, sigma^2-sigmabar^2
41
42 void Paint(Option_t *opt="");
43
44public:
45 MHSigmaTheta(const char *name=NULL, const char *title=NULL);
46
47 Bool_t SetupFill(const MParList *plist);
48 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
49
50 const TH2D *GetSigmaTheta() { return &fSigmaTheta; }
51 const TH2D *GetSigmaTheta() const { return &fSigmaTheta; }
52
53 const TH2D *GetSigmaThetaOuter() { return &fSigmaThetaOuter; }
54 const TH2D *GetSigmaThetaOuter() const { return &fSigmaThetaOuter; }
55
56 const TH3D *GetSigmaPixTheta() { return &fSigmaPixTheta; }
57 const TH3D *GetSigmaPixTheta() const { return &fSigmaPixTheta; }
58
59 const TH3D *GetDiffPixTheta() { return &fDiffPixTheta; }
60 const TH3D *GetDiffPixTheta() const { return &fDiffPixTheta; }
61
62 void Draw(Option_t *option="");
63
64 ClassDef(MHSigmaTheta, 1) //2D-histogram sigmabar vs. Theta
65};
66
67#endif
68
69
70
71
72
Note: See TracBrowser for help on using the repository browser.