uhh-cms / hh2bbww

HH -> bbWW Analysis based on columnflow, law and order.
GNU General Public License v3.0
6 stars 9 forks source link

Feature/trigger matching + double counting #86

Closed mafrahm closed 2 months ago

mafrahm commented 2 months ago

This PR adds trigger object matching and cross cleaning between different data streams. To achieve the trigger object matching, the trigger Selector has been reimplemented using a newly created Trigger collection from the config.

The strategy for the cross cleaning is as follows:

Our data stream priority is data_mu>data_egamma>data_muoneg. Therefore events are kept as follows:

This means that we can (and need to) run over all data streams independent of the lepton channel when creating data/mc plots.

Currently, the trigger selection simply uses all triggers that are present in the cfg.x.triggers collection. To customize our dl selector, we can overwrite the trigger_config_func attribute via derive, which is a function that can modify the config during the init call of our selector.

TODO: we still need to implement these new selectors in the sl selector.