HH-->yybb selections and cut flow
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 ifwrite_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 defaultfloatVars
includes bothGN2
andDL1
?
- Added variables to
-
EasyjetHub/python/output/ttree/small_R_jets.py
:- Addition of
DL1dv01
andDL1r
variables only ifwrite_small_R_gn2_branches
and not running PHYSLITE becauseDL1r
not saved in PHYSLITE as far as I understand.
- Addition of
-
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 forminimumAmount
.
- Addition of
-
EasyjetHub/src/JetSelectorAlg.h
:- Addition of
maximumAmount
variable.
- Addition of
-
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.
- Removed assertion of
-
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.