Skip to content

Commit b517fae

Browse files
authored
Merge pull request cms-sw#36102 from jshlee/GEMGeometryAnalyzer-CMSSW_12_2_0_pre1
GEMGeometryAnalyzer - added first and last strip global position
2 parents 75f862f + 0ba0259 commit b517fae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Geometry/GEMGeometry/test/GEMGeometryAnalyzer.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ void GEMGeometryAnalyzer::analyze(const edm::Event& /*iEvent*/, const edm::Event
231231
<< " \t\tDimensions[cm]: b = " << bottomEdge * 2 << ", B = " << topEdge * 2
232232
<< ", h = " << height * 2 << endl
233233
<< " \t\tnStrips = " << nStrips << ", nPads = " << nPads << endl
234+
<< " \t\tfirst strip pos = (" << roll->toGlobal(lEdge1).x() << ", "
235+
<< roll->toGlobal(lEdge1).y() << ", " << roll->toGlobal(lEdge1).z() << ")" << endl
236+
<< " \t\tlast strip pos = (" << roll->toGlobal(lEdgeN).x() << ", "
237+
<< roll->toGlobal(lEdgeN).y() << ", " << roll->toGlobal(lEdgeN).z() << ")" << endl
234238
<< " \t\ttop(x,y,z)[cm] = (" << tx << ", " << ty << ", " << tz << "), top(eta,phi) = (" << teta
235239
<< ", " << tphi << ")" << endl
236240
<< " \t\tcenter(x,y,z)[cm] = (" << cx << ", " << cy << ", " << cz << "), center(eta,phi) = ("

0 commit comments

Comments
 (0)