ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4SectorDetector.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4SectorDetector.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4SECTORDETECTOR_H
4 #define G4DETECTORS_PHG4SECTORDETECTOR_H
5 
7 
8 #include <g4main/PHG4Detector.h>
9 
10 #include <string> // for string
11 
12 class G4LogicalVolume;
13 class G4VPhysicalVolume;
14 class PHCompositeNode;
16 class PHG4Subsystem;
17 
19 {
20  public:
22  PHG4SectorDetector(PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam);
23 
25  ~PHG4SectorDetector(void) override
26  {
27  }
28 
30  void ConstructMe(G4LogicalVolume *world) override;
31 
33 
34  bool IsInSectorActive(G4VPhysicalVolume *physvol);
36 
37  void SuperDetector(const std::string &name) { superdetector = name; }
38  const std::string SuperDetector() const { return superdetector; }
39 
40  void OverlapCheck(const bool chk = true) override
41  {
43  PHG4SectorConstructor::OverlapCheck(chk);
44  }
45 
46  private:
48 
49  std::string superdetector;
50 };
51 
52 #endif