Analysis Software
Documentation for sPHENIX simulation 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 
38  const std::string SuperDetector() const { return superdetector; }
39 
40  using PHG4Detector::OverlapCheck; // not implementing all OverlapChecc methods
41  void OverlapCheck(const bool chk) override
42  {
44  PHG4SectorConstructor::OverlapCheck(chk);
45  }
46 
47  private:
49 
51 };
52 
53 #endif