CMS 3D CMS Logo

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 override { return theWireAngle; }
30 
35  int nearestWire(const LocalPoint& lp) const override;
36 
40  float yOfWire(float wire, float x=0.) const override;
41 
46  CSCWireGeometry* clone() const override {
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
CSCWireGeometry * clone() const override
int nearestWire(const LocalPoint &lp) const override
double wireSpacing() const
float wireAngle() const override
double yOfFirstWire() const
float yOfWire(float wire, float x=0.) const override
CSCSlantedWireGeometry(double wireSpacing, double yOfFirstWire, double narrow, double wide, double length, float wireAngle)