drkovalskyi / Bmm5

BsToMuMu analysis code for CMS experiment at CERN
1 stars 6 forks source link

Add sim-matched muon info #3

Closed drkovalskyi closed 4 years ago

drkovalskyi commented 4 years ago

We need to be able to match muons to hadrons for the decay in flight. This information is available in recent MC reconstruction cycles. Not sure we will have it for all years. So it may help to add dR matching as well.

drkovalskyi commented 4 years ago

Will implement dR matching to pat::PackedGenParticle. This should be a more universal solution. It may not work for decay in flight with a large kink in the trajectory, but it's most likely not an issue. Test it on B→hh.

drkovalskyi commented 4 years ago

Fixed in a4d86e726a21252efc1441b013caed980ad0277d