Geometry
CSCGeometry
src
CSCLayer.cc
Go to the documentation of this file.
1
2
#include <
Geometry/CSCGeometry/interface/CSCLayer.h
>
3
4
GlobalPoint
CSCLayer::centerOfStrip
(
int
strip
)
const
{
5
float
stripX =
geometry
()->
xOfStrip
(
strip
);
6
GlobalPoint
globalPoint =
surface
().
toGlobal
(
LocalPoint
(stripX, 0., 0.));
7
return
globalPoint;
8
}
9
10
GlobalPoint
CSCLayer::centerOfWireGroup
(
int
wireGroup)
const
{
11
// float y = yOfWireGroup(wireGroup);
12
// GlobalPoint globalPoint = toGlobal(LocalPoint(0., y, 0.));
13
GlobalPoint
globalPoint =
surface
().
toGlobal
(
geometry
()->localCenterOfWireGroup(wireGroup));
14
return
globalPoint;
15
}
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:19
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition:
Definitions.h:30
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:37
CSCLayer::centerOfWireGroup
GlobalPoint centerOfWireGroup(int wireGroup) const
Definition:
CSCLayer.cc:10
CSCLayerGeometry::xOfStrip
float xOfStrip(int strip, float y=0.) const
Definition:
CSCLayerGeometry.h:175
Surface::toGlobal
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition:
Surface.h:79
CSCLayer::geometry
const CSCLayerGeometry * geometry() const
Definition:
CSCLayer.h:44
CSCLayer::centerOfStrip
GlobalPoint centerOfStrip(int strip) const
Definition:
CSCLayer.cc:4
Point3DBase< float, GlobalTag >
CSCLayer.h
Generated for CMSSW Reference Manual by
1.8.16