ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Subsystem.h>
Public Member Functions | |
PHG4Subsystem (const std::string &name="Generic Subsystem") | |
constructor | |
~PHG4Subsystem (void) override | |
destructor | |
virtual int | process_after_geant (PHCompositeNode *) |
event processing | |
virtual PHG4Detector * | GetDetector (void) const |
return pointer to created detector object | |
virtual PHG4EventAction * | GetEventAction (void) const |
return pointer to this subsystem event action | |
virtual PHG4SteppingAction * | GetSteppingAction (void) const |
return pointer to this subsystem stepping action | |
virtual PHG4TrackingAction * | GetTrackingAction (void) const |
return pointer to this subsystem stepping action | |
virtual PHG4DisplayAction * | GetDisplayAction () const |
return pointer to this subsystem display setting | |
virtual PHG4StackingAction * | GetStackingAction () const |
void | OverlapCheck (const bool chk=true) |
bool | CheckOverlap () const |
void | SetMotherSubsystem (PHG4Subsystem *subsys) |
PHG4Subsystem * | GetMotherSubsystem () const |
void | SetLogicalVolume (G4LogicalVolume *vol) |
G4LogicalVolume * | GetLogicalVolume () const |
virtual bool | CanBeMotherSubsystem () const |
virtual void | AddProcesses (G4ParticleDefinition *) |
virtual void | DefineMaterials () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
virtual int | InitRun (PHCompositeNode *) |
virtual int | process_event (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Attributes | |
PHG4Subsystem * | m_MyMotherSubsystem = nullptr |
G4LogicalVolume * | m_MyLogicalVolume = nullptr |
bool | overlapcheck = false |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 22 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4Subsystem.h
|
inline |
constructor
Definition at line 26 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4Subsystem.h
|
inlineoverride |
destructor
Definition at line 32 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4Subsystem.h
|
inlinevirtual |
Definition at line 88 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4Subsystem.h
|
inlinevirtual |
Reimplemented in PHG4ConeSubsystem, PHG4CylinderSubsystem, PHG4BlockSubsystem, PHG4CylinderStripSubsystem, EICG4LumiSubsystem, BeamLineMagnetSubsystem, EICG4B0Subsystem, EICG4B0ECALSubsystem, EICG4BwdSubsystem, and EICG4RPSubsystem.
Definition at line 85 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4Subsystem.h
Referenced by SetMotherSubsystem().
|
inline |
Definition at line 74 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4Subsystem.h
References overlapcheck.
Referenced by PHG4SectorSubsystem::Init(), PHG4EnvelopeSubsystem::Init(), PHG4CEmcTestBeamSubsystem::Init(), PHG4RICHSubsystem::Init(), and PHG4HcalSubsystem::InitRun().
|
inlinevirtual |
Definition at line 91 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4Subsystem.h
Referenced by PHG4DetectorGroupSubsystem::InitRun(), and PHG4DetectorSubsystem::InitRun().
|
inlinevirtual |
return pointer to created detector object
Reimplemented in PHG4RICHSubsystem, PHG4PSTOFSubsystem, PHG4BbcSubsystem, PHG4GDMLSubsystem, G4EicDircSubsystem, G4JLeicDIRCSubsystem, G4JLeicVTXSubsystem, PHG4SpacalSubsystem, PHG4MicromegasSubsystem, AllSiliconTrackerSubsystem, PHG4mRICHSubsystem, PHG4TpcEndCapSubsystem, PHG4CylinderStripSubsystem, PHG4CEmcTestBeamSubsystem, PHG4HcalSubsystem, PHG4InttSubsystem, BeastMagnetSubsystem, G4JLeicBeamLineMagnetSubsystem, PHG4BeamlineMagnetSubsystem, PHG4CylinderSubsystem, EICG4B0Subsystem, EICG4B0ECALSubsystem, EICG4BwdSubsystem, AllSi_Al_support_Subsystem, EicFRichSubsystem, EICG4LumiSubsystem, EICG4RPSubsystem, EICG4ZDCSubsystem, BeamLineMagnetSubsystem, PHG4OuterHcalSubsystem, PHG4SectorSubsystem, PHG4TpcSubsystem, EICG4dRICHSubsystem, G4LBLVtxSubsystem, PHG4TTLSubsystem, PHG4InnerHcalSubsystem, PHG4EICMvtxSubsystem, PHG4MvtxSubsystem, PHG4BarrelEcalSubsystem, PHG4ForwardHcalSubsystem, PHG4FPbScSubsystem, PHG4BlockSubsystem, PHG4ConeSubsystem, PHG4ForwardEcalSubsystem, PHG4EnvelopeSubsystem, PHG4ForwardDualReadoutSubsystem, PHG4BackwardHcalSubsystem, PHG4CrystalCalorimeterSubsystem, PHG4HybridHomogeneousCalorimeterSubsystem, PHG4LFHcalSubsystem, PHG4FCalSubsystem, PHG4ZDCSubsystem, PHG4ECAPToFSubsystem, PHG4TRDSubsystem, and PHG4EPDSubsystem.
Definition at line 41 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4Subsystem.h
|
inlinevirtual |
return pointer to this subsystem display setting
Reimplemented in PHG4RICHSubsystem, PHG4BbcSubsystem, G4EicDircSubsystem, PHG4SpacalSubsystem, PHG4TpcEndCapSubsystem, AllSiliconTrackerSubsystem, PHG4InttSubsystem, BeastMagnetSubsystem, PHG4CylinderSubsystem, PHG4TpcSubsystem, G4JLeicBeamLineMagnetSubsystem, PHG4SectorSubsystem, PHG4TTLSubsystem, BeamLineMagnetSubsystem, PHG4BlockSubsystem, PHG4OuterHcalSubsystem, PHG4EICMvtxSubsystem, PHG4MvtxSubsystem, G4LBLVtxSubsystem, PHG4ConeSubsystem, PHG4InnerHcalSubsystem, PHG4BarrelEcalSubsystem, PHG4ForwardEcalSubsystem, PHG4ForwardHcalSubsystem, PHG4ForwardDualReadoutSubsystem, PHG4BackwardHcalSubsystem, PHG4CrystalCalorimeterSubsystem, PHG4HybridHomogeneousCalorimeterSubsystem, PHG4LFHcalSubsystem, PHG4ZDCSubsystem, and PHG4EPDSubsystem.
Definition at line 65 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4Subsystem.h
Referenced by PHG4TpcEndCapDetector::PHG4TpcEndCapDetector().
|
inlinevirtual |
return pointer to this subsystem event action
Reimplemented in PHG4CEmcTestBeamSubsystem, PHG4mRICHSubsystem, PHG4FPbScSubsystem, and PHG4TruthSubsystem.
Definition at line 47 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4Subsystem.h
|
inline |
Definition at line 80 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4Subsystem.h
References m_MyLogicalVolume.
Referenced by PHG4Detector::Construct().
|
inline |
Definition at line 77 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4Subsystem.h
References m_MyMotherSubsystem.
Referenced by PHG4Detector::Construct(), BeamLineMagnetDetector::ConstructMe(), EICG4RPSteppingAction::hasMotherSubsystem(), EICG4LumiSteppingAction::hasMotherSubsystem(), EICG4B0ECALSteppingAction::hasMotherSubsystem(), EICG4B0SteppingAction::hasMotherSubsystem(), EICG4BwdSteppingAction::hasMotherSubsystem(), and PHG4CylinderSteppingAction::hasMotherSubsystem().
|
inlinevirtual |
Reimplemented in G4EicDircSubsystem.
Definition at line 70 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4Subsystem.h
|
inlinevirtual |
return pointer to this subsystem stepping action
Reimplemented in PHG4PSTOFSubsystem, PHG4BbcSubsystem, G4EicDircSubsystem, PHG4GDMLSubsystem, G4JLeicDIRCSubsystem, G4JLeicVTXSubsystem, PHG4SpacalSubsystem, AllSiliconTrackerSubsystem, PHG4MicromegasSubsystem, PHG4TpcEndCapSubsystem, PHG4mRICHSubsystem, PHG4CylinderStripSubsystem, PHG4CEmcTestBeamSubsystem, PHG4InttSubsystem, BeastMagnetSubsystem, PHG4HcalSubsystem, EICG4B0Subsystem, EICG4B0ECALSubsystem, EICG4BwdSubsystem, G4JLeicBeamLineMagnetSubsystem, AllSi_Al_support_Subsystem, EicFRichSubsystem, EICG4LumiSubsystem, EICG4RPSubsystem, EICG4ZDCSubsystem, PHG4CylinderSubsystem, PHG4TpcSubsystem, EICG4dRICHSubsystem, BeamLineMagnetSubsystem, PHG4OuterHcalSubsystem, PHG4SectorSubsystem, G4LBLVtxSubsystem, PHG4TTLSubsystem, PHG4BlockSubsystem, PHG4InnerHcalSubsystem, PHG4EICMvtxSubsystem, PHG4MvtxSubsystem, PHG4BarrelEcalSubsystem, PHG4ForwardHcalSubsystem, PHG4FPbScSubsystem, PHG4ConeSubsystem, PHG4ForwardEcalSubsystem, PHG4EnvelopeSubsystem, PHG4ForwardDualReadoutSubsystem, PHG4BackwardHcalSubsystem, PHG4CrystalCalorimeterSubsystem, PHG4HybridHomogeneousCalorimeterSubsystem, PHG4LFHcalSubsystem, PHG4ZDCSubsystem, PHG4ECAPToFSubsystem, PHG4TRDSubsystem, and PHG4EPDSubsystem.
Definition at line 53 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4Subsystem.h
|
inlinevirtual |
return pointer to this subsystem stepping action
Reimplemented in PHG4TruthSubsystem.
Definition at line 59 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4Subsystem.h
Definition at line 72 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4Subsystem.h
References overlapcheck.
Referenced by AerogelSetup(), make_forward_station_basic(), make_GEM_station(), make_LANL_FST_station(), and RICHSetup().
|
inlinevirtual |
event processing
Reimplemented in PHG4TruthSubsystem.
Definition at line 35 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4Subsystem.h
References Fun4AllReturnCodes::EVENT_OK.
|
inline |
Definition at line 79 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4Subsystem.h
References m_MyLogicalVolume.
Referenced by PHG4BlockDetector::ConstructMe(), PHG4CylinderDetector::ConstructMe(), PHG4CylinderStripDetector::ConstructMe(), PHG4ConeDetector::ConstructMe(), BeamLineMagnetDetector::ConstructMe(), G4LBLVtxDetector::ConstructMe(), and PHG4GDMLDetector::ConstructMe().
void PHG4Subsystem::SetMotherSubsystem | ( | PHG4Subsystem * | subsys | ) |
Definition at line 9 of file PHG4Subsystem.cc.
View newest version in sPHENIX GitHub at line 9 of file PHG4Subsystem.cc
References CanBeMotherSubsystem(), and Fun4AllBase::Name().
Referenced by hFarBwdDefineMagnets(), hFarFwdDefineDetectorsIP6(), hFarFwdDefineDetectorsIP8(), and hFarFwdDefineMagnets().
|
private |
Definition at line 95 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 95 of file PHG4Subsystem.h
Referenced by GetLogicalVolume(), and SetLogicalVolume().
|
private |
Definition at line 94 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 94 of file PHG4Subsystem.h
Referenced by GetMotherSubsystem().
|
private |
Definition at line 96 of file PHG4Subsystem.h.
View newest version in sPHENIX GitHub at line 96 of file PHG4Subsystem.h
Referenced by CheckOverlap(), and OverlapCheck().