CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/Geometry/CSCGeometry/src/CSCLayer.cc

Go to the documentation of this file.
00001 
00002 #include <Geometry/CSCGeometry/interface/CSCLayer.h>
00003 
00004 GlobalPoint CSCLayer::centerOfStrip(int strip) const {
00005   float stripX = geometry()->xOfStrip(strip);
00006   GlobalPoint globalPoint = surface().toGlobal(LocalPoint(stripX, 0., 0.));
00007   return globalPoint;
00008 }
00009 
00010 GlobalPoint CSCLayer::centerOfWireGroup(int wireGroup) const {
00011   //  float y = yOfWireGroup(wireGroup);
00012   //  GlobalPoint globalPoint = toGlobal(LocalPoint(0., y, 0.));
00013   GlobalPoint globalPoint = 
00014     surface().toGlobal( geometry()->localCenterOfWireGroup( wireGroup ) );
00015   return globalPoint;
00016 }