EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4LFHcalSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4LFHcalSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4LFHCALSUBSYSTEM_H
4 #define G4DETECTORS_PHG4LFHCALSUBSYSTEM_H
5 
7 
8 #include <string> // for string
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class PHG4DisplayAction;
13 class PHG4LFHcalDetector;
14 class PHG4SteppingAction;
15 
17 {
18  public:
21  PHG4LFHcalSubsystem(const std::string &name = "LF_HCAL", const int layer = 0);
22 
25  virtual ~PHG4LFHcalSubsystem();
26 
33 
37 
40  PHG4Detector *GetDetector() const;
43 
44  void DoFullLightPropagation(bool doProp) { _do_lightpropagation = doProp; };
45 
48  void SetTowerMappingFile(const std::string &filename);
51  void SetLayerPerTowerSegment(int layerPerTowerSeg) { set_int_param("nlayerspertowerseg", layerPerTowerSeg); }
52 
55  void SetDetailed(bool b) { showdetailed = b; }
56 
57  private:
58  void SetDefaultParameters();
59 
63 
68 
70  bool showdetailed = false;
71  bool _do_lightpropagation = false;
72 };
73 
74 #endif