Skip to content
Snippets Groups Projects
Commit 48d8572f authored by Oana Vickey Boeriu's avatar Oana Vickey Boeriu
Browse files

Merge branch 'fdibello_ttFix' into '21.2'

Fixing truthTag for DL1r

See merge request atlas/athena!44342
parents 7d70dde3 b67c180b
No related merge requests found
......@@ -686,7 +686,10 @@ StatusCode BTaggingTruthTaggingTool::getAllEffMCCDI(TRFinfo &trfinf){
trfinf.jets.at(i).vars.jetTagWeight = (m_binEdges.at(OP_index)+m_binEdges.at(OP_index+1))/2.; //to-do: make it fancy? random distribution inside the bin probably?
}
else{
trfinf.jets.at(i).vars.jetTagWeight = (m_binEdges.at(OP_index)+1)/2.; //only for 60% WP
float UpperScore = +1.0;
if(m_taggerName.find("MV2") != string::npos){ UpperScore = 1.0; }
if(m_taggerName.find("DL1") != string::npos){ UpperScore = 20.0; }
trfinf.jets.at(i).vars.jetTagWeight = (m_binEdges.at(OP_index)+UpperScore)/2.; //only for 60% WP
}
CorrectionCode code = m_effTool->getMCEfficiency(trfinf.jets.at(i).flav, trfinf.jets.at(i).vars, eff_all) ;
......
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