![]() |
ATLAS Offline Software
|
A class to describe a MARS particle read from an input ASCII file. More...
#include <MarsParticle.h>
Public Member Functions | |
| MarsParticle () | |
| 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 (bool beamGas) |
| A function to print the contents of this particle. | |
| long | eventNumber () const |
| A function to return the event number of this particle. | |
| int | particleId () const |
| A function to return the particle identify of this particle. | |
| double | kineticEnergy () const |
| A function to return the relativistic kinetic energy of this particle. | |
| double | weight () const |
| A function to return the weight associated with this particle in the input ASCII file. | |
| HepMC::FourVector | positionAtScoringPlane () const |
| A function to the position of this particle with respect to the scoring plane. | |
| 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. | |
| const MarsShowerPrimary & | showerPrimary () const |
| A function to return the shower primary infomation for this particle. | |
| MarsBeamGasInteraction | beamGasInteraction () const |
| A function to return the beam gas interaction information for this particle. | |
| int | pdgId () |
| A function to return the PDG id for this particle. | |
Private Attributes | |
| long | m_eventNumber |
| int | m_particleId |
| double | m_kineticEnergy |
| double | m_weight |
| HepMC::FourVector | m_positionAtScoringPlane |
| HepMC::FourVector | m_directionalCosines |
| double | m_timeOfFlight |
| double | m_primaryProtonZ |
| MarsShowerPrimary | m_showerPrimary |
| MarsBeamGasInteraction | m_beamGasInteraction |
A class to describe a MARS particle read from an input ASCII file.
Definition at line 55 of file MarsParticle.h.
| MarsParticle::MarsParticle | ( | ) |
Definition at line 23 of file MarsParticle.cxx.
|
inline |
A function to return the beam gas interaction information for this particle.
Definition at line 103 of file MarsParticle.h.
|
inline |
A function to return the directional cosines of this particle.
Definition at line 88 of file MarsParticle.h.
|
inline |
A function to return the event number of this particle.
Definition at line 69 of file MarsParticle.h.
|
inline |
A function to return the relativistic kinetic energy of this particle.
Definition at line 76 of file MarsParticle.h.
|
inline |
A function to return the particle identify of this particle.
Definition at line 72 of file MarsParticle.h.
| int MarsParticle::pdgId | ( | ) |
A function to return the PDG id for this particle.
Definition at line 115 of file MarsParticle.cxx.
|
inline |
A function to the position of this particle with respect to the scoring plane.
Definition at line 84 of file MarsParticle.h.
|
inline |
A function to return the primary proton Z position for this particle.
Definition at line 95 of file MarsParticle.h.
| void MarsParticle::print | ( | bool | beamGas | ) |
A function to print the contents of this particle.
If the beamGas value is true then the beam gas information is printed.
Definition at line 80 of file MarsParticle.cxx.
| int MarsParticle::read | ( | std::vector< std::string > * | eventAsStringVector | ) |
A function to read the values from a single row definition and fill the data members.
Definition at line 37 of file MarsParticle.cxx.
|
inline |
A function to return the shower primary infomation for this particle.
Definition at line 99 of file MarsParticle.h.
|
inline |
A function to return the time of flight for this particle.
Definition at line 91 of file MarsParticle.h.
|
inline |
A function to return the weight associated with this particle in the input ASCII file.
Definition at line 80 of file MarsParticle.h.
|
private |
Definition at line 118 of file MarsParticle.h.
|
private |
Definition at line 114 of file MarsParticle.h.
|
private |
Definition at line 109 of file MarsParticle.h.
|
private |
Definition at line 111 of file MarsParticle.h.
|
private |
Definition at line 110 of file MarsParticle.h.
|
private |
Definition at line 113 of file MarsParticle.h.
|
private |
Definition at line 116 of file MarsParticle.h.
|
private |
Definition at line 117 of file MarsParticle.h.
|
private |
Definition at line 115 of file MarsParticle.h.
|
private |
Definition at line 112 of file MarsParticle.h.