Line | |
---|
1 | #ifndef MARS_MApplyPadding
|
---|
2 | #define MARS_MApplyPadding
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #include "TRandom3.h"
|
---|
9 | #include "TH1.h"
|
---|
10 | #include "TH2.h"
|
---|
11 |
|
---|
12 | class MGeomCam;
|
---|
13 | class MCerPhotEvt;
|
---|
14 | class MPedestalCam;
|
---|
15 | class MMcEvt;
|
---|
16 | class MPedestalCam;
|
---|
17 | class MSigmabar;
|
---|
18 | class MParList;
|
---|
19 |
|
---|
20 | class MApplyPadding : public MTask
|
---|
21 | {
|
---|
22 | private:
|
---|
23 | const MGeomCam *fCam;
|
---|
24 | MCerPhotEvt *fEvt;
|
---|
25 | MSigmabar *fSigmabar;
|
---|
26 | TRandom3 *fRnd;
|
---|
27 | Int_t fRunType;
|
---|
28 | Int_t fGroup;
|
---|
29 | char *fDatabaseFilename;
|
---|
30 | TH1D *fHSigmabarMax;
|
---|
31 | MMcEvt *fMcEvt;
|
---|
32 | MPedestalCam *fPed;
|
---|
33 | TH2D *fTest;
|
---|
34 | Bool_t fUseHistogram;
|
---|
35 | Double_t fFixedSigmabar;
|
---|
36 |
|
---|
37 | public:
|
---|
38 | MApplyPadding(const char *name=NULL, const char *title=NULL);
|
---|
39 | ~MApplyPadding();
|
---|
40 |
|
---|
41 | Bool_t PreProcess(MParList *pList);
|
---|
42 | Bool_t Process();
|
---|
43 | Bool_t PostProcess();
|
---|
44 |
|
---|
45 | void SetRunType(Int_t runtype) { fRunType = runtype; }
|
---|
46 | void SetGroup(Int_t group) { fGroup = group; }
|
---|
47 | void SetDatabaseFile(char *filename) { fDatabaseFilename = filename; }
|
---|
48 | void SetTargetLevel(Double_t sigmabar) { fFixedSigmabar = sigmabar; fUseHistogram=kFALSE; }
|
---|
49 | Bool_t SetDefiningHistogram(TH1D *histo);
|
---|
50 |
|
---|
51 | ClassDef(MApplyPadding, 1) // task for applying padding
|
---|
52 | };
|
---|
53 |
|
---|
54 | #endif
|
---|
55 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.