ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4EnvelopeSubsystem.h>
Public Member Functions | |
PHG4EnvelopeSubsystem (const std::string &name="ENVELOPE_DEFAULT", const int layer=0) | |
~PHG4EnvelopeSubsystem (void) override | |
int | Init (PHCompositeNode *) override |
int | process_event (PHCompositeNode *) override |
PHG4Detector * | GetDetector (void) const override |
return pointer to created detector object | |
PHG4SteppingAction * | GetSteppingAction (void) const override |
return pointer to this subsystem stepping action | |
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 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 | |
PHG4EnvelopeDetector * | detector_ |
PHG4EnvelopeSteppingAction * | steppingAction_ |
G4String | material |
int | active |
std::string | detector_type |
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 18 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4EnvelopeSubsystem.h
PHG4EnvelopeSubsystem::PHG4EnvelopeSubsystem | ( | const std::string & | name = "ENVELOPE_DEFAULT" , |
const int | layer = 0 |
||
) |
Definition at line 20 of file PHG4EnvelopeSubsystem.cc.
View newest version in sPHENIX GitHub at line 20 of file PHG4EnvelopeSubsystem.cc
|
inlineoverride |
Definition at line 25 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4EnvelopeSubsystem.h
|
overridevirtual |
return pointer to created detector object
Reimplemented from PHG4Subsystem.
Definition at line 74 of file PHG4EnvelopeSubsystem.cc.
View newest version in sPHENIX GitHub at line 74 of file PHG4EnvelopeSubsystem.cc
References detector_.
|
overridevirtual |
return pointer to this subsystem stepping action
Reimplemented from PHG4Subsystem.
Definition at line 80 of file PHG4EnvelopeSubsystem.cc.
View newest version in sPHENIX GitHub at line 80 of file PHG4EnvelopeSubsystem.cc
References steppingAction_.
|
overridevirtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 31 of file PHG4EnvelopeSubsystem.cc.
View newest version in sPHENIX GitHub at line 31 of file PHG4EnvelopeSubsystem.cc
References active, PHCompositeNode::addNode(), PHG4Subsystem::CheckOverlap(), detector_, detector_type, PHNodeIterator::findFirst(), Fun4AllBase::Name(), PHG4Detector::OverlapCheck(), PHG4EnvelopeDetector::SetActive(), and steppingAction_.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 62 of file PHG4EnvelopeSubsystem.cc.
View newest version in sPHENIX GitHub at line 62 of file PHG4EnvelopeSubsystem.cc
References PHG4EnvelopeSteppingAction::SetInterfacePointers(), and steppingAction_.
|
private |
Definition at line 51 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4EnvelopeSubsystem.h
Referenced by Init().
|
private |
Definition at line 45 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4EnvelopeSubsystem.h
Referenced by GetDetector(), and Init().
|
private |
Definition at line 53 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4EnvelopeSubsystem.h
Referenced by Init().
|
private |
Definition at line 50 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4EnvelopeSubsystem.h
Referenced by emcalc_gui.MainWindow::cb_select_material(), and emcalc_gui.MainWindow::cb_show_plot().
|
private |
Definition at line 48 of file PHG4EnvelopeSubsystem.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4EnvelopeSubsystem.h
Referenced by GetSteppingAction(), Init(), and process_event().