Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~CSCSlantedWireGeometry
() {}
18
22
CSCSlantedWireGeometry
(
double
wireSpacing
,
double
yOfFirstWire
,
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
46
CSCWireGeometry
*
clone
()
const
{
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
Definition:
CSCSlantedWireGeometry.h:15
CSCWireGeometry.h
CSCWireGeometry
Definition:
CSCWireGeometry.h:17
CSCSlantedWireGeometry::sinWireAngle
float sinWireAngle
Definition:
CSCSlantedWireGeometry.h:53
CSCSlantedWireGeometry::wireAngle
float wireAngle() const
Definition:
CSCSlantedWireGeometry.h:29
CSCWireGeometry::wireSpacing
double wireSpacing() const
Definition:
CSCWireGeometry.h:33
CSCSlantedWireGeometry::cosWireAngle
float cosWireAngle
Definition:
CSCSlantedWireGeometry.h:52
CSCSlantedWireGeometry::clone
CSCWireGeometry * clone() const
Definition:
CSCSlantedWireGeometry.h:46
CSCSlantedWireGeometry::theWireOffset
float theWireOffset
Definition:
CSCSlantedWireGeometry.h:54
CSCSlantedWireGeometry::~CSCSlantedWireGeometry
virtual ~CSCSlantedWireGeometry()
Definition:
CSCSlantedWireGeometry.h:17
CSCWireGeometry::yOfFirstWire
double yOfFirstWire() const
Definition:
CSCWireGeometry.h:39
CSCSlantedWireGeometry::yOfWire
float yOfWire(float wire, float x=0.) const
Definition:
CSCSlantedWireGeometry.cc:37
CSCSlantedWireGeometry::nearestWire
int nearestWire(const LocalPoint &lp) const
Definition:
CSCSlantedWireGeometry.cc:25
Point3DBase< float, LocalTag >
x
Definition:
DDAxes.h:10
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.5