ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4FPbScSubsystem.h>
Public Member Functions | |
PHG4FPbScSubsystem (const std::string &name="FPBSC") | |
constructor | |
virtual | ~PHG4FPbScSubsystem (void) |
destructor | |
int | Init (PHCompositeNode *) |
init | |
int | process_event (PHCompositeNode *) |
event processing | |
virtual PHG4Detector * | GetDetector (void) const |
accessors (reimplemented) | |
virtual PHG4SteppingAction * | GetSteppingAction (void) const |
return pointer to this subsystem stepping action | |
PHG4EventAction * | GetEventAction () const |
return pointer to this subsystem event action | |
void | set_Place (double x, double y, double z) |
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 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 | 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 | |
PHG4FPbScDetector * | detector_ |
detector geometry | |
PHG4SteppingAction * | steppingAction_ |
particle tracking "stepping" action | |
PHG4EventAction * | eventAction_ |
double | x_position |
double | y_position |
double | z_position |
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 16 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4FPbScSubsystem.h
PHG4FPbScSubsystem::PHG4FPbScSubsystem | ( | const std::string & | name = "FPBSC" | ) |
constructor
Definition at line 28 of file PHG4FPbScSubsystem.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4FPbScSubsystem.cc
|
inlinevirtual |
destructor
Definition at line 23 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4FPbScSubsystem.h
|
virtual |
accessors (reimplemented)
Reimplemented from PHG4Subsystem.
Definition at line 79 of file PHG4FPbScSubsystem.cc.
View newest version in sPHENIX GitHub at line 79 of file PHG4FPbScSubsystem.cc
References detector_.
|
inlinevirtual |
return pointer to this subsystem event action
Reimplemented from PHG4Subsystem.
Definition at line 46 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4FPbScSubsystem.h
References eventAction_.
|
virtual |
return pointer to this subsystem stepping action
Reimplemented from PHG4Subsystem.
Definition at line 85 of file PHG4FPbScSubsystem.cc.
View newest version in sPHENIX GitHub at line 85 of file PHG4FPbScSubsystem.cc
References steppingAction_.
|
virtual |
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 40 of file PHG4FPbScSubsystem.cc.
View newest version in sPHENIX GitHub at line 40 of file PHG4FPbScSubsystem.cc
References PHCompositeNode::addNode(), detector_, eventAction_, PHNodeIterator::findFirst(), Fun4AllBase::Name(), PHG4FPbScDetector::set_Place(), steppingAction_, PHG4Detector::topNode(), PHG4Detector::Verbosity(), Fun4AllBase::Verbosity(), x_position, y_position, and z_position.
|
virtual |
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 68 of file PHG4FPbScSubsystem.cc.
View newest version in sPHENIX GitHub at line 68 of file PHG4FPbScSubsystem.cc
References detector_, PHG4FPbScDetector::GetSteppingAction(), PHG4SteppingAction::SetInterfacePointers(), and steppingAction_.
|
inline |
Definition at line 48 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4FPbScSubsystem.h
References x, x_position, y, y_position, z, and z_position.
|
private |
detector geometry
defives from PHG4Detector
Definition at line 58 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4FPbScSubsystem.h
Referenced by GetDetector(), Init(), and process_event().
|
private |
Definition at line 63 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4FPbScSubsystem.h
Referenced by GetEventAction(), and Init().
|
private |
particle tracking "stepping" action
derives from PHG4SteppingActions
Definition at line 62 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4FPbScSubsystem.h
Referenced by GetSteppingAction(), Init(), and process_event().
|
private |
Definition at line 65 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4FPbScSubsystem.h
Referenced by Init(), and set_Place().
|
private |
Definition at line 66 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4FPbScSubsystem.h
Referenced by Init(), and set_Place().
|
private |
Definition at line 67 of file PHG4FPbScSubsystem.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4FPbScSubsystem.h
Referenced by Init(), and set_Place().