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

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