source: trunk/MagicSoft/Mars/manalysis/MPadSchweizer.h@ 1999

Last change on this file since 1999 was 1999, checked in by wittek, 21 years ago
*** empty log message ***
File size: 2.1 KB
Line 
1#ifndef MARS_MPadSchweizer
2#define MARS_MPadSchweizer
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef MARS_MH
9#include "MH.h"
10#endif
11
12#include "TRandom3.h"
13#include "TH1.h"
14#include "TH2.h"
15#include "TH3.h"
16
17
18class MGeomCam;
19class MCerPhotEvt;
20class MPedestalCam;
21class MMcEvt;
22class MSigmabar;
23class MParList;
24
25class MPadSchweizer : public MTask
26{
27private:
28 MGeomCam *fCam;
29 MCerPhotEvt *fEvt;
30 MSigmabar *fSigmabar;
31 MMcEvt *fMcEvt;
32 MPedestalCam *fPed;
33
34 TRandom3 *fRnd;
35
36 Int_t fPadFlag;
37 Int_t fRunType;
38 Int_t fGroup;
39
40 Int_t fErrors[7];
41
42 // plots used for the padding
43 TH2D *fHSigmaTheta; // 2D-histogram (sigmabar vs. Theta)
44 TH3D *fHSigmaPixTheta; // 3D-histogram (Theta, pixel, sigma)
45 TH3D *fHDiffPixTheta; // 3D-histogram (Theta, pixel, sigma^2-sigmabar^2)
46
47 // plots for checking the padding
48 TH2D *fHSigmaPedestal; // 2D-histogram : pedestal sigma after
49 // versus before padding
50 TH2D *fHPhotons; // 2D-histogram : no.of photons after
51 // versus before padding
52 TH2D *fHSigbarTheta; // 2D-histogram : sigmabar vs. Theta
53 // (after padding)
54 TH1D *fHNSB; // 1D-histogram : additional NSB
55
56 TH3D *fHSigPixTh; // 3D : Theta, pixel, pedestal sigma
57 // (after padding)
58 TH3D *fHDiffPixTh; // 3D : Theta, pixel, sigma^2-sigmabar^2
59 // (after padding)
60
61
62public:
63 MPadSchweizer(const char *name=NULL, const char *title=NULL);
64 ~MPadSchweizer();
65
66 void SetHistograms(TH2D *fHist2=NULL, TH3D *fHist3=NULL,
67 TH3D *fHist3Diff=NULL);
68
69 Bool_t PreProcess(MParList *pList);
70 Bool_t Process();
71 Bool_t PostProcess();
72
73 void SetPadFlag(Int_t padflag);
74
75 ClassDef(MPadSchweizer, 0) // task for the padding (Schweizer)
76};
77
78#endif
79
80
81
82
83
84
85
86
87
Note: See TracBrowser for help on using the repository browser.