![]() |
ATLAS Offline Software
|
A class to describe a generic beam halo particle. More...
#include <BeamHaloParticle.h>
Public Member Functions | |
| BeamHaloParticle () | |
| BeamHaloParticle (long pdgId, HepMC::FourVector fourVector, HepMC::FourVector positionAtScoringPlane, double weight) | |
| BeamHaloParticle (long pdgId, HepMC::FourVector fourVector, HepMC::FourVector positionAtScoringPlane, double weight, HepMC::FourVector positionAtPrimary) | |
| BeamHaloParticle (const BeamHaloParticle &beamHaloParticle)=default | |
| BeamHaloParticle & | operator= (const BeamHaloParticle &rhs)=default |
| Assignment operator. More... | |
| int | fill (const HepPDT::ParticleDataTable *particleDataTable, MarsParticle *marsParticle) |
| A function to fill the data members from an input MarsParticle object. More... | |
| int | fill (const HepPDT::ParticleDataTable *particleDataTable, FlukaParticle *flukaParticle) |
| A function to fill the data members from an input FlukaParticle object. More... | |
| void | print () |
| A function to print the contents of this particle. More... | |
| long | pdgId () const |
| A function to return the PDG id of this particle. More... | |
| HepMC::FourVector | fourVector () const |
| A function to return the momentum fourvector of this particle. More... | |
| HepMC::FourVector | positionAtScoringPlane () const |
| A function to return the position fourvector of this particle with respect to the scoring plane. More... | |
| double | weight () const |
| A function to return the weight of this particle within the input beam background simulation file. More... | |
| HepMC::FourVector | positionAtPrimary () const |
| A function to return the position fourvector of this particle with respect to the primary interaction. More... | |
Private Attributes | |
| long | m_pdgId |
| The PDG Id of the particle. More... | |
| HepMC::FourVector | m_fourVector |
| A four vector describing this particle at the scoring plane. More... | |
| HepMC::FourVector | m_positionAtScoringPlane |
| Position of the particle at the scoring plane (x,y,z,t). More... | |
| double | m_weight |
| The resultant particle weight after normalisation and rescaling. More... | |
| HepMC::FourVector | m_positionAtPrimary |
| Position of the particle at the primary interaction point (x,y,z,y). More... | |
A class to describe a generic beam halo particle.
Definition at line 22 of file BeamHaloParticle.h.
| BeamHaloParticle::BeamHaloParticle | ( | ) |
Definition at line 14 of file BeamHaloParticle.cxx.
| BeamHaloParticle::BeamHaloParticle | ( | long | pdgId, |
| HepMC::FourVector | fourVector, | ||
| HepMC::FourVector | positionAtScoringPlane, | ||
| double | weight | ||
| ) |
Definition at line 23 of file BeamHaloParticle.cxx.
| BeamHaloParticle::BeamHaloParticle | ( | long | pdgId, |
| HepMC::FourVector | fourVector, | ||
| HepMC::FourVector | positionAtScoringPlane, | ||
| double | weight, | ||
| HepMC::FourVector | positionAtPrimary | ||
| ) |
Definition at line 34 of file BeamHaloParticle.cxx.
|
default |
| int BeamHaloParticle::fill | ( | const HepPDT::ParticleDataTable * | particleDataTable, |
| FlukaParticle * | flukaParticle | ||
| ) |
A function to fill the data members from an input FlukaParticle object.
Definition at line 113 of file BeamHaloParticle.cxx.
| int BeamHaloParticle::fill | ( | const HepPDT::ParticleDataTable * | particleDataTable, |
| MarsParticle * | marsParticle | ||
| ) |
A function to fill the data members from an input MarsParticle object.
Definition at line 52 of file BeamHaloParticle.cxx.
|
inline |
A function to return the momentum fourvector of this particle.
Definition at line 62 of file BeamHaloParticle.h.
|
default |
Assignment operator.
|
inline |
|
inline |
A function to return the position fourvector of this particle with respect to the primary interaction.
Definition at line 74 of file BeamHaloParticle.h.
|
inline |
A function to return the position fourvector of this particle with respect to the scoring plane.
Definition at line 66 of file BeamHaloParticle.h.
| void BeamHaloParticle::print | ( | ) |
A function to print the contents of this particle.
Definition at line 195 of file BeamHaloParticle.cxx.
|
inline |
A function to return the weight of this particle within the input beam background simulation file.
Definition at line 70 of file BeamHaloParticle.h.
|
private |
A four vector describing this particle at the scoring plane.
Definition at line 82 of file BeamHaloParticle.h.
|
private |
The PDG Id of the particle.
Definition at line 79 of file BeamHaloParticle.h.
|
private |
Position of the particle at the primary interaction point (x,y,z,y).
Definition at line 91 of file BeamHaloParticle.h.
|
private |
Position of the particle at the scoring plane (x,y,z,t).
Definition at line 85 of file BeamHaloParticle.h.
|
private |
The resultant particle weight after normalisation and rescaling.
Definition at line 88 of file BeamHaloParticle.h.
1.8.18