Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4SectorDetector.h>
Public Member Functions | |
PHG4SectorDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam) | |
constructor | |
~PHG4SectorDetector (void) override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
void | OverlapCheck (const bool chk) override |
volume accessors | |
bool | IsInSectorActive (G4VPhysicalVolume *physvol) |
Public Member Functions inherited from PHG4Detector | |
PHG4Detector ()=delete | |
constructor | |
PHG4Detector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam) | |
virtual | ~PHG4Detector (void) |
destructor | |
virtual void | Construct (G4LogicalVolume *world) final |
construct method | |
virtual void | PostConstruction () |
Optional PostConstruction call after all geometry is constructed. | |
virtual void | Verbosity (const int v) |
virtual int | Verbosity () const |
virtual G4UserSteppingAction * | GetSteppingAction () |
virtual std::string | GetName () const |
virtual bool | OverlapCheck () const |
virtual void | Print (const std::string &="ALL") const |
virtual int | DisplayVolume (G4VSolid *volume, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual int | DisplayVolume (G4LogicalVolume *checksolid, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
Public Member Functions inherited from PHG4Sector::PHG4SectorConstructor | |
PHG4SectorConstructor (const std::string &name, PHG4Subsystem *subsys) | |
virtual | ~PHG4SectorConstructor () |
void | Construct_Sectors (G4LogicalVolume *WorldLog) |
void | OverlapCheck (bool check) |
void | Verbosity (int v) |
int | Verbosity () const |
Private Attributes | |
PHG4SectorDisplayAction * | m_DisplayAction |
std::string | superdetector |
Additional Inherited Members | |
Static Public Member Functions inherited from PHG4Detector | |
static G4Material * | GetDetectorMaterial (const std::string &name, const bool quit=true) |
static G4Element * | GetDetectorElement (const std::string &name, const bool quit=true) |
Public Attributes inherited from PHG4Sector::PHG4SectorConstructor | |
std::string | name_base |
Sector_Geometry | geom |
Protected Types inherited from PHG4Sector::PHG4SectorConstructor | |
typedef std::map< G4String, G4LogicalVolume * > | map_log_vol_t |
typedef std::pair< G4String, G4int > | phy_vol_idx_t |
typedef std::map < phy_vol_idx_t, G4PVPlacement * > | map_phy_vol_t |
Protected Member Functions inherited from PHG4Sector::PHG4SectorConstructor | |
G4VSolid * | Construct_Sectors_Plane (const std::string &name, const double start_z, const double thickness, G4VSolid *SecConeBoundary_Det) |
G4LogicalVolume * | RegisterLogicalVolume (G4LogicalVolume *) |
G4PVPlacement * | RegisterPhysicalVolume (G4PVPlacement *v, const bool active=false) |
Protected Attributes inherited from PHG4Sector::PHG4SectorConstructor | |
bool | overlapcheck_sector |
map_log_vol_t | map_log_vol |
map_phy_vol_t | map_phy_vol |
map_phy_vol_t | map_active_phy_vol |
all physics volume | |
Definition at line 18 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4SectorDetector.h
PHG4SectorDetector::PHG4SectorDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 20 of file PHG4SectorDetector.cc.
View newest version in sPHENIX GitHub at line 20 of file PHG4SectorDetector.cc
|
inlineoverride |
destructor
Definition at line 25 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4SectorDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 44 of file PHG4SectorDetector.cc.
View newest version in sPHENIX GitHub at line 44 of file PHG4SectorDetector.cc
References PHG4SectorDisplayAction::AddVolume(), PHG4Sector::PHG4SectorConstructor::Construct_Sectors(), it, m_DisplayAction, PHG4Sector::PHG4SectorConstructor::map_log_vol, and PHG4Sector::PHG4SectorConstructor::name_base.
bool PHG4SectorDetector::IsInSectorActive | ( | G4VPhysicalVolume * | physvol | ) |
Definition at line 29 of file PHG4SectorDetector.cc.
View newest version in sPHENIX GitHub at line 29 of file PHG4SectorDetector.cc
References it, and PHG4Sector::PHG4SectorConstructor::map_active_phy_vol.
Referenced by PHG4SectorSteppingAction::UserSteppingAction().
|
inlineoverridevirtual |
Reimplemented from PHG4Detector.
Definition at line 41 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4SectorDetector.h
References PHG4Detector::OverlapCheck().
Referenced by PHG4SectorSubsystem::Init().
|
inline |
Definition at line 37 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4SectorDetector.h
References perf_headwind::name, and superdetector.
Referenced by PHG4SectorSubsystem::Init(), and PHG4SectorSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 38 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4SectorDetector.h
References superdetector.
|
private |
Definition at line 48 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4SectorDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 50 of file PHG4SectorDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4SectorDetector.h
Referenced by SuperDetector().