source: trunk/MagicSoft/Mars/manalysis/MPadON.h@ 2762

Last change on this file since 2762 was 2746, checked in by wittek, 21 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MPadON
2#define MARS_MPadON
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;
22class MBlindPixels;
23
24class MPadON : public MTask
25{
26private:
27 MGeomCam *fCam;
28 MCerPhotEvt *fEvt;
29 MSigmabar *fSigmabar;
30 MMcEvt *fMcEvt;
31 MPedestalCam *fPed;
32 MBlindPixels *fBlinds;
33
34 Int_t fPadFlag;
35 Int_t fIter;
36
37 Int_t fRunType;
38 Int_t fGroup;
39
40 Int_t fErrors[8];
41
42 // plots used for the padding
43 TH2D *fHBlindPixIdTheta; // 2D-histogram (blind pixel Id vs. Theta)
44 TH2D *fHBlindPixNTheta; // 2D-histogram (no.of blind pixels vs. Theta)
45 TH2D *fHSigmaTheta; // 2D-histogram (sigmabar vs. Theta)
46 TH3D *fHSigmaPixTheta; // 3D-histogram (Theta, pixel, sigma)
47 TH3D *fHDiffPixTheta; // 3D-histogram (Theta, pixel, sigma^2-sigmabar^2)
48
49 // plots for checking the padding
50 TH2D *fHSigmaPedestal; // 2D-histogram : pedestal sigma after
51 // versus before padding
52 TH2D *fHPhotons; // 2D-histogram : no.of photons after
53 // versus before padding
54 TH1D *fHNSB; // 1D-histogram : additional NSB
55
56
57public:
58 MPadON(const char *name=NULL, const char *title=NULL);
59 ~MPadON();
60
61 void SetHistograms(TH2D *hist2, TH3D *hist3, TH3D *hist3Diff,
62 TH2D *hist2Pix, TH2D *hist2PixN);
63
64 Int_t PreProcess(MParList *pList);
65 Int_t Process();
66 Int_t PostProcess();
67
68 void SetPadFlag(Int_t padflag);
69
70 ClassDef(MPadON, 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.