Skip to content
Snippets Groups Projects

Compatibility with Athena 22.0.40

Merged Dave Casper requested to merge dcasper/calypso:master-22.0.40-compat into master
6 files
+ 20
80
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -45,8 +45,9 @@ Tracker::FaserSCT_ClusterOnTrack::FaserSCT_ClusterOnTrack(const Tracker::FaserSC
m_rio.setElement(RIO);
//constructing local position provided a global one
std::unique_ptr<const Amg::Vector2D>
lpos{detectorElement()->surface( identify() ).positionOnSurface(globalPosition)};
std::optional<Amg::Vector2D> lpos{
detectorElement()->surface(identify()).positionOnSurface(globalPosition)
};
//storing the position along the strip if available
m_positionAlongStrip = (lpos) ? (*lpos)[Trk::locY]:0.;
Loading