CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCLayer.cc
Go to the documentation of this file.
1 
3 
5  float stripX = geometry()->xOfStrip(strip);
6  GlobalPoint globalPoint = surface().toGlobal(LocalPoint(stripX, 0., 0.));
7  return globalPoint;
8 }
9 
11  // float y = yOfWireGroup(wireGroup);
12  // GlobalPoint globalPoint = toGlobal(LocalPoint(0., y, 0.));
13  GlobalPoint globalPoint =
14  surface().toGlobal( geometry()->localCenterOfWireGroup( wireGroup ) );
15  return globalPoint;
16 }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
float xOfStrip(int strip, float y=0.) const
GlobalPoint centerOfWireGroup(int wireGroup) const
Definition: CSCLayer.cc:10
GlobalPoint centerOfStrip(int strip) const
Definition: CSCLayer.cc:4
Local3DPoint LocalPoint
Definition: LocalPoint.h:11
const CSCLayerGeometry * geometry() const
Definition: CSCLayer.h:47