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.
Showing
- InnerDetector/InDetEventCnv/InDetSimEventAthenaPool/src/SiHitCollectionCnv.h 2 additions, 4 deletions...EventCnv/InDetSimEventAthenaPool/src/SiHitCollectionCnv.h
- InnerDetector/InDetEventCnv/InDetSimEventAthenaPool/src/TRTUncompressedHitCollectionCnv.h 4 additions, 2 deletions...tSimEventAthenaPool/src/TRTUncompressedHitCollectionCnv.h
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/CMakeLists.txt 12 additions, 0 deletions...rDetector/InDetEventCnv/InDetSimEventTPCnv/CMakeLists.txt
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/share/SiHitCollectionCnv_p3_test.ref 8 additions, 0 deletions...v/InDetSimEventTPCnv/share/SiHitCollectionCnv_p3_test.ref
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/share/TRT_HitCollectionCnv_p4_test.ref 8 additions, 0 deletions...InDetSimEventTPCnv/share/TRT_HitCollectionCnv_p4_test.ref
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCnv_p1.cxx 4 additions, 4 deletions...EventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCnv_p1.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCnv_p2.cxx 19 additions, 3 deletions...EventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCnv_p2.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCollectionCnv_p2.cxx 1 addition, 1 deletion...nDetSimEventTPCnv/src/InDetHits/SiHitCollectionCnv_p2.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCollectionCnv_p3.cxx 178 additions, 2 deletions...nDetSimEventTPCnv/src/InDetHits/SiHitCollectionCnv_p3.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/TRT_HitCnv_p1.cxx 34 additions, 34 deletions...entCnv/InDetSimEventTPCnv/src/InDetHits/TRT_HitCnv_p1.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/TRT_HitCnv_p2.cxx 19 additions, 3 deletions...entCnv/InDetSimEventTPCnv/src/InDetHits/TRT_HitCnv_p2.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/TRT_HitCollectionCnv_p4.cxx 255 additions, 2 deletions...etSimEventTPCnv/src/InDetHits/TRT_HitCollectionCnv_p4.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCnv_p1_test.cxx 1 addition, 1 deletion...nDetEventCnv/InDetSimEventTPCnv/test/SiHitCnv_p1_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p2_test.cxx 1 addition, 1 deletion...nv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p2_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p3_test.cxx 102 additions, 0 deletions...nv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p3_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCnv_p1_test.cxx 1 addition, 1 deletion...etEventCnv/InDetSimEventTPCnv/test/TRT_HitCnv_p1_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p2_test.cxx 2 additions, 2 deletions.../InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p2_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p3_test.cxx 2 additions, 2 deletions.../InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p3_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p4_test.cxx 134 additions, 0 deletions.../InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p4_test.cxx
Loading
Please register or sign in to comment