test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCSlantedWireGeometry.h
Go to the documentation of this file.
1 #ifndef CSC_SLANTED_WIRE_GEOMETRY_H
2 #define CSC_SLANTED_WIRE_GEOMETRY_H
3 
14 
16  public:
18 
23  double narrow, double wide, double length,
24  float wireAngle );
25 
29  float wireAngle() const { return theWireAngle; }
30 
35  int nearestWire(const LocalPoint& lp) const;
36 
40  float yOfWire(float wire, float x=0.) const;
41 
47  return new CSCSlantedWireGeometry(*this);
48  }
49 
50  private:
51  float theWireAngle;
52  float cosWireAngle;
53  float sinWireAngle;
54  float theWireOffset; // local y of first wire * cos(wire angle)
55 
56 };
57 
58 #endif
double wireSpacing() const
CSCWireGeometry * clone() const
double yOfFirstWire() const
float yOfWire(float wire, float x=0.) const
int nearestWire(const LocalPoint &lp) const
CSCSlantedWireGeometry(double wireSpacing, double yOfFirstWire, double narrow, double wide, double length, float wireAngle)