source: trunk/Mars/msimcamera/MSimBundlePhotons.h@ 19550

Last change on this file since 19550 was 9241, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 949 bytes
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
12class MParList;
13class MPhotonEvent;
14class MPhotonStatistics;
15
16class MSimBundlePhotons: public MTask
17{
18private:
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
32public:
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.