cms-analysis / flashgg

20 stars 158 forks source link

Saving LHE Monte Carlo truth informations for later MELA reweighting and VBF DNN calculation #1278

Closed emanueledimarco closed 2 years ago

emanueledimarco commented 2 years ago

There are two main additions in this pull-requests:

  1. The saving in the output trees of the LHE Monte Carlo truth information. This uses a simplified version of the code developed for NanoAOD to add part of the information in the final ntuples as simple arrays. The rest of the tree structure is untouched
  2. in a similar way the VBF MVA for the SM analysis, a training devoted to the Anomalous Couplings for VBF is added (the training file is in the common area, so readable by everyone).

Then there is a subfolder with VBF Ac specific python configs in Taggers/test directory, clearly based on the STXS example (thanks @edjtscott ). Let me know if I should trim the PR to only the LHE part, or also the remaining stuff can go.