ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TRDDetector.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4TRDDetector.h
1 #ifndef G4DETECTORS_PHG4TRDDETECTOR_H
2 #define G4DETECTORS_PHG4TRDDETECTOR_H
3 
4 #include <g4main/PHG4Detector.h>
5 
6 #include <cmath>
7 #include <set>
8 #include <string>
9 
10 class G4LogicalVolume;
11 class G4VPhysicalVolume;
12 class PHCompositeNode;
13 class PHG4Subsystem;
14 class PHParameters;
15 
17 {
18  public:
19  PHG4TRDDetector(PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam = "TRD", const int lyr = 0);
20 
22  ~PHG4TRDDetector() override
23  {
24  }
25 
27  void ConstructMe(G4LogicalVolume *world) override;
28 
29  int IsInTRD(const G4VPhysicalVolume *) const;
30  void SuperDetector(const std::string &name) { m_SuperDetector = name; }
31  const std::string SuperDetector() const { return m_SuperDetector; }
32  int get_Layer() const { return m_Layer; }
33 
34  private:
36 
50 
51  int m_Active;
53 
54  int m_Layer;
55  std::string m_SuperDetector;
56  /*
57 protected:
58  int m_Active;
59  int m_AbsorberActive;
60  */
61 };
62 
63 #endif