Draft: Adapted secondary origin labeling scheme in InDetTruthOriginTool
This is a small overhaul of how the detector simulation secondaries are categorized in the InDetTruthOriginTool
.
Before the condition separating decays in flight (or long lived particle decays) and hadronic interactions (with material) was: For a decay the parent has exactly 2 children and for a hadronic interaction the parent has >2 children. This was a good approximation, but not really ideal (e.g. some strange hadrons decaying with a non-negligible branching ratio in more than 2 particles).
Merge request reports
Activity
requested review from @svanstro
- Resolved by Samuel Van Stroud
112 112 origin = origin | (0x1 << InDet::TrkOrigin::GammaConversion); 113 113 } 114 114 115 // other secondaries 116 else if(!parent->isHadron()) { 117 origin = origin | (0x1 << InDet::TrkOrigin::OtherSecondary); 118 } 119 120 // WIP: condition differentiating decays and hadronic interactions 121 // Either something like |E_parent - E_all_children| < 100 MeV 122 // Or use the invariant mass of the production vertex (decay vertex of the parent) 123 // 124 // hadronic interactions 125 // else if(!WorkInProgress) { 126 // origin = origin | (0x1 << InDet::TrkOrigin::HadronicInteraction); 127 // } - Comment on lines +124 to +127
If we put this now below the strange checks, then we will put all hadronic interactions caused by strange hadrons into the decay categories. In this talk on slide 6 you can see that also quite a few strange hadrons are decayed by material interaction and not decay in flight (by the bumps in the decay spectrum at Lxy where material is). So I would make the "hadronic interaction/decay in flight" split and only after that check, which decay in flight it actually is (if it is one).
Edited by Nils Benedikt Krengel
Hi Sam, the plan was to close it actually. Did it just now. In short, an approach utilizing the whole truth information of a detector simulation vertex to differentiate hadronic interactions from decays in flight is only viable with Non GEANT thinning samples. So for our purposes or rather for this tool it is not so sensible.