Skip to content

Update to selections framework

Vanya Belyaev requested to merge vanya-selections-v50 into run2-patches

Fix-and-upodate selectinos :

  • ConstantMomentumScaling : fix a bug, causing "disappearence" of 2/3-3/4 of simulated events (thanks to Dima Golubkov @dgolubko )
  • MCMatchSelection : add tiny wrapper that helps a lot
  • RebuildSelection : extend it for a bit less trivial cases, eg. pi0, eta, ...
   from StandardParticles import StdAllNoPIDsKaons as kaons
   from PhysConf.Selections import MCMatchSelection
   kaons = MCMatchSelection ( kaons , 'phi(1020) => ^K+ ^K-' , charged_only = True ) 

the MR is prepared fro run2-patches branch, but it will be nice to propagate it to other branches also

Edited by Eduardo Rodrigues

Merge request reports