ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ForwardHcalSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4ForwardHcalSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4FORWARDHCALSUBSYSTEM_H
4 #define G4DETECTORS_PHG4FORWARDHCALSUBSYSTEM_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  PHG4ForwardHcalSubsystem(const std::string &name = "FORWARD_HCAL_DEFAULT", const int layer = 0);
22 
25  virtual ~PHG4ForwardHcalSubsystem();
26 
32  int InitRunSubsystem(PHCompositeNode *) override;
33 
36  int process_event(PHCompositeNode *) override;
37 
39  void Print(const std::string &what = "ALL") const override;
40 
43  PHG4Detector *GetDetector() const override;
45  PHG4DisplayAction *GetDisplayAction() const override { return m_DisplayAction; }
46 
49  void SetTowerMappingFile(const std::string &filename);
50 
51  void SetUseFeTungstenAbsorber(int useTungsten) { set_int_param("absorber_FeTungsten", 1); };
52 
55  void SetDetailed(bool b) { showdetailed = b; }
56 
57  private:
58  void SetDefaultParameters() override;
59 
63 
68 
70 
71  bool showdetailed = false;
72 
73  std::string m_HitNodeName;
74  std::string m_AbsorberNodeName;
75  std::string m_SupportNodeName;
76 };
77 
78 #endif