#include <Magnet.h>
|
| Magnet (double x, double y, double center, double strength, double length, int apertype, double aper_A1, double aper_A2, double aper_A3, double aper_A4, double xb, Side side, IBender::ConstPtr_t bender, const std::string &label) |
|
double | frontFace () const |
|
double | rearFace () const |
|
double | zabspos () const |
|
double | zsignedpos () const |
|
double | centerZ () const |
|
Point | position () const |
|
Side | side () const |
|
bool | isEndElement () const |
|
std::string | str () const |
|
std::string | label () const |
|
void | track (IParticle &) const |
|
void | calibrate (IParticle &) |
|
IBeamElement::ConstPtr_t | clone () const |
|
◆ ConstIter_t
◆ ConstListIter_t
◆ ConstPtr_t
◆ Container_t
◆ Iter_t
◆ List_t
◆ ListIter_t
◆ Ptr_t
◆ Type
◆ Magnet()
FPTracker::Magnet::Magnet |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
center, |
|
|
double |
strength, |
|
|
double |
length, |
|
|
int |
apertype, |
|
|
double |
aper_A1, |
|
|
double |
aper_A2, |
|
|
double |
aper_A3, |
|
|
double |
aper_A4, |
|
|
double |
xb, |
|
|
Side |
side, |
|
|
IBender::ConstPtr_t |
bender, |
|
|
const std::string & |
label |
|
) |
| |
◆ calibrate()
void FPTracker::Magnet::calibrate |
( |
IParticle & |
particle | ) |
|
|
virtual |
◆ centerZ()
double FPTracker::Magnet::centerZ |
( |
| ) |
const |
◆ clone()
◆ frontFace()
double FPTracker::Magnet::frontFace |
( |
| ) |
const |
|
virtual |
◆ frontface()
double FPTracker::Magnet::frontface |
( |
| ) |
const |
|
private |
◆ isEndElement()
bool FPTracker::Magnet::isEndElement |
( |
| ) |
const |
|
virtual |
◆ isOutOfAperture()
bool FPTracker::Magnet::isOutOfAperture |
( |
IParticle & |
particle | ) |
const |
|
private |
Definition at line 104 of file FPTracker/src/Magnet.cxx.
106 TransversePoint offCenter =
particle.displacement();
115 std::ostringstream
ost;
126 double part_x = offCenter.x();
127 double part_y = offCenter.y();
135 std::ostringstream
ost;
136 ost<<
"outside for aperture type 2 x xx, xaper "<<part_x<<
" "<<xx<<
" "<<
m_aper_A3<<
" y yy yaper "<<part_y<<
" "<<
yy<<
" "<<
m_aper_A4<<
'\n';
146 std::ostringstream
ost;
147 ost<<
"outside for aperture type 2 x test: particle x "<<part_x<<
" m_aper_A1 "<<
m_aper_A1<<
"\n";
156 std::ostringstream
ost;
157 ost<<
"outside for aperture type 2 y test: particle y "<<part_y<<
" m_aper_A2 "<<
m_aper_A2<<
"\n";
167 double part_x = offCenter.x();
168 double part_y = offCenter.y();
174 std::ostringstream
ost;
175 ost<<
"outside for aperture type 3 x test: particle x "<<part_x<<
" m_aper_A1 "<<
m_aper_A1<<
"\n";
184 std::ostringstream
ost;
185 ost<<
"outside for aperture type 3 y test: particle y "<<part_y<<
" m_aper_A2 "<<
m_aper_A2<<
"\n";
198 std::ostringstream
ost;
199 ost<<
"outside for aperture type 3 test: particle x "<<part_x<<
" particle y "<<part_y<<
"; m_aper_A1 "<<
m_aper_A1<<
" m_aper_A2 "<<
m_aper_A2<<
" m_aper_A3 "<<
m_aper_A3<<
" m_aper_A4 "<<
m_aper_A4<<
"\n";
◆ label()
std::string FPTracker::Magnet::label |
( |
| ) |
const |
|
virtual |
◆ position()
Point FPTracker::Magnet::position |
( |
| ) |
const |
|
virtual |
◆ rearFace()
double FPTracker::Magnet::rearFace |
( |
| ) |
const |
|
virtual |
◆ side()
Side FPTracker::Magnet::side |
( |
| ) |
const |
|
virtual |
◆ str()
std::string FPTracker::Magnet::str |
( |
| ) |
const |
|
virtual |
◆ swap()
void FPTracker::Magnet::swap |
( |
Magnet & |
| ) |
|
|
private |
◆ track()
void FPTracker::Magnet::track |
( |
IParticle & |
particle | ) |
const |
|
virtual |
◆ zabspos()
double FPTracker::Magnet::zabspos |
( |
| ) |
const |
|
virtual |
◆ zsignedpos()
double FPTracker::Magnet::zsignedpos |
( |
| ) |
const |
|
virtual |
◆ m_aper_A1
double FPTracker::Magnet::m_aper_A1 |
|
private |
◆ m_aper_A2
double FPTracker::Magnet::m_aper_A2 |
|
private |
◆ m_aper_A3
double FPTracker::Magnet::m_aper_A3 |
|
private |
◆ m_aper_A4
double FPTracker::Magnet::m_aper_A4 |
|
private |
◆ m_apertype
int FPTracker::Magnet::m_apertype |
|
private |
◆ m_bender
◆ m_center
Point FPTracker::Magnet::m_center |
|
private |
◆ m_frontFace
double FPTracker::Magnet::m_frontFace |
|
private |
◆ m_label
std::string FPTracker::Magnet::m_label |
|
private |
◆ m_rearFace
double FPTracker::Magnet::m_rearFace |
|
private |
◆ m_side
Side FPTracker::Magnet::m_side |
|
private |
◆ m_strength
double FPTracker::Magnet::m_strength |
|
private |
◆ m_xb
double FPTracker::Magnet::m_xb |
|
private |
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Magnet(double x, double y, double center, double strength, double length, int apertype, double aper_A1, double aper_A2, double aper_A3, double aper_A4, double xb, Side side, IBender::ConstPtr_t bender, const std::string &label)