ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/AllSiliconTrackerDetector.h>
Public Member Functions | |
AllSiliconTrackerDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~AllSiliconTrackerDetector () |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | Print (const std::string &what="ALL") const override |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_detid (const G4VPhysicalVolume *physvol, const int whichactive) |
PHG4HitContainer * | get_hitcontainer (const int i) |
volume accessors | |
int | IsInDetector (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 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 Types | |
enum | { insertassemblies = 1, insertlogicalvolumes = 2 } |
Private Member Functions | |
void | InsertVolumes (G4VPhysicalVolume *physvol, const int flag) |
void | AddHitNodes (PHCompositeNode *topNode) |
Private Attributes | |
AllSiliconTrackerDisplayAction * | m_DisplayAction |
PHParameters * | m_Params |
std::string | m_GDMPath |
std::string | m_SuperDetector |
int | m_Active |
int | m_AbsorberActive |
std::map< const G4VPhysicalVolume *, int > | m_ActivePhysicalVolumesSet |
std::map< const G4VPhysicalVolume *, int > | m_PassivePhysicalVolumesSet |
std::map< int, PHG4HitContainer * > | m_HitContainerMap |
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 20 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 20 of file AllSiliconTrackerDetector.h
|
private |
Definition at line 46 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 46 of file AllSiliconTrackerDetector.h
AllSiliconTrackerDetector::AllSiliconTrackerDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 46 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 46 of file AllSiliconTrackerDetector.cc
|
inlinevirtual |
destructor
Definition at line 27 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 27 of file AllSiliconTrackerDetector.h
|
private |
Definition at line 259 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 259 of file AllSiliconTrackerDetector.cc
References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), PHParameters::get_int_param(), PHG4Detector::GetName(), m_ActivePhysicalVolumesSet, m_HitContainerMap, m_Params, PHCompositeNode::PHCompositeNode(), and SuperDetector().
Referenced by ConstructMe().
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 82 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 82 of file AllSiliconTrackerDetector.cc
References AddHitNodes(), AllSiliconTrackerSubsystem::assembly_iters(), PHParameters::get_double_param(), G4GDMLReadStructure::GetAssembly(), PHG4Detector::GetMySubsystem(), PHG4Detector::GetName(), G4GDMLReadStructure::GetVolume(), G4AssemblyVolume::GetVolumesIterator(), insertassemblies, insertlogicalvolumes, InsertVolumes(), it, AllSiliconTrackerSubsystem::logvol_iters(), m_GDMPath, m_Params, G4AssemblyVolume::MakeImprint(), PHG4Detector::OverlapCheck(), CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateY(), CLHEP::HepRotation::rotateZ(), G4GDMLParser::SetOverlapCheck(), PHG4Detector::topNode(), and G4AssemblyVolume::TotalImprintedVolumes().
int AllSiliconTrackerDetector::get_detid | ( | const G4VPhysicalVolume * | physvol, |
const int | whichactive | ||
) |
Definition at line 241 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 241 of file AllSiliconTrackerDetector.cc
References m_ActivePhysicalVolumesSet, and m_PassivePhysicalVolumesSet.
Referenced by AllSiliconTrackerSteppingAction::UserSteppingAction().
PHG4HitContainer * AllSiliconTrackerDetector::get_hitcontainer | ( | const int | i | ) |
Definition at line 326 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 326 of file AllSiliconTrackerDetector.cc
References g4zmq::exit(), and m_HitContainerMap.
Referenced by AllSiliconTrackerSteppingAction::UserSteppingAction().
|
private |
Definition at line 147 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 147 of file AllSiliconTrackerDetector.cc
References AllSiliconTrackerDisplayAction::AddLogicalVolume(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), insertassemblies, int(), m_AbsorberActive, m_ActivePhysicalVolumesSet, m_DisplayAction, m_PassivePhysicalVolumesSet, pos(), and split().
Referenced by ConstructMe().
int AllSiliconTrackerDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 60 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 60 of file AllSiliconTrackerDetector.cc
References m_AbsorberActive, m_Active, m_ActivePhysicalVolumesSet, and m_PassivePhysicalVolumesSet.
Referenced by AllSiliconTrackerSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 229 of file AllSiliconTrackerDetector.cc.
View newest version in sPHENIX GitHub at line 229 of file AllSiliconTrackerDetector.cc
References m_Params, and PHParameters::Print().
Referenced by AllSiliconTrackerSubsystem::Print().
|
inline |
Definition at line 39 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 39 of file AllSiliconTrackerDetector.h
References m_SuperDetector.
Referenced by AllSiliconTrackerSubsystem::InitRunSubsystem().
|
inline |
Definition at line 40 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 40 of file AllSiliconTrackerDetector.h
References m_SuperDetector.
Referenced by AddHitNodes().
|
private |
Definition at line 60 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 60 of file AllSiliconTrackerDetector.h
Referenced by InsertVolumes(), and IsInDetector().
|
private |
Definition at line 59 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 59 of file AllSiliconTrackerDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 63 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 63 of file AllSiliconTrackerDetector.h
Referenced by AddHitNodes(), get_detid(), InsertVolumes(), and IsInDetector().
|
private |
Definition at line 53 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 53 of file AllSiliconTrackerDetector.h
Referenced by InsertVolumes().
|
private |
Definition at line 56 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 56 of file AllSiliconTrackerDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 66 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 66 of file AllSiliconTrackerDetector.h
Referenced by AddHitNodes(), and get_hitcontainer().
|
private |
Definition at line 54 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 54 of file AllSiliconTrackerDetector.h
Referenced by AddHitNodes(), ConstructMe(), and Print().
|
private |
Definition at line 64 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 64 of file AllSiliconTrackerDetector.h
Referenced by get_detid(), InsertVolumes(), and IsInDetector().
|
private |
Definition at line 58 of file AllSiliconTrackerDetector.h.
View newest version in sPHENIX GitHub at line 58 of file AllSiliconTrackerDetector.h
Referenced by SuperDetector().