Skip to content
Snippets Groups Projects
Commit 4291a1c0 authored by Scott Snyder's avatar Scott Snyder Committed by Tadej Novak
Browse files

MuonReadoutGeometryR4: Speed up MdtTubeLayer::getTubeNode().

MuonReadoutGeometryR4: Speed up MdtTubeLayer::getTubeNode().

This was using getChildVol.  However, that keeps track of the transform
to each child, even though that is not actually used.
This is slow, especially in debug builds where Eigen operations
tend to be expensive.

Instead, use GeoVisitVolumes to iterate over children without calculating
the transforms.
parent 5c53a644
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment