Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4SectorSubsystem.h>
Public Member Functions | |
PHG4SectorSubsystem (const std::string &name="Sector") | |
constructor | |
~PHG4SectorSubsystem () override | |
destructor | |
int | Init (PHCompositeNode *) override |
init | |
int | process_event (PHCompositeNode *) override |
event processing | |
PHG4Detector * | GetDetector (void) const override |
accessors (reimplemented) | |
PHG4SteppingAction * | GetSteppingAction (void) const override |
return pointer to this subsystem stepping action | |
PHG4DisplayAction * | GetDisplayAction () const override |
return pointer to this subsystem display setting | |
void | SuperDetector (const std::string &name) |
PHG4Sector::Sector_Geometry & | get_geometry () |
geometry manager PHG4Sector::Sector_Geometry | |
void | set_geometry (const PHG4Sector::Sector_Geometry &geo) |
geometry manager PHG4Sector::Sector_Geometry | |
Public Member Functions inherited from PHG4Subsystem | |
PHG4Subsystem (const std::string &name="Generic Subsystem") | |
constructor | |
~PHG4Subsystem (void) override | |
destructor | |
virtual int | process_after_geant (PHCompositeNode *) |
event processing | |
virtual PHG4EventAction * | GetEventAction (void) const |
return pointer to this subsystem event action | |
virtual PHG4TrackingAction * | GetTrackingAction (void) const |
return pointer to this subsystem stepping action | |
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 | InitRun (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 | |
PHG4SectorDetector * | m_Detector = nullptr |
detector geometry | |
PHG4SteppingAction * | m_SteppingAction = nullptr |
particle tracking "stepping" action | |
PHG4DisplayAction * | m_DisplayAction = nullptr |
display attribute setting | |
std::string | superdetector = "NONE" |
PHG4Sector::Sector_Geometry | geom |
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 18 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4SectorSubsystem.h
PHG4SectorSubsystem::PHG4SectorSubsystem | ( | const std::string & | name = "Sector" | ) |
constructor
Definition at line 23 of file PHG4SectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 23 of file PHG4SectorSubsystem.cc
|
override |
destructor
Definition at line 29 of file PHG4SectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 29 of file PHG4SectorSubsystem.cc
References m_DisplayAction.
|
inline |
geometry manager PHG4Sector::Sector_Geometry
Definition at line 57 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4SectorSubsystem.h
References geom.
Referenced by AddLayers_MiniTPCDrift(), AerogelSetup(), DIRCSetup(), FGEMSetup(), and make_GEM_station().
|
overridevirtual |
accessors (reimplemented)
Reimplemented from PHG4Subsystem.
Definition at line 85 of file PHG4SectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 85 of file PHG4SectorSubsystem.cc
References m_Detector.
|
inlineoverridevirtual |
return pointer to this subsystem display setting
Reimplemented from PHG4Subsystem.
Definition at line 47 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4SectorSubsystem.h
References m_DisplayAction.
|
inlineoverridevirtual |
return pointer to this subsystem stepping action
Reimplemented from PHG4Subsystem.
Definition at line 45 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4SectorSubsystem.h
References m_SteppingAction.
|
overridevirtual |
init
creates the detector_ object and place it on the node tree, under "DETECTORS" node (or whatever) reates the stepping action and place it on the node tree, under "ACTIONS" node creates relevant hit nodes that will be populated by the stepping action and stored in the output DST
Reimplemented from SubsysReco.
Definition at line 35 of file PHG4SectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 35 of file PHG4SectorSubsystem.cc
References PHCompositeNode::addNode(), PHG4Subsystem::CheckOverlap(), PHNodeIterator::findFirst(), geom, PHG4Sector::PHG4SectorConstructor::geom, PHG4Sector::Sector_Geometry::GetNumActiveLayers(), m_Detector, m_DisplayAction, m_SteppingAction, Fun4AllBase::Name(), PHG4SectorDetector::OverlapCheck(), PHG4SectorDetector::SuperDetector(), superdetector, and PHG4Detector::topNode().
|
overridevirtual |
event processing
get all relevant nodes from top nodes (namely hit list) and pass that to the stepping action
Reimplemented from SubsysReco.
Definition at line 72 of file PHG4SectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4SectorSubsystem.cc
References m_SteppingAction, and PHG4SteppingAction::SetInterfacePointers().
|
inline |
geometry manager PHG4Sector::Sector_Geometry
Definition at line 64 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4SectorSubsystem.h
References geom.
|
inline |
Definition at line 50 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4SectorSubsystem.h
References perf_headwind::name, and superdetector.
Referenced by FGEMSetup(), and make_GEM_station().
|
private |
Definition at line 84 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4SectorSubsystem.h
Referenced by get_geometry(), Init(), and set_geometry().
|
private |
detector geometry
defives from PHG4Detector
Definition at line 72 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4SectorSubsystem.h
Referenced by GetDetector(), and Init().
|
private |
display attribute setting
derives from PHG4DisplayAction
Definition at line 80 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4SectorSubsystem.h
Referenced by GetDisplayAction(), Init(), and ~PHG4SectorSubsystem().
|
private |
particle tracking "stepping" action
derives from PHG4SteppingActions
Definition at line 76 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4SectorSubsystem.h
Referenced by GetSteppingAction(), Init(), and process_event().
|
private |
Definition at line 82 of file PHG4SectorSubsystem.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4SectorSubsystem.h
Referenced by Init(), and SuperDetector().