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

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

+ Inheritance diagram for PHG4Particlev3:
+ Collaboration diagram for PHG4Particlev3:

Public Member Functions

 PHG4Particlev3 ()
 
 PHG4Particlev3 (const PHG4Particle *in)
 
 ~PHG4Particlev3 () override
 
void identify (std::ostream &os=std::cout) const override
 
bool isIon () const override
 
void set_A (const int a) override
 
int get_A () const override
 
void set_Z (const int z) override
 
int get_Z () const override
 
void set_NumCharge (const int c) override
 
void set_IonCharge (const double ch) override
 
double get_IonCharge () const override
 
void set_ExcitEnergy (const double e) override
 
double get_ExcitEnergy () const override
 
- Public Member Functions inherited from PHG4Particlev2
 PHG4Particlev2 ()
 
 PHG4Particlev2 (const std::string &name, const int pid, const double px, const double py, const double pz)
 
 PHG4Particlev2 (const PHG4Particle *in)
 
 ~PHG4Particlev2 () 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
 
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 A
 
int Z
 
double ioncharge
 
double excitEnergy
 
- Protected Attributes inherited from PHG4Particlev2
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 12 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 12 of file PHG4Particlev3.h

Constructor & Destructor Documentation

PHG4Particlev3::PHG4Particlev3 ( )

Definition at line 11 of file PHG4Particlev3.cc.

View newest version in sPHENIX GitHub at line 11 of file PHG4Particlev3.cc

PHG4Particlev3::PHG4Particlev3 ( const PHG4Particle in)

Definition at line 20 of file PHG4Particlev3.cc.

View newest version in sPHENIX GitHub at line 20 of file PHG4Particlev3.cc

PHG4Particlev3::~PHG4Particlev3 ( )
inlineoverride

Definition at line 19 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 19 of file PHG4Particlev3.h

Member Function Documentation

int PHG4Particlev3::get_A ( ) const
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 25 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 25 of file PHG4Particlev3.h

References A.

double PHG4Particlev3::get_ExcitEnergy ( ) const
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 32 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 32 of file PHG4Particlev3.h

References excitEnergy.

double PHG4Particlev3::get_IonCharge ( ) const
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 30 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 30 of file PHG4Particlev3.h

References ioncharge.

int PHG4Particlev3::get_Z ( ) const
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 27 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 27 of file PHG4Particlev3.h

References Z.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHG4Particlev2.

Definition at line 34 of file PHG4Particlev3.cc.

View newest version in sPHENIX GitHub at line 34 of file PHG4Particlev3.cc

References A, excitEnergy, PHG4Particlev2::fe, PHG4Particlev1::fname, PHG4Particlev1::fpid, PHG4Particlev1::fpx, PHG4Particlev1::fpy, PHG4Particlev1::fpz, ioncharge, PHG4Particlev2::parentid, PHG4Particlev2::primaryid, PHG4Particlev2::trkid, PHG4Particlev2::vtxid, and Z.

bool PHG4Particlev3::isIon ( ) const
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 23 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 23 of file PHG4Particlev3.h

void PHG4Particlev3::set_A ( const int  a)
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 24 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 24 of file PHG4Particlev3.h

References a, and A.

void PHG4Particlev3::set_ExcitEnergy ( const double  e)
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 31 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4Particlev3.h

References e, and excitEnergy.

void PHG4Particlev3::set_IonCharge ( const double  ch)
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 29 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 29 of file PHG4Particlev3.h

References ioncharge.

void PHG4Particlev3::set_NumCharge ( const int  c)
overridevirtual

Reimplemented from PHG4Particle.

Definition at line 29 of file PHG4Particlev3.cc.

View newest version in sPHENIX GitHub at line 29 of file PHG4Particlev3.cc

References eplus, and ioncharge.

void PHG4Particlev3::set_Z ( const int  z)
inlineoverridevirtual

Reimplemented from PHG4Particle.

Definition at line 26 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 26 of file PHG4Particlev3.h

References Z, and z.

Member Data Documentation

int PHG4Particlev3::A
protected

Definition at line 35 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 35 of file PHG4Particlev3.h

Referenced by get_A(), identify(), mcscore.MCParticle::printout(), and set_A().

double PHG4Particlev3::excitEnergy
protected

Definition at line 38 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 38 of file PHG4Particlev3.h

Referenced by get_ExcitEnergy(), identify(), and set_ExcitEnergy().

double PHG4Particlev3::ioncharge
protected

Definition at line 37 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 37 of file PHG4Particlev3.h

Referenced by get_IonCharge(), identify(), set_IonCharge(), and set_NumCharge().

int PHG4Particlev3::Z
protected

Definition at line 36 of file PHG4Particlev3.h.

View newest version in sPHENIX GitHub at line 36 of file PHG4Particlev3.h

Referenced by get_Z(), identify(), mcscore.MCParticle::printout(), and set_Z().


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