Skip to content

Introduce LepHad and HadHad bbtt booleans to simplify MMC configs

Thomas Strebler requested to merge tstreble/easyjet:MMC_sel_flags into main

Follow up to !700 (merged) (FYI @dafiacco) + part of general bbtt boolean clarification (FYI @kifarman @sdahbi)

!700 (merged) introduced:

  • passDBT in the python config MMCSelectorAlg but didn't introduce the corresponding C++ property
  • didn't include passDBT_1B in the hadhad_1B channel selections
else if(channel == HHBBTT::HadHad) pass |= (m_bools.at(HHBBTT::pass_STT) || m_bools.at(HHBBTT::pass_DTT) || m_bools.at(HHBBTT::pass_DBT));
else if(channel == HHBBTT::HadHad1B) pass |= (m_bools.at(HHBBTT::pass_STT_1B) || m_bools.at(HHBBTT::pass_DTT_1B));

In order to simplify the configuration of the MMC alg + to clarify the bbtt booleans, the following updates are implemented:

  • the channel enums HHBBTT::LepHad and HHBBTT::HadHad are changed into HHBBTT::LepHad2B and HHBBTT::HadHad2B
  • boolean flags pass_Lep/HadHad_2B, pass_Lep/HadHad_1B and pass_Lep/HadHad are introduced, combining all of the relevant subcategories (SLT + LTT for lephad, STT + DTT + DBT for hadhad)
  • pass_LepHad and pass_HadHad are used to configure the MMC related algorithms
  • the unused do_baseline option is dropped from the config, to avoid the duplication of the flags

FYI @pbokan @bmoser @mfujimot @shahzad

Merge request reports