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 
37  G4VPhysicalVolume *Phys;
38  G4VPhysicalVolume *fPhysicsRadiator;
39  G4VPhysicalVolume *TRD_det_Phys;
40  G4VPhysicalVolume *MPGD_win_Phys;
41  G4VPhysicalVolume *Cathode_Phys;
42  G4VPhysicalVolume *Gas_Active;
43  G4VPhysicalVolume *GEM_top_Phys;
44  G4VPhysicalVolume *GEM_diel_Phys;
45  G4VPhysicalVolume *GEM_bottom_Phys;
46  G4VPhysicalVolume *MMG_mesh_Phys;
47  G4VPhysicalVolume *Res_lay_Phys;
48  G4VPhysicalVolume *MMG_strips_Phys;
49  G4VPhysicalVolume *PCB_Phys;
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