| 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 | class TH1D;
|
|---|
| 13 | class TH2D;
|
|---|
| 14 | class TH3D;
|
|---|
| 15 |
|
|---|
| 16 | class MGeomCam;
|
|---|
| 17 | class MCerPhotEvt;
|
|---|
| 18 | class MPedestalCam;
|
|---|
| 19 | class MMcEvt;
|
|---|
| 20 | class MSigmabar;
|
|---|
| 21 | class MParList;
|
|---|
| 22 |
|
|---|
| 23 | class MPadSchweizer : public MTask
|
|---|
| 24 | {
|
|---|
| 25 | private:
|
|---|
| 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 | TH1D *fHNSB; // 1D-histogram : additional NSB
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | public:
|
|---|
| 52 | MPadSchweizer(const char *name=NULL, const char *title=NULL);
|
|---|
| 53 | ~MPadSchweizer();
|
|---|
| 54 |
|
|---|
| 55 | void SetHistograms(TH2D *hist2, TH3D *hist3, TH3D *hist3Diff);
|
|---|
| 56 |
|
|---|
| 57 | Bool_t PreProcess(MParList *pList);
|
|---|
| 58 | Bool_t Process();
|
|---|
| 59 | Bool_t PostProcess();
|
|---|
| 60 |
|
|---|
| 61 | void SetPadFlag(Int_t padflag);
|
|---|
| 62 |
|
|---|
| 63 | ClassDef(MPadSchweizer, 0) // task for the padding (Schweizer)
|
|---|
| 64 | };
|
|---|
| 65 |
|
|---|
| 66 | #endif
|
|---|
| 67 |
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 |
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
|
|---|
| 75 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.