17 : theSagittaX (pars.
size() > 0 ? pars[0] : 0.),
18 theSagittaY (pars.
size() > 2 ? pars[2] : 0.),
19 theSagittaXY(pars.
size() > 1 ? pars[1] : 0.)
23 <<
"Input vector of wrong size " << pars.size()
44 double length,
double width)
const
56 double uRel = (width ? 2. * localPos.
x() / width : 0.);
57 double vRel = (length ? 2. * localPos.
y() / length : 0.);
59 const double cutOff = 1.5;
60 if (uRel < -cutOff) { uRel = -cutOff; }
else if (uRel > cutOff) { uRel = cutOff; }
61 if (vRel < -cutOff) { vRel = -cutOff; }
else if (vRel > cutOff) { vRel = cutOff; }
78 const std::vector<double> otherParams(other.
parameters());
79 if (otherParams.size() == 3) {
94 std::vector<double>
result(3);
tuple size
Write out results.