HepMC::FourVector m_fourVector
A four vector describing this particle at the scoring plane.
A class to describe a generic beam halo particle.
A class to describe a MARS particle read from an input ASCII file.
HepMC::FourVector m_positionAtScoringPlane
Position of the particle at the scoring plane (x,y,z,t).
BeamHaloParticle & operator=(const BeamHaloParticle &rhs)=default
Assignment operator.
long m_pdgId
The PDG Id of the particle.
HepMC::FourVector positionAtPrimary() const
A function to return the position fourvector of this particle with respect to the primary interaction...
void print()
A function to print the contents of this particle.
int fill(const HepPDT::ParticleDataTable *particleDataTable, MarsParticle *marsParticle)
A function to fill the data members from an input MarsParticle object.
long pdgId() const
A function to return the PDG id of this particle.
HepMC::FourVector m_positionAtPrimary
Position of the particle at the primary interaction point (x,y,z,y).
HepMC::FourVector fourVector() const
A function to return the momentum fourvector of this particle.
BeamHaloParticle(const BeamHaloParticle &beamHaloParticle)=default
A class to describe a FLUKA particle read from an input ASCII file.
double weight() const
A function to return the weight of this particle within the input beam background simulation file.
HepMC::FourVector positionAtScoringPlane() const
A function to return the position fourvector of this particle with respect to the scoring plane.
double m_weight
The resultant particle weight after normalisation and rescaling.