ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4JLeicDIRCDetector.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4JLeicDIRCDetector.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4JLEIC_G4JLEICDIRCDETECTOR_H
4 #define G4JLEIC_G4JLEICDIRCDETECTOR_H
5 
6 #include <g4main/PHG4Detector.h>
7 
8 #include <set>
9 #include <string> // for string
10 
11 class G4LogicalVolume;
12 class G4VPhysicalVolume;
13 class PHCompositeNode;
14 class PHG4Subsystem;
15 class PHParameters;
16 
18 {
19  public:
21  G4JLeicDIRCDetector(PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *params_array, const std::string &dnam);
22 
24  virtual ~G4JLeicDIRCDetector() {}
25 
27  virtual void ConstructMe(G4LogicalVolume *world);
28 
29  virtual void Print(const std::string &what = "ALL") const;
30 
32 
33  int IsInDIRC(G4VPhysicalVolume *) const;
35 
36  void SuperDetector(const std::string &name) { m_SuperDetector = name; }
37  const std::string SuperDetector() const { return m_SuperDetector; }
38 
39  protected:
41  std::set<G4VPhysicalVolume *> m_PhysicalVolumesSet;
42 
43  std::string m_SuperDetector;
44 };
45 
46 #endif // G4JLEIC_G4JLEICDIRCDETECTOR_H