80 if(
name.find(
"MagQ1") != std::string::npos || (twiss &&
name.find(
"MQXA.1") != std::string::npos))
86 else if(
name.find(
"MagQ2a") != std::string::npos || (twiss &&
name.find(
"MQXB.A2") != std::string::npos))
92 else if(
name.find(
"MagQ2b") != std::string::npos || (twiss &&
name.find(
"MQXB.B2") != std::string::npos))
98 else if(
name.find(
"MagQ3") != std::string::npos || (twiss &&
name.find(
"MQXA.3") != std::string::npos))
104 else if(
name.find(
"MagD1a") != std::string::npos || (twiss &&
name.find(
"MBXW.A4") != std::string::npos))
110 else if(
name.find(
"MagD1b") != std::string::npos || (twiss &&
name.find(
"MBXW.B4") != std::string::npos))
116 else if(
name.find(
"MagD1c") != std::string::npos || (twiss &&
name.find(
"MBXW.C4") != std::string::npos))
122 else if(
name.find(
"MagD1d") != std::string::npos || (twiss &&
name.find(
"MBXW.D4") != std::string::npos))
128 else if(
name.find(
"MagD1e") != std::string::npos || (twiss &&
name.find(
"MBXW.E4") != std::string::npos))
134 else if(
name.find(
"MagD1f") != std::string::npos || (twiss &&
name.find(
"MBXW.F4") != std::string::npos))
140 else if(
name.find(
"MagD2") != std::string::npos || (twiss &&
name.find(
"MBRC.4") != std::string::npos))
146 else if(
name.find(
"MagQ4") != std::string::npos || (twiss &&
name.find(
"MQY.4") != std::string::npos))
152 else if(
name.find(
"MagQ5") != std::string::npos || (twiss &&
name.find(
"MQML.5") != std::string::npos))
158 else if(
name.find(
"MagQ6") != std::string::npos || (twiss &&
name.find(
"MQML.6") != std::string::npos))
164 else if(
name.find(
"MagQ7a") != std::string::npos || (twiss &&
name.find(
"MQM.A7") != std::string::npos))
170 else if(
name.find(
"MagQ7b") != std::string::npos || (twiss &&
name.find(
"MQM.B7") != std::string::npos))
178 pointMagStart = HepGeom::Point3D<double>(0,0,0);
179 pointMagEnd = HepGeom::Point3D<double>(0,0,0);