ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ForwardEcalSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4ForwardEcalSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
4 #define G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
5 
7 
8 #include <string> // for string
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class PHG4DisplayAction;
14 class PHG4SteppingAction;
15 
17 {
18  public:
21  PHG4ForwardEcalSubsystem(const std::string& name = "FORWARD_ECAL_DEFAULT", const int layer = 0);
22 
23  void DoFullLightPropagation(bool doProp) { _do_lightpropagation = doProp; };
24 
27  virtual ~PHG4ForwardEcalSubsystem();
28 
35 
39 
42  PHG4Detector* GetDetector() const;
44 
46 
49  void SetTowerMappingFile(const std::string& filename);
50 
53  void SetDetailed(bool b) { showdetailed = b; }
54 
55  private:
56  void SetDefaultParameters();
57 
61 
65 
67 
69 
71  bool showdetailed = false;
72  bool _do_lightpropagation = false;
73 };
74 
75 #endif