DerivationFrameworkHiggs Add new derivation (HDBS1) and implement code modifications required for it

Nadav Michael Tamir requested to merge (removed):21.2-HDBS1DerDev2-09012019 into 21.2

This MR is made in order to add a new derivation (named HDBS1), deemed necessary for ttX(X->tautau) analysis. The derivation was modified from HIGG4D6 and implemented through rather simple code modifications in HIGG4Dx files that it uses.

An addition to is implemented in the last code block that runs a custom boosted Ditau reconstruction which is crucial to the analysis (default DiTauRec for AODs uses high-pt seed jets while the analysis requires a lower pt cut on seed jets). Skimming is defined in, runs in two steps (similar to HIGG4D6). Thinning is implemented in, where an addition was made of a tool to thin the newly created low-pt ditau container. Slimming is implemented in HIGG4DxSlimming, where some additions and modifications were implemented (adding the low-pt ditau container to the output, removing some jet containers from the output to reduce size).

The derivation was used privately (as a modified HIGG4D6) to produce signal and background DAODs from simulation (both locally and on the grid) and runs without crashing, the output DAODs have been checked on multiple occasions using both the scripts and the CxAOD framework that runs on these samples. The derivation was also tested on data AODs and events were found and saved (and DAODs were processed successfully in CxAOD framwork).

Much effort was made to minimize the output DAOD file sizes without compromising the analysis. The derivation yields an AOD->DAOD size fraction of ~5.5% for signal samples and ~4% for background samples (tested for two of the most major backgrounds to analysis, ttbar and ttZ), and the go-ahead to submit this merge request was agreed upon in the analysis group meeting on January 8th (

Merge request reports