Skip to content

HH-->yybb selections and cut flow

Abraham Tishelman-Charny requested to merge atishelm/easyjet:yybb_dev into master

The purpose of this MR is to include changes to the yybb configuration, including the addition of booleans to keep track of which selections an event passes. The changes were made by @smeriano and myself. Making the merge request now in the interest of avoiding diverging the yybb development too far from easyjet/master.

Files updated:

  • EasyjetHub/python/output/ttree/btag_decor_config.py:

    • Added variables to BTaggingDecoratorAlg, only if write_small_R_gn2_branches in config. Not sure if this is general enough but please let us know. Might want to change this a little since the default floatVars includes both GN2 and DL1?
  • EasyjetHub/python/output/ttree/small_R_jets.py:

    • Addition of DL1dv01 and DL1r variables only if write_small_R_gn2_branches and not running PHYSLITE because DL1r not saved in PHYSLITE as far as I understand.
  • EasyjetHub/src/JetSelectorAlg.cxx:

    • Addition of maximumAmount of jets. Found this useful for yybb. Should probably add a null value to ignore this parameter if desired like we have for minimumAmount.
  • EasyjetHub/src/JetSelectorAlg.h:

    • Addition of maximumAmount variable.
  • EasyjetHub/src/PhotonSelectorAlg.cxx:

    • Only saving photons which pass a loose selection of criteria as defined by Run 2 yybb. However would understand if this should be less yybb specific in case other analyses want to use photons and not necessarily make loose selections defined by yybb.
  • HH4bAnalysis/python/config/yybb_config.py:

    • Removed looping over b tag working points. Added photon and jet kinematic variables.
  • HH4bAnalysis/python/utils/option_validation.py:

    • Removed assertion of do_small_R_jets for yybb.
  • HH4bAnalysis/share/RunConfig-PHYS-yybb.yaml:

    • Changed default Photon working point to be more inclusive to perform cutflow and comparison studies.
  • HH4bAnalysis/share/RunConfig-PHYSLITE-yybb.yaml:

    • Changed default Photon working point to be more inclusive to perform cutflow and comparison studies.
  • HH4bAnalysis/src/BaselineVarsyybbAlg.cxx:

    • Checking of cut flow variables, and decoration of EventInfo with them and photon/jet kinematics.
  • HH4bAnalysis/src/BaselineVarsyybbAlg.h:

    • Addition of cut flow variables and photon/jet kinematics.

cc: @bbullard @chweber @losanti @gdigrego @vcairo

Edited by Abraham Tishelman-Charny

Merge request reports

Loading