ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Particlev2.h>
Public Member Functions | |
PHG4Particlev2 () | |
PHG4Particlev2 (const std::string &name, const int pid, const double px, const double py, const double pz) | |
PHG4Particlev2 (const PHG4Particle *in) | |
~PHG4Particlev2 () override | |
void | identify (std::ostream &os=std::cout) const override |
int | get_track_id () const override |
int | get_vtx_id () const override |
int | get_parent_id () const override |
int | get_primary_id () const override |
double | get_e () const override |
void | set_track_id (const int i) override |
void | set_vtx_id (const int i) override |
void | set_parent_id (const int i) override |
void | set_primary_id (const int i) override |
void | set_e (const double e) override |
Public Member Functions inherited from PHG4Particlev1 | |
PHG4Particlev1 () | |
PHG4Particlev1 (const std::string &name, const int pid, const double px, const double py, const double pz) | |
PHG4Particlev1 (const PHG4Particle *in) | |
~PHG4Particlev1 () override | |
int | get_pid () const override |
std::string | get_name () const override |
double | get_px () const override |
double | get_py () const override |
double | get_pz () const override |
int | get_barcode () const override |
void | set_name (const std::string &name) override |
void | set_pid (const int i) override |
void | set_px (const double x) override |
void | set_py (const double x) override |
void | set_pz (const double x) override |
void | set_barcode (const int bcd) override |
Public Member Functions inherited from PHG4Particle | |
PHG4Particle () | |
~PHG4Particle () override | |
virtual bool | isIon () const |
virtual int | get_A () const |
virtual int | get_Z () const |
virtual double | get_IonCharge () const |
virtual double | get_ExcitEnergy () const |
virtual void | set_A (const int) |
virtual void | set_Z (const int) |
virtual void | set_NumCharge (const int) |
virtual void | set_IonCharge (const double) |
virtual void | set_ExcitEnergy (const double) |
bool | operator== (const PHG4Particle &p) 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 void | Reset () |
Clear Event. | |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Attributes | |
int | trkid |
int | vtxid |
int | parentid |
int | primaryid |
double | fe |
Protected Attributes inherited from PHG4Particlev1 | |
std::string | fname |
int | fpid |
double | fpx |
double | fpy |
double | fpz |
int | barcode |
Definition at line 13 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 13 of file PHG4Particlev2.h
PHG4Particlev2::PHG4Particlev2 | ( | ) |
Definition at line 7 of file PHG4Particlev2.cc.
View newest version in sPHENIX GitHub at line 7 of file PHG4Particlev2.cc
PHG4Particlev2::PHG4Particlev2 | ( | const std::string & | name, |
const int | pid, | ||
const double | px, | ||
const double | py, | ||
const double | pz | ||
) |
Definition at line 17 of file PHG4Particlev2.cc.
View newest version in sPHENIX GitHub at line 17 of file PHG4Particlev2.cc
PHG4Particlev2::PHG4Particlev2 | ( | const PHG4Particle * | in | ) |
Definition at line 27 of file PHG4Particlev2.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4Particlev2.cc
|
inlineoverride |
Definition at line 20 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4Particlev2.h
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 28 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4Particlev2.h
References fe.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 26 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4Particlev2.h
References parentid.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 27 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4Particlev2.h
References primaryid.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 24 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4Particlev2.h
References trkid.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 25 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4Particlev2.h
References vtxid.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHG4Particlev1.
Reimplemented in PHG4Particlev3.
Definition at line 37 of file PHG4Particlev2.cc.
View newest version in sPHENIX GitHub at line 37 of file PHG4Particlev2.cc
References fe, PHG4Particlev1::fname, PHG4Particlev1::fpid, PHG4Particlev1::fpx, PHG4Particlev1::fpy, PHG4Particlev1::fpz, parentid, primaryid, trkid, and vtxid.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 34 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4Particlev2.h
Referenced by PHG4DSTReader::add_particle().
Reimplemented from PHG4Particle.
Definition at line 32 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4Particlev2.h
References parentid.
Referenced by PHG4DSTReader::add_particle().
Reimplemented from PHG4Particle.
Definition at line 33 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4Particlev2.h
References primaryid.
Referenced by PHG4DSTReader::add_particle().
Reimplemented from PHG4Particle.
Definition at line 30 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4Particlev2.h
References trkid.
Referenced by PHG4DSTReader::add_particle().
Reimplemented from PHG4Particle.
Definition at line 31 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4Particlev2.h
References vtxid.
Referenced by PHG4DSTReader::add_particle().
|
protected |
Definition at line 41 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4Particlev2.h
Referenced by get_e(), PHG4Particlev3::identify(), identify(), and set_e().
|
protected |
Definition at line 39 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4Particlev2.h
Referenced by get_parent_id(), PHG4Particlev3::identify(), identify(), and set_parent_id().
|
protected |
Definition at line 40 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4Particlev2.h
Referenced by get_primary_id(), PHG4Particlev3::identify(), identify(), and set_primary_id().
|
protected |
Definition at line 37 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4Particlev2.h
Referenced by get_track_id(), PHG4Particlev3::identify(), identify(), and set_track_id().
|
protected |
Definition at line 38 of file PHG4Particlev2.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4Particlev2.h
Referenced by get_vtx_id(), PHG4Particlev3::identify(), identify(), and set_vtx_id().