HEP-KBFI / TallinnNtupleProducer

code, python scripts and config files for producing "plain" Tallinn Ntuples
3 stars 2 forks source link

Use trigger object matching when calculating tau trigger SF #24

Open ktht opened 2 years ago

ktht commented 2 years ago

This should be particularly relevant in 0l+4tau and 1l+3tau, where we don't necessarily know which of the selected taus triggered the di-tau or lepton+tau cross-trigger, which is the reason why the current code tries all possible permutations of various triggering scenarios to estimate the SF. Unless I'm missing something crucial here, the ambiguities can be resolved by finding the trigger(s) that the selected hadronic taus have fired, and compute the SF just for those trigger(s).