source: trunk/Mars/manalysisct1/MCT1PadSchweizer.h@ 10113

Last change on this file since 10113 was 4457, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MCT1PadSchweizer
2#define MARS_MCT1PadSchweizer
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 MPedPhotCam;
19class MMcEvt;
20class MSigmabar;
21class MParList;
22class MBlindPixels;
23
24class MCT1PadSchweizer : public MTask
25{
26private:
27 MGeomCam *fCam;
28 MCerPhotEvt *fEvt;
29 MSigmabar *fSigmabar;
30 MMcEvt *fMcEvt;
31 MPedPhotCam *fPed;
32 MBlindPixels *fBlinds;
33
34 Int_t fPadFlag;
35 Int_t fRunType;
36 Int_t fGroup;
37
38 Int_t fErrors[8];
39
40 // plots used for the padding
41 TH2D *fHBlindPixIdTheta; // 2D-histogram (blind pixel Id vs. Theta)
42 TH2D *fHBlindPixNTheta; // 2D-histogram (no.of blind pixels vs. Theta)
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 TH1D *fHNSB; // 1D-histogram : additional NSB
53
54
55public:
56 MCT1PadSchweizer(const char *name=NULL, const char *title=NULL);
57 ~MCT1PadSchweizer();
58
59 void SetHistograms(TH2D *hist2, TH3D *hist3, TH3D *hist3Diff,
60 TH2D *hist2Pix, TH2D *hist2PixN);
61
62 Int_t PreProcess(MParList *pList);
63 Int_t Process();
64 Int_t PostProcess();
65
66 void SetPadFlag(Int_t padflag);
67
68 ClassDef(MCT1PadSchweizer, 0) // task for the padding (Schweizer)
69};
70
71#endif
72
73
74
75
76
77
78
79
80
Note: See TracBrowser for help on using the repository browser.