Back to home page

Project CMSSW displayed by LXR

 
 

    


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   //  float y = yOfWireGroup(wireGroup);
0012   //  GlobalPoint globalPoint = toGlobal(LocalPoint(0., y, 0.));
0013   GlobalPoint globalPoint = surface().toGlobal(geometry()->localCenterOfWireGroup(wireGroup));
0014   return globalPoint;
0015 }