Skip to content

CyberPFA: make tracking/TOF/dNdx collections truly optional under LCG 109

Under LCG 109 k4FWCore DataHandle::get() throws when a requested collection is absent from the event Frame (LCG 105 was more lenient). CyberPFA already treated these inputs as optional downstream, but the handle dereferences lacked guards.

Changes:

  • Disable PodioDataSvc selective reading; instead check Frame availability per event
  • Skip missing optional collections (tracks, associations, TOF, dNdx) gracefully with a single warning per collection name per run
  • nullptr-initialise all raw pointers so finalize() is safe on early exit
  • TrackCreator: try/catch individual track-collection get() calls; wrap association access with null guards

Merge request reports

Loading