source: trunk/MagicSoft/Mars/msimreflector/MSimReflector.h@ 9433

Last change on this file since 9433 was 9307, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MSimReflector
2#define MARS_MSimReflector
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MGeomCam;
10class MPointingPos;
11class MPhotonEvent;
12class MCorsikaEvtHeader;
13
14class MReflector;
15
16class MSimReflector : public MTask
17{
18private:
19 MPhotonEvent *fEvt; //! Event storing the photons
20 MPhotonEvent *fMirror0; //! Event storing the photons in the mirror plane (w/o camera shadow)
21 MPhotonEvent *fMirror1; //! Event storing the photons in the mirror plane (w/ camera shadow)
22 MPhotonEvent *fMirror2; //! Event storing the photons in the mirror plane (w/ camera shadow)
23 MPhotonEvent *fMirror3; //! Event storing the photons in the mirror plane (w/ camera shadow)
24 MPhotonEvent *fMirror4; //! Event storing the photons in the mirror plane (w/ camera shadow)
25 //MCorsikaRunHeader *fRunHeader; //! Header storing event information
26 MCorsikaEvtHeader *fEvtHeader; //! Header storing event information
27
28 MReflector *fReflector; //!
29 MGeomCam *fGeomCam; //!
30 MPointingPos *fPointing; //!
31
32 TString fNameGeomCam; // Name of the geometry container storing the APD gemeotry
33
34 Double_t fDetectorMargin; // A margin around the detector (MGeomCam::HitCamera) in which photons are also stored
35
36 // MParContainer
37 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
38
39 // MTask
40 Int_t PreProcess(MParList *pList);
41 Int_t Process();
42
43public:
44 MSimReflector(const char *name=NULL, const char *title=NULL);
45
46 // MSimReflector
47 void SetNameGeomCam(const char *name="MGeomCam") { fNameGeomCam = name; }
48
49 ClassDef(MSimReflector, 0) // Task to calculate reflection on a mirror
50};
51
52#endif
Note: See TracBrowser for help on using the repository browser.