source: trunk/MagicSoft/Mars/manalysis/MApplyPadding.h@ 1957

Last change on this file since 1957 was 1951, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.2 KB
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
12class MGeomCam;
13class MCerPhotEvt;
14class MPedestalCam;
15class MMcEvt;
16class MPedestalCam;
17class MSigmabar;
18class MParList;
19
20class MApplyPadding : public MTask
21{
22private:
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
37public:
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.