15 edm::LogError(
"BadSetup") <<
"@SUB=TwoBowedSurfacesDeformation"
16 <<
"Input vector of wrong size " << pars.size() <<
" instead of " <<
parameterSize()
17 <<
", add zeros to fill up!";
49 const double sign = (localPos.
y() < ySplit ? +1. : -1.);
50 const double yMiddle = ySplit * 0.5 - sign * length * .25;
52 const double myY = localPos.
y() - yMiddle;
53 const double myLength = length * 0.5 + sign * ySplit;
55 double uRel = 2. * localPos.
x() / width;
56 double vRel = 2. * myY / myLength;
58 const double cutOff = 1.5;
61 }
else if (uRel > cutOff) {
66 }
else if (vRel > cutOff) {
77 const double dw = (uRel * uRel - 1. / 3.) * (pars[0] + sign * pars[9])
78 + uRel * vRel * (pars[1] + sign * pars[10])
79 + (vRel * vRel - 1. / 3.) * (pars[2] + sign * pars[11])
81 + myY * sign * pars[6]
82 - localPos.
x() * sign * pars[7];
88 x += (sign * pars[3]);
89 y += (sign * pars[4]);
91 x -= myY * (sign * pars[8]);
92 y += localPos.
x() * (sign * pars[8]);
100 const std::vector<double> otherParameters(other.
parameters());
104 fabs(otherParameters[
k_ySplit()]) < 1
e-5) {
111 edm::LogError(
"Alignment") <<
"@SUB=TwoBowedSurfacesDeformation::add"
118 edm::LogError(
"Alignment") <<
"@SUB=TwoBowedSurfacesDeformation::add"
119 <<
"Types are different!";
Log< level::Error, false > LogError