ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ECAPToFDetector.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4ECAPToFDetector.h
1 #ifndef G4DETECTORS_PHG4ECAPToFDETECTOR_H
2 #define G4DETECTORS_PHG4ECAPToFDETECTOR_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  PHG4ECAPToFDetector(PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam = "ETOF", const int lyr = 0);
20 
23  {
24  }
25 
26  //Construct mRPC ToF
27  void ConstructMe(G4LogicalVolume *world) override;
28 
29  int IsInToF(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 
59 
60  int m_Active;
61  int m_Layer;
62 
63  std::string m_SuperDetector;
64 };
65 #endif