69
69
if (curvature == "StraightEnds") _curvature = straightEnds;
70
70
if (curvature == "Constant" || curvature == "") _curvature = constant;
71
71
if (_width >= fabs(_rCurv))
73
73
"Multipole with width > radius of curvature",
74
74
"BTMultipole::BTMultipole"));
75
75
if (_length > fabs(2*pi*_rCurv))
77
77
"Multipole with bending angle > 360 degrees",
78
78
"BTMultipole::BTMultipole"));
79
79
_endRotation = CLHEP::HepRotation(CLHEP::Hep3Vector(0, 1, 0),