Analysis Software
Documentation for sPHENIX simulation software
|
PHG4HitEval for evaluating PHG4Hitv1 in CINT readable evaluation trees. More...
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4HitEval.h>
Public Member Functions | |
PHG4HitEval () | |
PHG4HitEval (const PHG4Hit *g4hit) | |
~PHG4HitEval () override | |
void | CopyFrom (const PHObject *phobj) override |
float | get_eion () const override |
void | set_eion (const float f) override |
int | get_scint_id () const override |
void | set_scint_id (const int i) override |
float | get_light_yield () const override |
void | set_light_yield (float lightYield) override |
float | get_path_length () const override |
void | set_path_length (float pathLength) override |
Public Member Functions inherited from PHG4Hitv1 | |
PHG4Hitv1 ()=default | |
PHG4Hitv1 (const PHG4Hit *g4hit) | |
~PHG4Hitv1 () override=default | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Event. | |
float | get_x (const int i) const override |
float | get_y (const int i) const override |
float | get_z (const int i) const override |
float | get_t (const int i) const override |
float | get_edep () const override |
PHG4HitDefs::keytype | get_hit_id () const override |
int | get_detid () const override |
int | get_shower_id () const override |
int | get_trkid () const override |
void | set_x (const int i, const float f) override |
void | set_y (const int i, const float f) override |
void | set_z (const int i, const float f) override |
void | set_t (const int i, const float f) override |
void | set_edep (const float f) override |
void | set_hit_id (const PHG4HitDefs::keytype i) override |
void | set_shower_id (const int i) override |
void | set_trkid (const int i) override |
void | print () const override |
bool | has_property (const PROPERTY prop_id) const override |
float | get_property_float (const PROPERTY prop_id) const override |
int | get_property_int (const PROPERTY prop_id) const override |
unsigned int | get_property_uint (const PROPERTY prop_id) const override |
void | set_property (const PROPERTY prop_id, const float value) override |
void | set_property (const PROPERTY prop_id, const int value) override |
void | set_property (const PROPERTY prop_id, const unsigned int value) override |
float | get_px (const int i) const override |
float | get_py (const int i) const override |
float | get_pz (const int i) const override |
float | get_local_x (const int i) const override |
float | get_local_y (const int i) const override |
float | get_local_z (const int i) const override |
float | get_eion () const override |
float | get_light_yield () const override |
float | get_raw_light_yield () const override |
float | get_path_length () const override |
unsigned int | get_layer () const override |
int | get_scint_id () const override |
int | get_row () const override |
int | get_sector () const override |
int | get_strip_z_index () const override |
int | get_strip_y_index () const override |
int | get_ladder_z_index () const override |
int | get_ladder_phi_index () const override |
int | get_index_i () const override |
int | get_index_j () const override |
int | get_index_k () const override |
int | get_index_l () const override |
int | get_hit_type () const override |
void | set_px (const int i, const float f) override |
void | set_py (const int i, const float f) override |
void | set_pz (const int i, const float f) override |
void | set_local_x (const int i, const float f) override |
void | set_local_y (const int i, const float f) override |
void | set_local_z (const int i, const float f) override |
void | set_eion (const float f) override |
void | set_light_yield (const float f) override |
void | set_raw_light_yield (const float f) override |
void | set_path_length (const float f) override |
void | set_layer (const unsigned int i) override |
void | set_scint_id (const int i) override |
void | set_row (const int i) override |
void | set_sector (const int i) override |
void | set_strip_z_index (const int i) override |
void | set_strip_y_index (const int i) override |
void | set_ladder_z_index (const int i) override |
void | set_ladder_phi_index (const int i) override |
void | set_index_i (const int i) override |
void | set_index_j (const int i) override |
void | set_index_k (const int i) override |
void | set_index_l (const int i) override |
void | set_hit_type (const int i) override |
Public Member Functions inherited from PHG4Hit | |
PHG4Hit () | |
~PHG4Hit () override | |
virtual float | get_avg_x () const |
virtual float | get_avg_y () const |
virtual float | get_avg_z () const |
virtual float | get_avg_t () const |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
Protected Attributes | |
float | eion |
int | scint_id |
float | light_yield |
a number proportional to the scintillation light yield. | |
float | path_length |
path length of the track to the hit | |
Protected Attributes inherited from PHG4Hitv1 | |
float | x [2] = {NAN, NAN} |
float | y [2] = {NAN, NAN} |
float | z [2] = {NAN, NAN} |
float | t [2] = {NAN, NAN} |
PHG4HitDefs::keytype | hitid = ULONG_LONG_MAX |
int | trackid = INT_MIN |
int | showerid = INT_MIN |
float | edep = NAN |
prop_map_t | prop_map |
container for additional property | |
PHG4HitEval for evaluating PHG4Hitv1 in CINT readable evaluation trees.
Definition at line 24 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4HitEval.h
PHG4HitEval::PHG4HitEval | ( | ) |
Definition at line 20 of file PHG4HitEval.cc.
View newest version in sPHENIX GitHub at line 20 of file PHG4HitEval.cc
PHG4HitEval::PHG4HitEval | ( | const PHG4Hit * | g4hit | ) |
Definition at line 30 of file PHG4HitEval.cc.
View newest version in sPHENIX GitHub at line 30 of file PHG4HitEval.cc
References CopyFrom().
|
inlineoverride |
Definition at line 31 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4HitEval.h
|
overridevirtual |
Reimplemented from PHG4Hit.
Definition at line 39 of file PHG4HitEval.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4HitEval.cc
References assert, PHG4Hit::CopyFrom(), eion, PHG4Hit::get_eion(), PHG4Hit::get_light_yield(), PHG4Hit::get_path_length(), PHG4Hit::get_scint_id(), light_yield, path_length, and scint_id.
Referenced by PHG4HitEval().
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 36 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4HitEval.h
References eion.
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 58 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4HitEval.h
References light_yield.
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 70 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4HitEval.h
References path_length.
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 46 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4HitEval.h
References scint_id.
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 41 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4HitEval.h
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 64 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4HitEval.h
References light_yield.
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 76 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4HitEval.h
References path_length, and ActsTests::PropagationDatasets::pathLength.
|
inlineoverridevirtual |
Reimplemented from PHG4Hit.
Definition at line 52 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4HitEval.h
|
protected |
Definition at line 82 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4HitEval.h
Referenced by CopyFrom(), get_eion(), and set_eion().
|
protected |
a number proportional to the scintillation light yield.
Definition at line 87 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4HitEval.h
Referenced by CopyFrom(), get_light_yield(), and set_light_yield().
|
protected |
path length of the track to the hit
Definition at line 90 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4HitEval.h
Referenced by CopyFrom(), get_path_length(), and set_path_length().
|
protected |
Definition at line 84 of file PHG4HitEval.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4HitEval.h
Referenced by CopyFrom(), get_scint_id(), and set_scint_id().