source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/G4Detector/optics/include/G4TransportManager.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 1.1 KB
Line 
1// G4TransportManager
2// This is the kernel of the optics simulation, it trasnports photons
3// between the detector elements.
4#ifndef G4TransportManager_h
5#define G4TransportManager_h
6
7#include "EsafConfigurable.hh"
8#include "EsafMsgSource.hh"
9#include "VirtualDetectorTransportManager.hh"
10
11class G4RunManager;
12class G4VisManager;
13class G4TrackingManager;
14//class G4UserTrackingAction;
15class OptUserStackingAction;
16class OptPrimaryGeneratorAction;
17class PhotonsOnPupil;
18class G4TransportManager: public VirtualDetectorTransportManager, public EsafConfigurable, public EsafMsgSource{
19public:
20    G4TransportManager();
21    virtual ~G4TransportManager();
22
23    void Go( PhotonsOnPupil* );
24    Photon* Transport(Photon *) const;
25    void Reset();
26    void UIterminal();
27private:
28    OptPrimaryGeneratorAction* gen_action;
29    OptUserStackingAction*         stack_action;
30    G4VisManager* visManager;
31    G4RunManager* runManager;
32    G4TrackingManager* trackManager;
33    int fnevents;
34    int fNTracked;
35                double fEffectiveEfficiencyFactor;
36    EsafConfigClass(G4,G4TransportManager)
37};
38
39
40#endif /* G4TransportManager_h */
Note: See TracBrowser for help on using the repository browser.