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

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

+ Inheritance diagram for PHG4Particlev1:
+ Collaboration diagram for PHG4Particlev1:

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 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

std::string fname
 
int fpid
 
double fpx
 
double fpy
 
double fpz
 
int barcode
 

Detailed Description

Definition at line 11 of file PHG4Particlev1.h.

View newest version in sPHENIX GitHub at line 11 of file PHG4Particlev1.h

Constructor & Destructor Documentation

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

PHG4Particlev1::~PHG4Particlev1 ( )
inlineoverride

Definition at line 18 of file PHG4Particlev1.h.

View newest version in sPHENIX GitHub at line 18 of file PHG4Particlev1.h

Member Function Documentation

int PHG4Particlev1::get_barcode ( ) const
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.

std::string PHG4Particlev1::get_name ( void  ) const
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.

int PHG4Particlev1::get_pid ( ) const
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.

double PHG4Particlev1::get_px ( ) const
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.

double PHG4Particlev1::get_py ( ) const
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.

double PHG4Particlev1::get_pz ( ) const
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.

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

identify Function from PHObject

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

References barcode, fname, fpid, fpx, fpy, and fpz.

void PHG4Particlev1::set_barcode ( const int  bcd)
inlineoverridevirtual

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.

void PHG4Particlev1::set_name ( const std::string &  name)
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().

+ Here is the caller graph for this function:

void PHG4Particlev1::set_pid ( const int  i)
inlineoverridevirtual

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

+ Here is the caller graph for this function:

void PHG4Particlev1::set_px ( const double  x)
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

References fpx, and x.

Referenced by PHG4DSTReader::add_particle().

+ Here is the caller graph for this function:

void PHG4Particlev1::set_py ( const double  x)
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

References fpy, and x.

Referenced by PHG4DSTReader::add_particle().

+ Here is the caller graph for this function:

void PHG4Particlev1::set_pz ( const double  x)
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

References fpz, and x.

Referenced by PHG4DSTReader::add_particle().

+ Here is the caller graph for this function:

Member Data Documentation

int PHG4Particlev1::barcode
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().

std::string PHG4Particlev1::fname
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().

int PHG4Particlev1::fpid
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().

double PHG4Particlev1::fpx
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().

double PHG4Particlev1::fpy
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().

double PHG4Particlev1::fpz
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().


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