src
Geometry
CSCGeometry
src
CSCSlantedWireGeometry.h
Go to the documentation of this file.
1
#ifndef CSC_SLANTED_WIRE_GEOMETRY_H
2
#define CSC_SLANTED_WIRE_GEOMETRY_H
3
12
#include "
Geometry/CSCGeometry/interface/CSCWireGeometry.h
"
13
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
14
15
class
CSCSlantedWireGeometry
:
public
CSCWireGeometry
{
16
public
:
17
~CSCSlantedWireGeometry
()
override
{}
18
22
CSCSlantedWireGeometry
(
23
double
wireSpacing
,
double
yOfFirstWire
,
double
narrow,
double
wide,
double
length,
float
wireAngle
);
24
28
float
wireAngle
()
const override
{
return
theWireAngle
; }
29
34
int
nearestWire
(
const
LocalPoint
& lp)
const override
;
35
39
float
yOfWire
(
float
wire
,
float
x
= 0.)
const override
;
40
45
CSCWireGeometry
*
clone
()
const override
{
return
new
CSCSlantedWireGeometry
(*
this
); }
46
47
private
:
48
float
theWireAngle
;
49
float
cosWireAngle
;
50
float
sinWireAngle
;
51
float
theWireOffset
;
// local y of first wire * cos(wire angle)
52
};
53
54
#endif
LocalPoint.h
CSCSlantedWireGeometry::wireAngle
float wireAngle() const override
Definition:
CSCSlantedWireGeometry.h:28
CSCSlantedWireGeometry::nearestWire
int nearestWire(const LocalPoint &lp) const override
Definition:
CSCSlantedWireGeometry.cc:21
CSCSlantedWireGeometry
Definition:
CSCSlantedWireGeometry.h:15
CSCWireGeometry.h
CSCWireGeometry
Definition:
CSCWireGeometry.h:17
CSCSlantedWireGeometry::sinWireAngle
float sinWireAngle
Definition:
CSCSlantedWireGeometry.h:50
CSCSlantedWireGeometry::clone
CSCWireGeometry * clone() const override
Definition:
CSCSlantedWireGeometry.h:45
CSCSlantedWireGeometry::cosWireAngle
float cosWireAngle
Definition:
CSCSlantedWireGeometry.h:49
CSCSlantedWireGeometry::theWireOffset
float theWireOffset
Definition:
CSCSlantedWireGeometry.h:51
CSCWireGeometry::yOfFirstWire
double yOfFirstWire() const
Definition:
CSCWireGeometry.h:40
nano_mu_digi_cff.wire
wire
Definition:
nano_mu_digi_cff.py:14
CSCSlantedWireGeometry::~CSCSlantedWireGeometry
~CSCSlantedWireGeometry() override
Definition:
CSCSlantedWireGeometry.h:17
Point3DBase< float, LocalTag >
CSCSlantedWireGeometry::yOfWire
float yOfWire(float wire, float x=0.) const override
Definition:
CSCSlantedWireGeometry.cc:32
DDAxes::x
CSCWireGeometry::wireSpacing
double wireSpacing() const
Definition:
CSCWireGeometry.h:35
CSCSlantedWireGeometry::CSCSlantedWireGeometry
CSCSlantedWireGeometry(double wireSpacing, double yOfFirstWire, double narrow, double wide, double length, float wireAngle)
Definition:
CSCSlantedWireGeometry.cc:8
CSCSlantedWireGeometry::theWireAngle
float theWireAngle
Definition:
CSCSlantedWireGeometry.h:48
Generated for CMSSW Reference Manual by
1.8.14