#include <Beamline.h>
◆ Beamline() [1/3]
| FPTracker::Beamline::Beamline |
( |
| ) |
|
◆ Beamline() [2/3]
Definition at line 45 of file FPTracker/src/Beamline.cxx.
46 {
50
52 }
IBeamElement::Container_t m_elements
Container_t::iterator Iter_t
std::vector< Ptr_t > Container_t
IBeamElement::Iter_t findBeamLineEnd(IBeamElement::Container_t &container)
◆ Beamline() [3/3]
| FPTracker::Beamline::Beamline |
( |
const Beamline & | rhs | ) |
|
◆ calibrate()
| void FPTracker::Beamline::calibrate |
( |
IParticle & | particle | ) |
|
Definition at line 110 of file FPTracker/src/Beamline.cxx.
111 {
115 zPosNextElement() );
116
117
118
121 (*iter)->calibrate(particle);
122 if (
particle.isOutOfAperture())
break;
123 }
124
125
127 {
128 std::ostringstream
s;
129 s<<
"Calibration particle did not reach end of beamline\n"<<
particle<<
'\n';
130 s<<
"Particle stopped at beam element "<<**
iter<<
'\n';
131 throw std::runtime_error(
s.str());
132 }
133
134 }
Container_t::const_iterator ConstIter_t
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
◆ operator=()
◆ str()
| std::string FPTracker::Beamline::str |
( |
| ) |
const |
◆ swap()
| void FPTracker::Beamline::swap |
( |
Beamline & | other | ) |
|
|
private |
◆ track()
| void FPTracker::Beamline::track |
( |
IParticle & | particle | ) |
const |
Definition at line 94 of file FPTracker/src/Beamline.cxx.
94 {
98 zPosNextElement() );
99
100
101
102 (void)std::find_if(nextElement,
104 ParticleTracker(particle)
105 );
106
107 }
◆ m_elements
The documentation for this class was generated from the following files: