Skip to content

Restructure RecActsTracking for LCG 105 & LCG 109 compatibility

Reorganize RecActsTracking code into ActsHelper/RecActsSvc/RecActsTracking subdirectories while preserving LCG 105 API compatibility:

  • ACTS v35: PluginTGeo, old include paths, old type names
  • EDM4hep 0.x: TrackerHitCollection, MCRecoTrackerAssociationCollection
  • Gaudi: GaudiAlg/GaudiAlgorithm.h, GaudiAlgorithm base class

Use #if edm4hep_VERSION >= EDM4HEP_VERSION(1, 0, 0) preprocessor guards to support both EDM4hep 0.x (LCG 105) and EDM4hep 1.0 (LCG 109) APIs:

  • TrackerHitCollection → TrackerHit3DCollection
  • MCRecoTrackerAssociationCollection → TrackerHitSimTrackerHitLinkCollection
  • getRec()/getSim() → getFrom()/getTo()
  • SimTrackerHit::getMCParticle() → getParticle()

Merge request reports

Loading