Skip to content

Commit

Permalink
Merge pull request #34960 from osschar/from-CMSSW_12_1_X_2021-08-18-1500
Browse files Browse the repository at this point in the history
[Fireworks/Geometry] Strip topolgy for sub-classes of StripTopology was not exported to RECO geometry.
  • Loading branch information
cmsbuild authored Aug 20, 2021
2 parents 03b6c53 + c2b6d8a commit 86bd3d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Fireworks/Geometry/src/FWRecoGeometryESProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ using Phase2TrackerTopology = PixelTopology;
fwRecoGeometry.idToName[rawid].topology[0] = 0; \
fwRecoGeometry.idToName[rawid].topology[1] = topo->nstrips(); \
fwRecoGeometry.idToName[rawid].topology[2] = topo->stripLength(); \
} else if (const RadialStripTopology* rtop = \
dynamic_cast<const RadialStripTopology*>(&(det->specificType().specificTopology()))) { \
} \
if (const RadialStripTopology* rtop = \
dynamic_cast<const RadialStripTopology*>(&(det->specificType().specificTopology()))) { \
fwRecoGeometry.idToName[rawid].topology[0] = 1; \
fwRecoGeometry.idToName[rawid].topology[3] = rtop->yAxisOrientation(); \
fwRecoGeometry.idToName[rawid].topology[4] = rtop->originToIntersection(); \
Expand Down

0 comments on commit 86bd3d5

Please sign in to comment.