6 #define M_PI_2 1.57079632679489661923
13 LogTrace(
"CSCGattiFunction") <<
"CSCGattiFunction::initChamberSpecs setting new values.";
17 static const double parm[5] = {.1989337e-02, -.6901542e-04, .8665786, 154.6177, -.6801630e-03};
18 k3 = (parm[0] * s /
h + parm[1]) * (parm[2] * s / ra + parm[3] + parm[4] * s * s / ra / ra);
26 LogTrace(
"CSCGattiFunction") <<
"CSCGattiFunction: constants k1=" <<
k1 <<
", k2=" <<
k2 <<
", k3=" <<
k3
27 <<
", h=" <<
h <<
", norm=" <<
norm;
31 double tanh1 = tanh(
k2 * (x + stripWidth * 0.5) /
h);
32 double tanh2 = tanh(
k2 * (x - stripWidth * 0.5) /
h);
double binValue(double x, double stripWidth) const
void initChamberSpecs(const CSCChamberSpecs &)
Calculates k1, k2, k3, h per chamber type, if necessary.
const CSCChamberSpecs * thePreviousSpecs
uint16_t const *__restrict__ x
float wireSpacing() const
float anodeCathodeSpacing() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.