Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4SectorDetector Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4SectorDetector.h>

+ Inheritance diagram for PHG4SectorDetector:
+ Collaboration diagram for PHG4SectorDetector:

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 PHCompositeNodetopNode ()
 
virtual PHG4SubsystemGetMySubsystem ()
 
- 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

PHG4SectorDisplayActionm_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
 

Detailed Description

Definition at line 18 of file PHG4SectorDetector.h.

View newest version in sPHENIX GitHub at line 18 of file PHG4SectorDetector.h

Constructor & Destructor Documentation

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

PHG4SectorDetector::~PHG4SectorDetector ( void  )
inlineoverride

destructor

Definition at line 25 of file PHG4SectorDetector.h.

View newest version in sPHENIX GitHub at line 25 of file PHG4SectorDetector.h

Member Function Documentation

void PHG4SectorDetector::ConstructMe ( G4LogicalVolume *  world)
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.

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

void PHG4SectorDetector::OverlapCheck ( const bool  chk)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4SectorDetector::SuperDetector ( const std::string &  name)
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().

+ Here is the caller graph for this function:

const std::string PHG4SectorDetector::SuperDetector ( ) const
inline

Definition at line 38 of file PHG4SectorDetector.h.

View newest version in sPHENIX GitHub at line 38 of file PHG4SectorDetector.h

References superdetector.

Member Data Documentation

PHG4SectorDisplayAction* PHG4SectorDetector::m_DisplayAction
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().

std::string PHG4SectorDetector::superdetector
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().


The documentation for this class was generated from the following files: