Skip to content
Snippets Groups Projects
Commit 1209e471 authored by Thomas Strebler's avatar Thomas Strebler
Browse files

Drop unused MBB_MASS flag for bbttAnalysis

parent b61a31c3
No related branches found
Tags 0.14.0
No related merge requests found
......@@ -79,7 +79,6 @@ namespace HHBBTT
TWO_JETS,
TWO_BJETS,
ONE_BJET,
MBB_MASS,
N_LEPTONS_CUT_LEPHAD,
ONE_TAU,
OS_CHARGE_LEPHAD,
......
......@@ -354,8 +354,6 @@ namespace HHBBTT
// jet
//************
int n_jets = 0;
TLorentzVector bb(0, 0, 0, 0);
float mbb = 0;
bool WPgiven = !m_isBtag.empty();
auto bjets = std::make_unique<ConstDataVector<xAOD::JetContainer>>(
SG::VIEW_ELEMENTS);
......@@ -392,8 +390,6 @@ namespace HHBBTT
if (bjets->size() == 2)
{
m_bools.at(HHBBTT::TWO_BJETS) = (bjets->at(0)->pt() > 45. * Athena::Units::GeV && bjets->at(1)->pt() > 20. * Athena::Units::GeV);
bb = bjets->at(0)->p4() + bjets->at(1)->p4();
mbb = bb.M();
} else if (bjets->size() == 1) {
m_bools.at(HHBBTT::ONE_BJET) = (bjets->at(0)->pt() > 45. * Athena::Units::GeV);
}
......@@ -404,8 +400,6 @@ namespace HHBBTT
//****************
// event level info
//****************
if (mbb < 150. * Athena::Units::GeV)
m_bools.at(HHBBTT::MBB_MASS) = true;
if (n_taus==1 && n_leptons==1 && tau0->charge() != charge_lepton)
m_bools.at(HHBBTT::OS_CHARGE_LEPHAD) = true;
if (n_taus==2 && tau0->charge() == -tau1->charge())
......
......@@ -170,7 +170,6 @@ private:
{HHBBTT::TWO_JETS, "TWO_JETS"},
{HHBBTT::TWO_BJETS, "TWO_BJETS"},
{HHBBTT::ONE_BJET, "ONE_BJET"},
{HHBBTT::MBB_MASS, "MBB_MASS"},
{HHBBTT::N_LEPTONS_CUT_LEPHAD, "N_LEPTONS_CUT_LEPHAD"},
{HHBBTT::ONE_TAU, "ONE_TAU"},
{HHBBTT::OS_CHARGE_LEPHAD, "OS_CHARGE_LEPHAD"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment