long eventNumber() const
A function to return the event number of this particle.
MarsBeamGasInteraction beamGasInteraction() const
A function to return the beam gas interaction information for this particle.
A class to describe a MARS particle read from an input ASCII file.
HepMC::FourVector positionAtScoringPlane() const
A function to the position of this particle with respect to the scoring plane.
void print(bool beamGas)
A function to print the contents of this particle.
double weight() const
A function to return the weight associated with this particle in the input ASCII file.
HepMC::FourVector m_directionalCosines
int pdgId()
A function to return the PDG id for this particle.
double kineticEnergy() const
A function to return the relativistic kinetic energy of this particle.
int read(std::vector< std::string > *eventAsStringVector)
A function to read the values from a single row definition and fill the data members.
int particleId() const
A function to return the particle identify of this particle.
HepMC::FourVector directionalCosines() const
A function to return the directional cosines of this particle.
double timeOfFlight() const
A function to return the time of flight for this particle.
double primaryProtonZ() const
A function to return the primary proton Z position for this particle.
MarsBeamGasInteraction m_beamGasInteraction
HepMC::FourVector m_positionAtScoringPlane
MarsShowerPrimary m_showerPrimary
MarsShowerPrimary showerPrimary() const
A function to return the shower primary infomation for this particle.