ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4Particlev2 Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Particlev2.h>

+ Inheritance diagram for PHG4Particlev2:
+ Collaboration diagram for PHG4Particlev2:

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 PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (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
 

Detailed Description

Definition at line 13 of file PHG4Particlev2.h.

View newest version in sPHENIX GitHub at line 13 of file PHG4Particlev2.h

Constructor & Destructor Documentation

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

PHG4Particlev2::~PHG4Particlev2 ( )
inlineoverride

Definition at line 20 of file PHG4Particlev2.h.

View newest version in sPHENIX GitHub at line 20 of file PHG4Particlev2.h

Member Function Documentation

double PHG4Particlev2::get_e ( ) const
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.

int PHG4Particlev2::get_parent_id ( ) const
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.

int PHG4Particlev2::get_primary_id ( ) const
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.

int PHG4Particlev2::get_track_id ( ) const
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.

int PHG4Particlev2::get_vtx_id ( ) const
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.

void PHG4Particlev2::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput 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.

void PHG4Particlev2::set_e ( const double  e)
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

References e, and fe.

Referenced by PHG4DSTReader::add_particle().

+ Here is the caller graph for this function:

void PHG4Particlev2::set_parent_id ( const int  i)
inlineoverridevirtual

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().

+ Here is the caller graph for this function:

void PHG4Particlev2::set_primary_id ( const int  i)
inlineoverridevirtual

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().

+ Here is the caller graph for this function:

void PHG4Particlev2::set_track_id ( const int  i)
inlineoverridevirtual

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().

+ Here is the caller graph for this function:

void PHG4Particlev2::set_vtx_id ( const int  i)
inlineoverridevirtual

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().

+ Here is the caller graph for this function:

Member Data Documentation

double PHG4Particlev2::fe
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().

int PHG4Particlev2::parentid
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().

int PHG4Particlev2::primaryid
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().

int PHG4Particlev2::trkid
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().

int PHG4Particlev2::vtxid
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().


The documentation for this class was generated from the following files: