EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ForwardDualReadoutSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4ForwardDualReadoutSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4FORWARDDUALREADOUTSUBSYSTEM_H
4 #define G4DETECTORS_PHG4FORWARDDUALREADOUTSUBSYSTEM_H
5 
6 #include <g4detectors/PHG4DetectorSubsystem.h> // for PHG4DetectorSubsystem
7 
8 #include <string> // for string
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class PHG4DisplayAction;
14 class PHG4SteppingAction;
15 
17 {
18  public:
21  PHG4ForwardDualReadoutSubsystem(const std::string &name = "FORWARD_HCAL_DEFAULT", const int layer = 0);
22 
26 
33 
37 
40  PHG4Detector *GetDetector() const;
43 
46  void SetTowerMappingFile(const std::string &filename);
47 
48 
49  void SetActive(const int i = 1) { active = i; }
50  void SetAbsorberActive(const int i = 1) { absorber_active = i; }
51  void BlackHole(const int i = 1) { blackhole = i; }
52 
53  private:
54  void SetDefaultParameters();
58 
63 
65 
66  int active;
68  int blackhole;
69 
70  std::string detector_type;
71  std::string mappingfile_;
72 };
73 
74 #endif