int read(std::vector< std::string > *eventAsStringVector)
A function to read the values from a single row definition and fill the data members.
void print(void)
A function to print the contents of this particle.
HepMC::FourVector m_positionAtPrimary
int flukaId(void) const
A function to return the FLUKA particle Id of this particle.
int pdgId()
A function to return the PDG id of this particle.
HepMC::FourVector positionAtPrimary(void) const
A function to return the position of the primary interaction.
FlukaParticle(const FlukaParticle &flukaParticle)=default
FlukaParticle & operator=(const FlukaParticle &flukaParticle)=default
void clear(void)
A function to clear the values of this particle.
long eventId(void) const
A function to return the FLUKA event Id of this particle.
HepMC::FourVector directionalCosines(void) const
A function to return the directional cosines of this particle.
HepMC::FourVector m_directionalCosines
double totalEnergy(void) const
A function to return the total energy.
double weight(void) const
A function to return the particle or event weight.
HepMC::FourVector positionAtScoringPlane(void) const
A function to return the fourvector position with respect to the scoring plane of this particle.
A class to describe a FLUKA particle read from an input ASCII file.
int type(void) const
A function to return the type of this FlukaParticle.
double kineticEnergy(void) const
A function to return the relativistic kinetic energy of this particle.
HepMC::FourVector m_positionAtScoringPlane
FlukaParticle(int type=0)
int partGenNum(void) const
A function to return the particle generation number of this particle.