#include <BenderQuadrupole.h>
Definition at line 15 of file BenderQuadrupole.h.
◆ ConstPtr_t
◆ BenderQuadrupole()
ForwardTracker::BenderQuadrupole::BenderQuadrupole |
( |
Side |
side, |
|
|
double |
length, |
|
|
double |
strength, |
|
|
double |
beamEnergy, |
|
|
Bendplane |
bendplane |
|
) |
| |
◆ bend()
void ForwardTracker::BenderQuadrupole::bend |
( |
IParticle & |
particle | ) |
const |
|
virtual |
Implements ForwardTracker::IBender.
Definition at line 20 of file BenderQuadrupole.cxx.
27 TransversePoint displacement =
particle.displacement();
29 if (!
particle.charged()) displacement +=
m_length*aside/direction[2]*direction.transverse();
50 direction[2] = aside/std::sqrt(1 + direction[0]*direction[0] + direction[1]*direction[1]);
52 direction[0] *= direction[2];
53 direction[1] *= direction[2];
56 particle.updatePositionFromDisplacement(displacement);
◆ m_beamEnergy
double ForwardTracker::BenderQuadrupole::m_beamEnergy |
|
private |
◆ m_bendplane
Bendplane ForwardTracker::BenderQuadrupole::m_bendplane |
|
private |
◆ m_length
double ForwardTracker::BenderQuadrupole::m_length |
|
private |
◆ m_side
Side ForwardTracker::BenderQuadrupole::m_side |
|
private |
◆ m_strength
double ForwardTracker::BenderQuadrupole::m_strength |
|
private |
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses