ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4GenHit.h>
Public Member Functions | |
PHG4GenHit (const std::string &name="PHG4GenHit") | |
~PHG4GenHit () override | |
int | process_event (PHCompositeNode *topNode) override |
void | set_phi (const double d) |
void | set_theta (const double d) |
void | set_eloss (const double d) |
void | set_layer (const int i) |
void | Detector (const std::string &n) |
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 | 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. | |
Protected Attributes | |
double | phi |
double | theta |
double | eloss |
int | layer |
std::string | detector |
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 PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 12 of file PHG4GenHit.h
PHG4GenHit::PHG4GenHit | ( | const std::string & | name = "PHG4GenHit" | ) |
Definition at line 21 of file PHG4GenHit.cc.
View newest version in sPHENIX GitHub at line 21 of file PHG4GenHit.cc
|
inlineoverride |
Definition at line 16 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4GenHit.h
|
inline |
Definition at line 24 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4GenHit.h
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 30 of file PHG4GenHit.cc.
View newest version in sPHENIX GitHub at line 30 of file PHG4GenHit.cc
References PHG4HitContainer::AddHit(), detector, eloss, Fun4AllReturnCodes::EVENT_OK, PHG4CylinderGeom::get_radius(), PHG4CylinderGeom::get_thickness(), PHG4CylinderGeomContainer::GetLayerGeom(), G4CEMCALBEDO::inner_radius, layer, M_PI, G4DRCALO::outer_radius, phi, PHG4Hit::set_edep(), PHG4Hit::set_layer(), PHG4Hit::set_trkid(), PHG4Hit::set_x(), PHG4Hit::set_y(), PHG4Hit::set_z(), theta, Fun4AllBase::Verbosity(), x1, y1, G4InuclParticleNames::z0, and z1.
|
inline |
Definition at line 22 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4GenHit.h
Definition at line 23 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4GenHit.h
References layer.
|
inline |
Definition at line 20 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4GenHit.h
|
inline |
Definition at line 21 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4GenHit.h
|
protected |
Definition at line 31 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4GenHit.h
Referenced by Detector(), and process_event().
|
protected |
Definition at line 29 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4GenHit.h
Referenced by process_event(), and set_eloss().
|
protected |
Definition at line 30 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4GenHit.h
Referenced by process_event(), and set_layer().
|
protected |
Definition at line 27 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4GenHit.h
Referenced by process_event(), and set_phi().
|
protected |
Definition at line 28 of file PHG4GenHit.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4GenHit.h
Referenced by process_event(), and set_theta().