WIP: Adding keep children strategy
The idea of this strategy is as a replacement for !27797 After chatting with John Chapman, we realized that we could set up a truth strategy that only modifies the keep children setting of the truth incident. This does *not* modify the decision about the strategy (keep or throw away the vertex); it only modifies the setting of keep children. This can be used on top of existing truth strategies to change their behavior, for example by keeping all the decay products of an LLP or keeping all the decay products of a hadronic interaction, even in a mode where they would normally be dropped. Two example configurations are given.
Showing
- Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/python/ISF_HepMC_ToolsConfig.py 13 additions, 0 deletions...ISF_HepMC/ISF_HepMC_Tools/python/ISF_HepMC_ToolsConfig.py
- Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/python/ISF_HepMC_ToolsConfigDb.py 3 additions, 0 deletions...F_HepMC/ISF_HepMC_Tools/python/ISF_HepMC_ToolsConfigDb.py
- Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/src/KeepChildrenTruthStrategy.cxx 110 additions, 0 deletions...F_HepMC/ISF_HepMC_Tools/src/KeepChildrenTruthStrategy.cxx
- Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/src/KeepChildrenTruthStrategy.h 68 additions, 0 deletions...ISF_HepMC/ISF_HepMC_Tools/src/KeepChildrenTruthStrategy.h
- Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/src/components/ISF_HepMC_Tools_entries.cxx 2 additions, 0 deletions...SF_HepMC_Tools/src/components/ISF_HepMC_Tools_entries.cxx
Please register or sign in to comment