Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/simulation/g4detectors/PHG4GenHit.h>
Public Member Functions | |
PHG4GenHit (const std::string &name="PHG4GenHit") | |
virtual | ~PHG4GenHit () |
int | process_event (PHCompositeNode *topNode) |
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) |
![]() | |
virtual | ~SubsysReco () |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. More... | |
virtual int | EndRun (const int) |
Called at the end of each run. More... | |
virtual int | Init (PHCompositeNode *) |
virtual int | InitRun (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. More... | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. More... | |
virtual void | Print (const std::string &what="ALL") const |
![]() | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. More... | |
virtual void | Name (const std::string &name) |
Sets the name of this module. More... | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). More... | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). More... | |
virtual int | Verbosity () const |
Gets the verbosity of this module. More... | |
Protected Attributes | |
double | phi |
double | theta |
double | eloss |
int | layer |
std::string | detector |
![]() | |
std::string | ThisName |
int | verbosity |
The verbosity level. 0 means not verbose at all. More... | |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
SubsysReco (const std::string &name="NONAME") | |
![]() | |
Fun4AllBase (const std::string &name="NONAME") | |
Definition at line 6 of file PHG4GenHit.h.
PHG4GenHit::PHG4GenHit | ( | const std::string & | name = "PHG4GenHit" | ) |
Definition at line 16 of file PHG4GenHit.cc.
|
inlinevirtual |
Definition at line 10 of file PHG4GenHit.h.
|
inline |
Definition at line 18 of file PHG4GenHit.h.
References detector.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 25 of file PHG4GenHit.cc.
References PHG4HitContainer::AddHit(), detector, eloss, Fun4AllReturnCodes::EVENT_OK, PHG4CylinderGeom::get_radius(), PHG4CylinderGeom::get_thickness(), PHG4CylinderGeomContainer::GetLayerGeom(), layer, phi, PHG4Hit::set_edep(), PHG4Hit::set_layer(), PHG4Hit::set_trkid(), PHG4Hit::set_x(), PHG4Hit::set_y(), PHG4Hit::set_z(), theta, and Fun4AllBase::verbosity.
|
inline |
Definition at line 16 of file PHG4GenHit.h.
References eloss.
|
inline |
Definition at line 17 of file PHG4GenHit.h.
References layer.
|
inline |
Definition at line 14 of file PHG4GenHit.h.
References phi.
|
inline |
Definition at line 15 of file PHG4GenHit.h.
References theta.
|
protected |
Definition at line 25 of file PHG4GenHit.h.
Referenced by Detector(), and process_event().
|
protected |
Definition at line 23 of file PHG4GenHit.h.
Referenced by process_event(), and set_eloss().
|
protected |
Definition at line 24 of file PHG4GenHit.h.
Referenced by process_event(), and set_layer().
|
protected |
Definition at line 21 of file PHG4GenHit.h.
Referenced by process_event(), and set_phi().
|
protected |
Definition at line 22 of file PHG4GenHit.h.
Referenced by process_event(), and set_theta().