14 : theSagittaX (pars.
size() > 0 ? pars[0] : 0.),
15 theSagittaY (pars.
size() > 2 ? pars[2] : 0.),
16 theSagittaXY(pars.
size() > 1 ? pars[1] : 0.)
20 <<
"Input vector of wrong size " << pars.size()
41 double length,
double width)
const
53 double uRel = (width ? 2. * localPos.
x() / width : 0.);
54 double vRel = (length ? 2. * localPos.
y() / length : 0.);
56 const double cutOff = 1.5;
57 if (uRel < -cutOff) { uRel = -cutOff; }
else if (uRel > cutOff) { uRel = cutOff; }
58 if (vRel < -cutOff) { vRel = -cutOff; }
else if (vRel > cutOff) { vRel = cutOff; }
75 const std::vector<double> otherParams(other.
parameters());
76 if (otherParams.size() == 3) {
91 std::vector<double>
result(3);
tuple size
Write out results.