Main Page
Namespaces
Classes
Package Documentation
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
(
double
wireSpacing
,
double
yOfFirstWire
,
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
LocalPoint.h
CSCSlantedWireGeometry::clone
CSCWireGeometry * clone() const override
Definition:
CSCSlantedWireGeometry.h:46
CSCSlantedWireGeometry::nearestWire
int nearestWire(const LocalPoint &lp) const override
Definition:
CSCSlantedWireGeometry.cc:25
CSCSlantedWireGeometry
Definition:
CSCSlantedWireGeometry.h:15
CSCWireGeometry.h
CSCWireGeometry
Definition:
CSCWireGeometry.h:17
CSCSlantedWireGeometry::sinWireAngle
float sinWireAngle
Definition:
CSCSlantedWireGeometry.h:53
CSCWireGeometry::wireSpacing
double wireSpacing() const
Definition:
CSCWireGeometry.h:33
CSCSlantedWireGeometry::cosWireAngle
float cosWireAngle
Definition:
CSCSlantedWireGeometry.h:52
CSCSlantedWireGeometry::wireAngle
float wireAngle() const override
Definition:
CSCSlantedWireGeometry.h:29
CSCSlantedWireGeometry::theWireOffset
float theWireOffset
Definition:
CSCSlantedWireGeometry.h:54
CSCWireGeometry::yOfFirstWire
double yOfFirstWire() const
Definition:
CSCWireGeometry.h:39
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:37
DDAxes::x
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:51
Generated for CMSSW Reference Manual by
1.8.11