ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
G4LBLVtxDetector is a generic detector built from a GDML import. More...
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/G4LBLVtxDetector.h>
Public Member Functions | |
G4LBLVtxDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam, PHParameters *parameters) | |
virtual | ~G4LBLVtxDetector () |
void | ConstructMe (G4LogicalVolume *world) |
construct | |
int | IsInDetector (G4VPhysicalVolume *) const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
void | Print (const std::string &what="ALL") 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 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 Member Functions | |
void | SetActiveVolumes (G4VPhysicalVolume *physvol) |
Private Attributes | |
G4LBLVtxDisplayAction * | m_DisplayAction |
std::string | m_GDMPath |
std::string | m_TopVolName |
std::set< G4VPhysicalVolume * > | m_ActivePhysVolumeMap |
std::set< G4VPhysicalVolume * > | m_PassivePhysVolumeMap |
std::set< std::string > | m_ActiveVolName |
double | m_placeX |
double | m_placeY |
double | m_placeZ |
double | m_rotationX |
double | m_rotationY |
double | m_rotationZ |
int | m_Active |
int | m_AbsorberActive |
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) |
G4LBLVtxDetector is a generic detector built from a GDML import.
Definition at line 24 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 24 of file G4LBLVtxDetector.h
G4LBLVtxDetector::G4LBLVtxDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam, | ||
PHParameters * | parameters | ||
) |
Definition at line 28 of file G4LBLVtxDetector.cc.
View newest version in sPHENIX GitHub at line 28 of file G4LBLVtxDetector.cc
References m_ActiveVolName.
|
virtual |
Definition at line 46 of file G4LBLVtxDetector.cc.
View newest version in sPHENIX GitHub at line 46 of file G4LBLVtxDetector.cc
|
virtual |
construct
Implements PHG4Detector.
Definition at line 61 of file G4LBLVtxDetector.cc.
View newest version in sPHENIX GitHub at line 61 of file G4LBLVtxDetector.cc
References PHG4Detector::GetMySubsystem(), PHG4Detector::GetName(), G4GDMLReadStructure::GetVolume(), m_GDMPath, m_placeX, m_placeY, m_placeZ, m_rotationX, m_rotationY, m_rotationZ, m_TopVolName, PHG4Detector::OverlapCheck(), Print(), CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateY(), CLHEP::HepRotation::rotateZ(), SetActiveVolumes(), PHG4Subsystem::SetLogicalVolume(), G4GDMLParser::SetOverlapCheck(), and PHG4Detector::Verbosity().
int G4LBLVtxDetector::IsInDetector | ( | G4VPhysicalVolume * | physvol | ) | const |
Definition at line 139 of file G4LBLVtxDetector.cc.
View newest version in sPHENIX GitHub at line 139 of file G4LBLVtxDetector.cc
References m_AbsorberActive, m_Active, m_ActivePhysVolumeMap, and m_PassivePhysVolumeMap.
Referenced by G4LBLVtxSteppingAction::UserSteppingAction().
|
virtual |
Reimplemented from PHG4Detector.
Definition at line 50 of file G4LBLVtxDetector.cc.
View newest version in sPHENIX GitHub at line 50 of file G4LBLVtxDetector.cc
References PHG4Detector::GetName(), m_GDMPath, m_placeX, m_placeY, m_placeZ, m_rotationX, m_rotationY, m_rotationZ, and m_TopVolName.
Referenced by ConstructMe(), and G4LBLVtxSubsystem::Print().
|
private |
Definition at line 103 of file G4LBLVtxDetector.cc.
View newest version in sPHENIX GitHub at line 103 of file G4LBLVtxDetector.cc
References G4LBLVtxDisplayAction::AddLogVolume(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), int(), m_ActivePhysVolumeMap, m_ActiveVolName, m_DisplayAction, m_PassivePhysVolumeMap, and test().
Referenced by ConstructMe().
|
inline |
Definition at line 36 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 36 of file G4LBLVtxDetector.h
References m_SuperDetector.
Referenced by G4LBLVtxSubsystem::InitRunSubsystem(), and G4LBLVtxSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 37 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 37 of file G4LBLVtxDetector.h
References m_SuperDetector.
|
private |
Definition at line 60 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 60 of file G4LBLVtxDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 59 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 59 of file G4LBLVtxDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 48 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 48 of file G4LBLVtxDetector.h
Referenced by IsInDetector(), and SetActiveVolumes().
|
private |
Definition at line 50 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 50 of file G4LBLVtxDetector.h
Referenced by G4LBLVtxDetector(), and SetActiveVolumes().
|
private |
Definition at line 44 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 44 of file G4LBLVtxDetector.h
Referenced by SetActiveVolumes().
|
private |
Definition at line 46 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 46 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 49 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 49 of file G4LBLVtxDetector.h
Referenced by IsInDetector(), and SetActiveVolumes().
|
private |
Definition at line 51 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 51 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 52 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 52 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 53 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 53 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 55 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 55 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 56 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 56 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 57 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 57 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 62 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 62 of file G4LBLVtxDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 47 of file G4LBLVtxDetector.h.
View newest version in sPHENIX GitHub at line 47 of file G4LBLVtxDetector.h
Referenced by ConstructMe(), and Print().