10 : theShapingTime(shapingTime),
11 theTailShaping(tailShaping)
20 double t1, t3, t5, t7,
cat=0.;
56 edm::LogError(
"CSCStripElectronicsSim") <<
"Bad TailShaping CSCStripElectronicsSim" 140 cat =
exp(t * -.06523809524) * 16.18007335 +
exp(t *
141 -.400952381) * .01096643477 +
exp(t * -.01333333333) *
142 .0924451733 +
exp(t * -.002285714286) * .01409456303 -
143 t5 * 7.567748611e-5 * t * t7 - t5 * .01068701841 * t7 -
144 t * .5685389492 * t7 - t7 * 16.29757952;
151 cat = t1 * -7.656495508e-5 * t * t3 - t1 * .01083991133 * t3 -
152 t * .5783722846 * t3 - t3 * 16.59051472 +
exp(t *
153 -.01333333333) * .1030053814 +
exp(t * -.400952381) *
154 .01099767919 +
exp(t * -.06523809524) * 16.47651166 +
155 exp(t * -.003418326524) * 4.197333487e-11;
162 cat = t1 * -8.37792502e-5 * t * t3 - t1 * .0121345525 * t3 - t *
163 .6655605456 * t3 - t3 * 19.25455777 -
exp(t *
164 -.0207962661) * 9.823832281e-10 +
exp(t * -.003418326524)
165 * 2.394794269e-11 +
exp(t * -.400952381) * .01121357717
166 +
exp(t * -.06523809524) * 19.2433442;
387 cat =
exp(t * -.06523809524) * .4137221868 +
exp(t *
388 -.400952381) * 1.282766787e-4 +
exp(t * -.01333333333) *
389 1.824993745 +
exp(t * -.002285714286) * .05880752038 +
390 t5 * 2.491640871e-6 * t * t7 - t5 * 5.417458918e-4 * t7
391 - t * .01742000448 * t7 - t7 * 2.297651729;
398 cat = t1 * 2.597806608e-6 * t * t3 - t1 * 5.528471798e-4 * t3 -
399 t * .0189975081 * t3 - t3 * 2.454897362 +
exp(t *
400 -.01333333333) * 2.033466647 +
exp(t * -.400952381) *
401 1.28642151e-4 +
exp(t * -.06523809524) * .4213020729 +
402 exp(t * -.003418326524) * 1.975089906e-10;
409 cat = t1 * 4.704262123e-6 * t * t3 - t1 * 3.14519427e-4 * t3 +
410 t * .01738754854 * t3 - t3 * .4921806115 -
exp(t *
411 -.0207962661) * 1.454692205e-7 +
exp(t * -.003418326524)
412 * 1.126890204e-10 +
exp(t * -.400952381) *
413 1.311675549e-4 +
exp(t * -.06523809524) * .4920495894;
559 edm::LogError(
"CSCStripElectronicsSim") <<
"Bad shaping time CSCStripElectronicsSim "
CSCStripAmpResponse(int shapingTime, int tailShaping)
float calculateAmpResponse(float t) const