ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4FCalSubsystem.h>
Public Member Functions | |
PHG4FCalSubsystem (const char *name="FCAL") | |
constructor | |
virtual | ~PHG4FCalSubsystem (void) |
destructor | |
int | Init (PHCompositeNode *) |
init | |
int | process_event (PHCompositeNode *) |
event processing | |
virtual PHG4Detector * | GetDetector (void) const |
accessors (reimplemented) | |
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 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 | 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 | |
PHG4FCalDetector * | detector_ |
detector geometry | |
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 12 of file PHG4FCalSubsystem.h.
View newest version in sPHENIX GitHub at line 12 of file PHG4FCalSubsystem.h
PHG4FCalSubsystem::PHG4FCalSubsystem | ( | const char * | name = "FCAL" | ) |
constructor
Definition at line 21 of file PHG4FCalSubsystem.cc.
View newest version in sPHENIX GitHub at line 21 of file PHG4FCalSubsystem.cc
|
inlinevirtual |
destructor
Definition at line 19 of file PHG4FCalSubsystem.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4FCalSubsystem.h
|
virtual |
accessors (reimplemented)
Reimplemented from PHG4Subsystem.
Definition at line 58 of file PHG4FCalSubsystem.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4FCalSubsystem.cc
References detector_.
|
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 28 of file PHG4FCalSubsystem.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4FCalSubsystem.cc
References PHCompositeNode::addNode(), detector_, PHNodeIterator::findFirst(), Fun4AllBase::Name(), PHG4Detector::topNode(), PHG4Detector::Verbosity(), and Fun4AllBase::Verbosity().
|
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 49 of file PHG4FCalSubsystem.cc.
View newest version in sPHENIX GitHub at line 49 of file PHG4FCalSubsystem.cc
References detector_, and PHG4FCalDetector::GetSteppingAction().
|
private |
detector geometry
defives from PHG4Detector
Definition at line 44 of file PHG4FCalSubsystem.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4FCalSubsystem.h
Referenced by GetDetector(), Init(), and process_event().