EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicRootDetector.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EicRootDetector.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef _EICROOT_DETECTOR_
4 #define _EICROOT_DETECTOR_
5 
6 #include <g4main/PHG4Detector.h>
7 
8 #include <set>
9 #include <string>
10 
11 class G4LogicalVolume;
12 class G4VPhysicalVolume;
13 class PHCompositeNode;
14 class PHG4Subsystem;
15 class PHParameters;
16 class PHG4HitContainer;
17 
19 {
20  public:
21  // ctor & dtor;
22  EicRootDetector(PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam);
23  virtual ~EicRootDetector() {};
24 
25  // The actual geometry construction call;
26  void ConstructMe(G4LogicalVolume *world) override;
27 
28  void Print(const std::string &what = "ALL") const override;
29 
30  int IsInDetector(G4VPhysicalVolume *);// const;
31 
33  void set_hitcontainer(PHG4HitContainer *container) { m_HitContainer = container; };
34 
35  private:
36  // active volumes
37  //std::set<G4VPhysicalVolume *> m_PhysicalVolumesSet;
38 
40 };
41 
42 #endif