Skip to content
Snippets Groups Projects
Commit 2eee68fa authored by John Chapman's avatar John Chapman
Browse files

Migrating the InDetSimEventTPCnv TP Converters to use the new HepMcParticleLink

This commit updates the TP Converters which use `HepMcParticleLink_p1` to
properly initialize the new transient `HepMcParticleLink` class. It also
adds code to write the `SiHitCollection_p3` and `TRT_HitCollection_p4`
persistent formats (which use `HepMcParticleLink_p2`) to `SiHitCollectionCnv_p3`
and `TRT_HitCollectionCnv_p4` respectively.

HMPL-backward-compatibility fix for SiHitCollectionCnv_p2 from @arnaez.
(cherry picked from commit d3b8b24edb17ddb96f26a8feed92278d76fca9b9)

All existing `InDetSimEventTPCnv` unit tests are updated to use valid
`HepMcParticleLinks` and new unit tests for `SiHitCollectionCnv_p3` and
`TRT_HitCollectionCnv_p4` are added.
parent 6345e13c
No related branches found
No related tags found
Loading
Showing
with 787 additions and 62 deletions
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