![]() |
ATLAS Offline Software
|
A class to describe a FLUKA particle read from an input ASCII file. More...
#include <FlukaParticle.h>
Public Types | |
| enum | flukaParticleType { BRUCE, TALANOV } |
Public Member Functions | |
| FlukaParticle (int type=0) | |
| FlukaParticle (const FlukaParticle &flukaParticle)=default | |
| FlukaParticle & | operator= (const FlukaParticle &flukaParticle)=default |
| int | read (std::vector< std::string > *eventAsStringVector) |
| A function to read the values from a single row definition and fill the data members. More... | |
| void | print (void) |
| A function to print the contents of this particle. More... | |
| void | clear (void) |
| A function to clear the values of this particle. More... | |
| int | type (void) const |
| A function to return the type of this FlukaParticle. More... | |
| long | eventId (void) const |
| A function to return the FLUKA event Id of this particle. More... | |
| int | flukaId (void) const |
| A function to return the FLUKA particle Id of this particle. More... | |
| int | partGenNum (void) const |
| A function to return the particle generation number of this particle. More... | |
| double | kineticEnergy (void) const |
| A function to return the relativistic kinetic energy of this particle. More... | |
| HepMC::FourVector | positionAtScoringPlane (void) const |
| A function to return the fourvector position with respect to the scoring plane of this particle. More... | |
| HepMC::FourVector | directionalCosines (void) const |
| A function to return the directional cosines of this particle. More... | |
| double | weight (void) const |
| A function to return the particle or event weight. More... | |
| double | totalEnergy (void) const |
| A function to return the total energy. More... | |
| HepMC::FourVector | positionAtPrimary (void) const |
| A function to return the position of the primary interaction. More... | |
| int | pdgId () |
| A function to return the PDG id of this particle. More... | |
Private Attributes | |
| int | m_type |
| long | m_eventId |
| int | m_flukaId |
| int | m_partGenNum |
| double | m_kineticEnergy |
| HepMC::FourVector | m_positionAtScoringPlane |
| HepMC::FourVector | m_directionalCosines |
| double | m_weight |
| double | m_totalEnergy |
| HepMC::FourVector | m_positionAtPrimary |
A class to describe a FLUKA particle read from an input ASCII file.
Definition at line 19 of file FlukaParticle.h.
| FlukaParticle::FlukaParticle | ( | int | type = 0 | ) |
Definition at line 11 of file FlukaParticle.cxx.
|
default |
| void FlukaParticle::clear | ( | void | ) |
|
inline |
A function to return the directional cosines of this particle.
The fourth component is 0
Definition at line 58 of file FlukaParticle.h.
|
inline |
A function to return the FLUKA event Id of this particle.
Definition at line 39 of file FlukaParticle.h.
|
inline |
A function to return the FLUKA particle Id of this particle.
Definition at line 42 of file FlukaParticle.h.
|
inline |
A function to return the relativistic kinetic energy of this particle.
Definition at line 50 of file FlukaParticle.h.
|
default |
|
inline |
A function to return the particle generation number of this particle.
Definition at line 46 of file FlukaParticle.h.
| int FlukaParticle::pdgId | ( | ) |
|
inline |
A function to return the position of the primary interaction.
Definition at line 67 of file FlukaParticle.h.
|
inline |
A function to return the fourvector position with respect to the scoring plane of this particle.
Definition at line 54 of file FlukaParticle.h.
| void FlukaParticle::print | ( | void | ) |
A function to print the contents of this particle.
Definition at line 206 of file FlukaParticle.cxx.
| int FlukaParticle::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 47 of file FlukaParticle.cxx.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 84 of file FlukaParticle.h.
|
private |
Definition at line 79 of file FlukaParticle.h.
|
private |
Definition at line 80 of file FlukaParticle.h.
|
private |
Definition at line 82 of file FlukaParticle.h.
|
private |
Definition at line 81 of file FlukaParticle.h.
|
private |
Definition at line 87 of file FlukaParticle.h.
|
private |
Definition at line 83 of file FlukaParticle.h.
|
private |
Definition at line 86 of file FlukaParticle.h.
|
private |
Definition at line 77 of file FlukaParticle.h.
|
private |
Definition at line 85 of file FlukaParticle.h.
1.8.18