File indexing completed on 2024-04-06 12:14:24
0001
0002 #include <Geometry/CSCGeometry/interface/CSCLayer.h>
0003
0004 GlobalPoint CSCLayer::centerOfStrip(int strip) const {
0005 float stripX = geometry()->xOfStrip(strip);
0006 GlobalPoint globalPoint = surface().toGlobal(LocalPoint(stripX, 0., 0.));
0007 return globalPoint;
0008 }
0009
0010 GlobalPoint CSCLayer::centerOfWireGroup(int wireGroup) const {
0011
0012
0013 GlobalPoint globalPoint = surface().toGlobal(geometry()->localCenterOfWireGroup(wireGroup));
0014 return globalPoint;
0015 }