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 |
|
---|
40 | Bool_t PreProcess(MParList *pList);
|
---|
41 | Bool_t Process();
|
---|
42 |
|
---|
43 | void SetRunType(Int_t runtype) { fRunType = runtype; }
|
---|
44 | void SetGroup(Int_t group) { fGroup = group; }
|
---|
45 | void SetDatabaseFile(char *filename) { fDatabaseFilename = filename; }
|
---|
46 | void SetTargetLevel(Double_t sigmabar) { fFixedSigmabar = sigmabar; fUseHistogram=kFALSE; }
|
---|
47 | void SetDefiningHistogram(TH1D *histo);
|
---|
48 |
|
---|
49 | ClassDef(MApplyPadding, 1) // task for applying padding
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif
|
---|
53 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.