Update transient HepMcParticleLink to use unsigned int rather than unsigned...
Update transient HepMcParticleLink to use unsigned int rather than unsigned short to store the eventIndex This change should allow the HepMcParticleLink to accomodate all allowed values of `GenEvent::event_number` i.e. up to `INT_MAX` = 21^31 -1 = 2147483647. A new persistent class is not being added at this time, but existing workarounds allow event numbers larger than max unsigned short to be correctly recovered for links pointing to the first event in the McEventCollection. In the standard production workflow, pile-up background event numbers are reset to to numbers in the range 0 to 2^15 -1, which should be OK up to <mu> values of 840 with current settings. A new persistent version of HepMcParticleLink will be introduced after the migration to HepMC3.
Showing
- Generators/GeneratorObjects/GeneratorObjects/HepMcParticleLink.h 1 addition, 1 deletion...ors/GeneratorObjects/GeneratorObjects/HepMcParticleLink.h
- Generators/GeneratorObjects/src/HepMcParticleLink.cxx 2 additions, 1 deletionGenerators/GeneratorObjects/src/HepMcParticleLink.cxx
- Generators/GeneratorObjects/test/HepMcParticleLink_test.cxx 46 additions, 3 deletionsGenerators/GeneratorObjects/test/HepMcParticleLink_test.cxx
- Generators/GeneratorObjectsTPCnv/src/HepMcParticleLinkCnv_p1.cxx 4 additions, 1 deletion...ors/GeneratorObjectsTPCnv/src/HepMcParticleLinkCnv_p1.cxx
- Generators/GeneratorObjectsTPCnv/src/HepMcParticleLinkCnv_p2.cxx 4 additions, 1 deletion...ors/GeneratorObjectsTPCnv/src/HepMcParticleLinkCnv_p2.cxx
- Generators/GeneratorObjectsTPCnv/test/HepMcParticleLinkCnv_p1_test.cxx 7 additions, 4 deletions...neratorObjectsTPCnv/test/HepMcParticleLinkCnv_p1_test.cxx
- Generators/GeneratorObjectsTPCnv/test/HepMcParticleLinkCnv_p2_test.cxx 7 additions, 4 deletions...neratorObjectsTPCnv/test/HepMcParticleLinkCnv_p2_test.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/SiHitCollectionCnv_p3.cxx 4 additions, 1 deletion...nDetSimEventTPCnv/src/InDetHits/SiHitCollectionCnv_p3.cxx
- InnerDetector/InDetEventCnv/InDetSimEventTPCnv/src/InDetHits/TRT_HitCollectionCnv_p4.cxx 3 additions, 0 deletions...etSimEventTPCnv/src/InDetHits/TRT_HitCollectionCnv_p4.cxx
Loading
Please register or sign in to comment