Analysis Software
Documentation for sPHENIX simulation software
|
#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 = std::numeric_limits<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, BeamLineMagnetSubsystem, and PHG4OHCalSubsystem.
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(), G4Example01Subsystem::Init(), PHG4HcalPrototypeSubsystem::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 PHG4PSTOFSubsystem, PHG4BbcSubsystem, PHG4GDMLSubsystem, PHG4SpacalSubsystem, PHG4MicromegasSubsystem, G4Example03Subsystem, PHG4HcalPrototypeSubsystem, G4Example02Subsystem, G4Example01Subsystem, PHG4TpcEndCapSubsystem, PHG4CEmcTestBeamSubsystem, PHG4HcalSubsystem, PHG4InttSubsystem, PHG4CylinderSubsystem, BeamLineMagnetSubsystem, PHG4BeamlineMagnetSubsystem, PHG4SectorSubsystem, PHG4TpcSubsystem, PHG4Prototype2InnerHcalSubsystem, PHG4Prototype2OuterHcalSubsystem, PHG4Prototype3InnerHcalSubsystem, PHG4InnerHcalSubsystem, PHG4IHCalSubsystem, PHG4EICMvtxSubsystem, PHG4MvtxSubsystem, PHG4BlockSubsystem, PHG4ConeSubsystem, PHG4OuterHcalSubsystem, PHG4OHCalSubsystem, PHG4SpacalPrototypeSubsystem, PHG4EnvelopeSubsystem, PHG4SpacalPrototype4Subsystem, PHG4ZDCSubsystem, 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 PHG4BbcSubsystem, PHG4MicromegasSubsystem, G4Example03Subsystem, PHG4SpacalSubsystem, PHG4TpcEndCapSubsystem, PHG4InttSubsystem, PHG4CylinderSubsystem, PHG4TpcSubsystem, PHG4SectorSubsystem, BeamLineMagnetSubsystem, PHG4BlockSubsystem, PHG4EICMvtxSubsystem, PHG4MvtxSubsystem, PHG4ConeSubsystem, PHG4InnerHcalSubsystem, PHG4IHCalSubsystem, PHG4OuterHcalSubsystem, PHG4OHCalSubsystem, 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, PHG4HcalPrototypeSubsystem, 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(), and PHG4CylinderSteppingAction::hasMotherSubsystem().
|
inlinevirtual |
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, PHG4GDMLSubsystem, PHG4SpacalSubsystem, G4Example03Subsystem, PHG4MicromegasSubsystem, PHG4HcalPrototypeSubsystem, G4Example02Subsystem, G4Example01Subsystem, PHG4TpcEndCapSubsystem, PHG4InttSubsystem, PHG4CEmcTestBeamSubsystem, PHG4HcalSubsystem, PHG4CylinderSubsystem, PHG4TpcSubsystem, BeamLineMagnetSubsystem, PHG4SectorSubsystem, PHG4Prototype2InnerHcalSubsystem, PHG4Prototype2OuterHcalSubsystem, PHG4Prototype3InnerHcalSubsystem, PHG4BlockSubsystem, PHG4InnerHcalSubsystem, PHG4IHCalSubsystem, PHG4EICMvtxSubsystem, PHG4MvtxSubsystem, PHG4ConeSubsystem, PHG4OuterHcalSubsystem, PHG4OHCalSubsystem, PHG4SpacalPrototypeSubsystem, PHG4EnvelopeSubsystem, PHG4SpacalPrototype4Subsystem, PHG4ZDCSubsystem, 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
|
inline |
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(), DIRCSetup(), FGEMSetup(), and make_GEM_station().
|
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(), PHG4ConeDetector::ConstructMe(), BeamLineMagnetDetector::ConstructMe(), PHG4OHCalDetector::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 BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), HCalOuter(), and ZDCSetup().
|
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().