ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ForwardTracker::ParticleTracker Class Reference
Collaboration diagram for ForwardTracker::ParticleTracker:

Public Member Functions

 ParticleTracker (IParticle &particle)
 
bool operator() (const IBeamElement::ConstPtr_t &be)
 

Private Attributes

IParticlem_particle
 

Detailed Description

Definition at line 52 of file ForwardTracker/src/Beamline.cxx.

Constructor & Destructor Documentation

◆ ParticleTracker()

ForwardTracker::ParticleTracker::ParticleTracker ( IParticle particle)
inline

Definition at line 56 of file ForwardTracker/src/Beamline.cxx.

56 : m_particle(particle) {}

Member Function Documentation

◆ operator()()

bool ForwardTracker::ParticleTracker::operator() ( const IBeamElement::ConstPtr_t be)
inline

Definition at line 58 of file ForwardTracker/src/Beamline.cxx.

58  {
59 
60  be->track(m_particle);
61 
62  if (m_particle.debug()) std::cout << std::setw(12) << be->label() << m_particle << std::endl;
63 
64  return m_particle.isOutOfAperture();
65  }

Member Data Documentation

◆ m_particle

IParticle& ForwardTracker::ParticleTracker::m_particle
private

Definition at line 69 of file ForwardTracker/src/Beamline.cxx.


The documentation for this class was generated from the following file:
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
ForwardTracker::IParticle::debug
virtual bool debug() const =0
ForwardTracker::IParticle::isOutOfAperture
virtual bool isOutOfAperture() const =0
ForwardTracker::ParticleTracker::m_particle
IParticle & m_particle
Definition: ForwardTracker/src/Beamline.cxx:69
PlotCalibFromCool.be
be
Definition: PlotCalibFromCool.py:398