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

Public Member Functions

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

Private Attributes

IParticlem_particle
 

Detailed Description

Definition at line 72 of file FPTracker/src/Beamline.cxx.

Constructor & Destructor Documentation

◆ ParticleTracker()

FPTracker::ParticleTracker::ParticleTracker ( IParticle particle)
inline

Definition at line 74 of file FPTracker/src/Beamline.cxx.

75  }

Member Function Documentation

◆ operator()()

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

Definition at line 76 of file FPTracker/src/Beamline.cxx.

76  {
77 
78  be->track(m_particle); // updates particle position
79  /*
80  std::string label = be->label();
81  if (label[0] == 'v' or label[0] == 'h')
82  {
83  std::cout<<m_particle<<" "<<++m_element<<" "<<be->side()<<" "<<be->frontFace()<<" "<<be->rearFace()<<" "<<label<<'\n';
84  }
85  */
86  return m_particle.isOutOfAperture();
87  }

Member Data Documentation

◆ m_particle

IParticle& FPTracker::ParticleTracker::m_particle
private

Definition at line 89 of file FPTracker/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
FPTracker::IParticle::isOutOfAperture
virtual bool isOutOfAperture() const =0
FPTracker::ParticleTracker::m_particle
IParticle & m_particle
Definition: FPTracker/src/Beamline.cxx:89
PlotCalibFromCool.be
be
Definition: PlotCalibFromCool.py:398