Introduce LepHad and HadHad bbtt booleans to simplify MMC configs
Follow up to !700 (merged) (FYI @dafiacco) + part of general bbtt boolean clarification (FYI @kifarman @sdahbi)
!700 (merged) introduced:
-
passDBT
in the python configMMCSelectorAlg
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
andHHBBTT::HadHad
are changed intoHHBBTT::LepHad2B
andHHBBTT::HadHad2B
- boolean flags
pass_Lep/HadHad_2B
,pass_Lep/HadHad_1B
andpass_Lep/HadHad
are introduced, combining all of the relevant subcategories (SLT + LTT for lephad, STT + DTT + DBT for hadhad) -
pass_LepHad
andpass_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