ISFTruthIncident / ISF_Fatras - Improve robustness + fix warnings
The changes in this merge request should finally fix the many warnings seen when running simulation using ISF_Fatras. There are two main sets of changes:
- ISFTruthIncident: Add methods to properly update ISFParticles after the Truth Incident has been registered with the TruthSvc. The
ISFTruthIncident::updateHepMCTruthParticle()
method was changed to only update the ISF::TruthBinding of the ISFParticle in question. This is because a valid (GenParticle::
)id value and hence a valid HepMcParticleLink can only be obtained after a new GenParticle has been added to the GenEvent - this occurs within the TruthSvc, not within the ISFTruthIncident. InsteadISFTruthIncident::updateParentAfterIncidentProperties()
andISFTruthIncident::updateChildParticleProperties()
can be called to sync up the ISFParticle properties after the call toTruthSvc::registerTruthIncident()
. These handle all cases except the case where the parent particle survives the interaction, but is not recorded to the GenEvent (for a follow-up MR). - Updates to ISF_Fatras classes (+
FastCaloSimV2Tool
). All ISFParticles for secondaries created by Fatras should not have barcode/id/truthBinding/particleLink set initially. These should be set by the calls toTruthSvc::registerTruthIncident()
,ISFTruthIncident::updateParentAfterIncidentProperties()
andISFTruthIncident::updateChildParticleProperties()
. These calls should all be made before any particles are passed back to the ParticleBroker. No TruthBinding for secondaries should be set directly by the ISF_Fatras code. (NB For the special case of particles being returned to the ParticleBroker having not interacted, then the returned ISFParticle should have the same barcode/id/truthBinding/particleLink as the initial ISFParticle - this has to be set manually in theMcMaterialEffectsUpdator
code.
(Note to review shifters - it's probably best to review this with whitespace changes switched off. The ISF_Fatras classes need a larger clean-up, but that is beyond the scope of this merge request.)
Merge request reports
Activity
This merge request affects 6 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_FastCaloSim/ISF_PunchThroughTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @tcuhadar ,@lmijovic ,@jchapman ,@schaarsc ,@zhangr ,@jbeirer ,@tadej as watchers
added Egamma Simulation main labels
added Run3-AF3-output-changed label
CI Result FAILURE (hash c7c38559)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9594] (remote access info)added 1 commit
- 8b9e6e19 - ISF_Fatras: fix status values for secondaries produced by ISF_Fatras
mentioned in merge request !71426 (merged)
added 53 commits
-
0fd2f585...8ef04120 - 49 commits from branch
atlas:main
- 8dcc94e2 - ISF_Fatras: fix status values for secondaries produced by ISF_Fatras
- f8867fe3 - ISFTruthIncident: Improvements to properly update ISFParticles after the Truth...
- cdfbf80b - Use new ISFTruthIncident methods in clients
- bca657e6 - ISF_Fatras - attempt to fix registration of TruthIncidents
Toggle commit list-
0fd2f585...8ef04120 - 49 commits from branch
added 1 commit
- 909136cf - Only update parent ISFParticle properties if it survives the TruthIncident
This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @schaarsc ,@jchapman ,@tcuhadar ,@tadej ,@lmijovic ,@zhangr ,@jbeirer as watchers
CI Result FAILURE (hash 909136cf)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 1
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9641] (remote access info)This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @lmijovic ,@zhangr ,@tadej ,@tcuhadar ,@jchapman ,@schaarsc ,@jbeirer as watchers
added 10 commits
-
cd760c87...422bf14e - 4 commits from branch
atlas:main
- 33bfd7d9 - ISF_Fatras: fix status values for secondaries produced by ISF_Fatras
- b39e0594 - ISFTruthIncident: Improvements to properly update ISFParticles after the Truth...
- 3e00be74 - Use new ISFTruthIncident methods in clients
- 910f017c - ISF_Fatras - attempt to fix registration of TruthIncidents
- 7fcee813 - Only update parent ISFParticle properties if it survives the TruthIncident
- e1fc0f40 - fix compilation issues
Toggle commit list-
cd760c87...422bf14e - 4 commits from branch
This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @schaarsc ,@tadej ,@jchapman ,@zhangr ,@jbeirer ,@tcuhadar ,@lmijovic as watchers
CI Result FAILURE (hash cd760c87)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9652] (remote access info) CI Result FAILURE (hash e1fc0f40)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9654] (remote access info)This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @jbeirer ,@lmijovic ,@zhangr ,@jchapman ,@tadej ,@schaarsc ,@tcuhadar as watchers
CI Result FAILURE (hash 0b38ee77)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 1
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9672] (remote access info)added 91 commits
-
8a88e8f6...ee70a92a - 84 commits from branch
atlas:main
- cab2fa6d - ISF_Fatras: fix status values for secondaries produced by ISF_Fatras
- 4a25497e - ISFTruthIncident: Improvements to properly update ISFParticles after the Truth...
- f9032ffc - Use new ISFTruthIncident methods in clients
- 4eda2368 - ISF_Fatras - attempt to fix registration of TruthIncidents
- b5293cb0 - Only update parent ISFParticle properties if it survives the TruthIncident
- a85e873b - fix compilation issues
- 109895fe - Debugging changes
Toggle commit list-
8a88e8f6...ee70a92a - 84 commits from branch
This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @jbeirer ,@tadej ,@lmijovic ,@schaarsc ,@jchapman ,@zhangr ,@tcuhadar as watchers
CI Result FAILURE (hash 109895fe)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 1
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9691] (remote access info)This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @zhangr ,@tcuhadar ,@schaarsc ,@tadej ,@jchapman ,@lmijovic ,@jbeirer as watchers
- Resolved by John Derek Chapman
CI Result FAILURE (hash bf6fd2ed)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9692] (remote access info)added 14 commits
-
bf6fd2ed...cf502a7a - 4 commits from branch
atlas:main
- 1692dfb6 - ISF_Fatras: fix status values for secondaries produced by ISF_Fatras
- 9ecf2e29 - ISFTruthIncident: Improvements to properly update ISFParticles after the Truth...
- b7b57d1d - Use new ISFTruthIncident methods in clients
- b5b874f0 - ISF_Fatras - attempt to fix registration of TruthIncidents
- cc1da682 - Only update parent ISFParticle properties if it survives the TruthIncident
- d3f396e8 - fix compilation issues
- 28325e15 - Add new TruthBinding::childTruthBinding method to simplify creating...
- fede7573 - G4ParticleDecayHelper - do not add TruthBindings to child particles before...
- f573d92d - Debugging changes
- 1531bb26 - More debugging changes
Toggle commit list-
bf6fd2ed...cf502a7a - 4 commits from branch
added 17 commits
-
1531bb26...4c7dc894 - 8 commits from branch
atlas:main
- cacab74c - ISFTruthIncident: Improvements to properly update ISFParticles after the Truth...
- 07a5d4bf - Use new ISFTruthIncident methods in clients
- 57539f07 - ISF_Fatras - attempt to fix registration of TruthIncidents
- b3c90eb8 - Only update parent ISFParticle properties if it survives the TruthIncident
- 2ada1650 - fix compilation issues
- 71c45fee - Add new TruthBinding::childTruthBinding method to simplify creating...
- 0ecff346 - G4ParticleDecayHelper - do not add TruthBindings to child particles before...
- a84fdbb1 - Debugging changes
- 0b017e20 - More debugging changes
Toggle commit list-
1531bb26...4c7dc894 - 8 commits from branch
This merge request affects 5 packages:
- Simulation/ISF/ISF_Core/ISF_Event
- Simulation/ISF/ISF_Core/ISF_Services
- Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices
- Simulation/ISF/ISF_Fatras/ISF_FatrasTools
- Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4
Affected files list will not be printed in this case
Adding @lmijovic ,@tadej ,@jchapman ,@zhangr ,@tcuhadar ,@schaarsc ,@jbeirer as watchers
CI Result FAILURE (hash 0b017e20)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 2
AthSimulation: number of compilation errors 1, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 9702] (remote access info)added 5 commits
- 587b14ba - Add new TruthBinding::childTruthBinding method to simplify creating...
- 2154d4eb - Use new TruthBinding::childTruthBinding method in ISF_Fatras classes
- 70656351 - G4ParticleDecayHelper - do not add TruthBindings to child particles before...
- 0f01abc7 - Debugging changes
- 9a3c4534 - More debugging changes
Toggle commit listadded 10 commits
- deb9b84c - Add new TruthBinding::childTruthBinding method to simplify creating...
- e7615fd7 - ISFTruthIncident: Improvements to properly update ISFParticles after the Truth...
- f5e16c72 - Use new ISFTruthIncident methods in clients
- e1965b14 - ISF_Fatras - attempt to fix registration of TruthIncidents
- 9e92f1e7 - Only update parent ISFParticle properties if it survives the TruthIncident
- 91583b2d - fix compilation issues
- 67c7eb30 - Use new TruthBinding::childTruthBinding method in ISF_Fatras classes
- 0a820abf - G4ParticleDecayHelper - do not add TruthBindings to child particles before...
- c5b42d05 - Debugging changes
- 7192b01c - More debugging changes
Toggle commit listremoved Run3-AF3-output-changed label