Open moritzmolch opened 1 month ago
Producers have been added to the config via this pull request: https://github.com/KIT-CMS/TauAnalysis-CROWN/pull/50.
@harrypuuter I added your suggestions, the compiled binary runs on a DY sample without errors. I still have to check if the functions' outputs are reasonable.
Thanks for all the checks @harrypuuter ! As it is now this PR would only be merged to my nmssm_devs branch. I guess we could merge it directly into the main branch, since nothing directly related to the NMSSM analysis is involved in the code changes.
yes, i would merge this directly to main as well
This pull request introduces functions to calculate quantities, which are related to the hadronic recoil in an event.
hadrecoil::scalar_ht
takes a jet pt column and a column with indices of selected jets as input. The output is the scalar sum of the magnitude of the transverse momentum of the selected jets.hadrecoil::vectorial_mht
takes a jet pt column, a jet phi column and a column with indices of selected jets as input. The output is the negative vectorial sum of the transverse momentum vectors of the selected jets.TODOs: