ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Particlev1.h>
Public Member Functions | |
PHG4Particlev1 () | |
PHG4Particlev1 (const std::string &name, const int pid, const double px, const double py, const double pz) | |
PHG4Particlev1 (const PHG4Particle *in) | |
~PHG4Particlev1 () override | |
void | identify (std::ostream &os=std::cout) const 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 double | get_e () const |
virtual int | get_track_id () const |
virtual int | get_vtx_id () const |
virtual int | get_parent_id () const |
virtual int | get_primary_id () const |
virtual int | get_A () const |
virtual int | get_Z () const |
virtual double | get_IonCharge () const |
virtual double | get_ExcitEnergy () const |
virtual void | set_track_id (const int) |
virtual void | set_vtx_id (const int) |
virtual void | set_parent_id (const int) |
virtual void | set_primary_id (const int) |
virtual void | set_e (const double) |
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 | |
std::string | fname |
int | fpid |
double | fpx |
double | fpy |
double | fpz |
int | barcode |
Definition at line 11 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 11 of file PHG4Particlev1.h
PHG4Particlev1::PHG4Particlev1 | ( | ) |
Definition at line 5 of file PHG4Particlev1.cc.
View newest version in sPHENIX GitHub at line 5 of file PHG4Particlev1.cc
PHG4Particlev1::PHG4Particlev1 | ( | const std::string & | name, |
const int | pid, | ||
const double | px, | ||
const double | py, | ||
const double | pz | ||
) |
Definition at line 15 of file PHG4Particlev1.cc.
View newest version in sPHENIX GitHub at line 15 of file PHG4Particlev1.cc
PHG4Particlev1::PHG4Particlev1 | ( | const PHG4Particle * | in | ) |
Definition at line 25 of file PHG4Particlev1.cc.
View newest version in sPHENIX GitHub at line 25 of file PHG4Particlev1.cc
|
inlineoverride |
Definition at line 18 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4Particlev1.h
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 28 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4Particlev1.h
References barcode.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 23 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4Particlev1.h
References fname.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 22 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4Particlev1.h
References fpid.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 24 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4Particlev1.h
References fpx.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 25 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4Particlev1.h
References fpy.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 26 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4Particlev1.h
References fpz.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHG4Particle.
Reimplemented in PHG4Particlev2, and PHG4Particlev3.
Definition at line 35 of file PHG4Particlev1.cc.
View newest version in sPHENIX GitHub at line 35 of file PHG4Particlev1.cc
Reimplemented from PHG4Particle.
Definition at line 36 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4Particlev1.h
References barcode.
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 30 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4Particlev1.h
References fname.
Referenced by PHG4DSTReader::add_particle().
Reimplemented from PHG4Particle.
Definition at line 31 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4Particlev1.h
References fpid.
Referenced by PHG4DSTReader::add_particle().
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 32 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4Particlev1.h
Referenced by PHG4DSTReader::add_particle().
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 33 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4Particlev1.h
Referenced by PHG4DSTReader::add_particle().
|
inlineoverridevirtual |
Reimplemented from PHG4Particle.
Definition at line 34 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4Particlev1.h
Referenced by PHG4DSTReader::add_particle().
|
protected |
Definition at line 43 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4Particlev1.h
Referenced by get_barcode(), identify(), and set_barcode().
|
protected |
Definition at line 40 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4Particlev1.h
Referenced by get_name(), identify(), PHG4Particlev3::identify(), PHG4Particlev2::identify(), and set_name().
|
protected |
Definition at line 41 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4Particlev1.h
Referenced by get_pid(), identify(), PHG4Particlev3::identify(), PHG4Particlev2::identify(), and set_pid().
|
protected |
Definition at line 42 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4Particlev1.h
Referenced by get_px(), identify(), PHG4Particlev3::identify(), PHG4Particlev2::identify(), and set_px().
|
protected |
Definition at line 42 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4Particlev1.h
Referenced by get_py(), identify(), PHG4Particlev3::identify(), PHG4Particlev2::identify(), and set_py().
|
protected |
Definition at line 42 of file PHG4Particlev1.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4Particlev1.h
Referenced by get_pz(), identify(), PHG4Particlev3::identify(), PHG4Particlev2::identify(), and set_pz().