Line | |
---|
1 | #ifndef MARS_MSimBundlePhotons
|
---|
2 | #define MARS_MSimBundlePhotons
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MLut
|
---|
9 | #include "MLut.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MParList;
|
---|
13 | class MPhotonEvent;
|
---|
14 | class MPhotonStatistics;
|
---|
15 |
|
---|
16 | class MSimBundlePhotons: public MTask
|
---|
17 | {
|
---|
18 | private:
|
---|
19 | MPhotonEvent *fEvt; //! Event storing the photons
|
---|
20 | MPhotonStatistics *fStat; //! Event statistics needed for crosschecks
|
---|
21 |
|
---|
22 | TString fFileName; // File to from which to read the lut
|
---|
23 | MLut fLut; // Look-up table
|
---|
24 |
|
---|
25 | // MParContainer
|
---|
26 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
|
---|
27 |
|
---|
28 | // MTask
|
---|
29 | Int_t PreProcess(MParList *pList);
|
---|
30 | Int_t Process();
|
---|
31 |
|
---|
32 | public:
|
---|
33 | MSimBundlePhotons(const char *name=NULL, const char *title=NULL);
|
---|
34 |
|
---|
35 | void SetFileName(const char *name) { fFileName = name; }
|
---|
36 |
|
---|
37 | ClassDef(MSimBundlePhotons, 0) // Task to bundle (re-index) photons according to a look-up table
|
---|
38 | };
|
---|
39 |
|
---|
40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.