Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BlockDetector.h>
Public Member Functions | |
PHG4BlockDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int lyr=0) | |
constructor | |
~PHG4BlockDetector (void) override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_Layer () const |
volume accessors | |
bool | IsInBlock (G4VPhysicalVolume *) const |
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 void | OverlapCheck (const bool chk) |
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 () |
Private Attributes | |
PHParameters * | m_Params |
G4VPhysicalVolume * | m_BlockPhysi |
PHG4BlockDisplayAction * | m_DisplayAction |
int | m_Layer |
std::string | m_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) |
Definition at line 17 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4BlockDetector.h
PHG4BlockDetector::PHG4BlockDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam, | ||
const int | lyr = 0 |
||
) |
constructor
Definition at line 33 of file PHG4BlockDetector.cc.
View newest version in sPHENIX GitHub at line 33 of file PHG4BlockDetector.cc
|
inlineoverride |
destructor
Definition at line 24 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4BlockDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 53 of file PHG4BlockDetector.cc.
View newest version in sPHENIX GitHub at line 53 of file PHG4BlockDetector.cc
References Acts::UnitConstants::cm, deg, PHParameters::get_double_param(), PHParameters::get_string_param(), PHG4Detector::GetDetectorMaterial(), PHG4Detector::GetMySubsystem(), PHG4Detector::GetName(), m_BlockPhysi, m_DisplayAction, m_Params, PHG4Detector::OverlapCheck(), PHG4Subsystem::SetLogicalVolume(), and PHG4BlockDisplayAction::SetMyVolume().
|
inline |
Definition at line 38 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4BlockDetector.h
References m_Layer.
Referenced by PHG4BlockSteppingAction::UserSteppingAction().
bool PHG4BlockDetector::IsInBlock | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 43 of file PHG4BlockDetector.cc.
View newest version in sPHENIX GitHub at line 43 of file PHG4BlockDetector.cc
References m_BlockPhysi.
Referenced by PHG4BlockSteppingAction::UserSteppingAction().
|
inline |
Definition at line 36 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4BlockDetector.h
References m_SuperDetector, and perf_headwind::name.
Referenced by PHG4BlockSubsystem::InitRunSubsystem(), and PHG4BlockSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 37 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4BlockDetector.h
References m_SuperDetector.
|
private |
Definition at line 43 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4BlockDetector.h
Referenced by ConstructMe(), and IsInBlock().
|
private |
Definition at line 44 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4BlockDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 46 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4BlockDetector.h
Referenced by get_Layer().
|
private |
Definition at line 41 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4BlockDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 47 of file PHG4BlockDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4BlockDetector.h
Referenced by SuperDetector().