9 double wireSpacing,
double yOfFirstWire,
double narrow,
double wide,
double length,
float wireAngle)
10 :
CSCWireGeometry(wireSpacing, yOfFirstWire, narrow, wide, length), theWireAngle(wireAngle) {
14 LogTrace(
"CSCWireGeometry|CSC") <<
"CSCSlantedWireGeometry: constructed:\n"
15 <<
" wireSpacing = " << wireSpacing <<
", y1 = " << yOfFirstWire
16 <<
", narrow_width = " << narrow <<
", wide_width = " << wide
17 <<
", length = " << length <<
", wireAngle = " << wireAngle
int nearestWire(const LocalPoint &lp) const override
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
double wireSpacing() const
int nint(float a)
Return the nearest integer - analogous to the FORTRAN intrinsic NINT.
float yOfWire(float wire, float x=0.) const override
CSCSlantedWireGeometry(double wireSpacing, double yOfFirstWire, double narrow, double wide, double length, float wireAngle)