Skip to content

Commit

Permalink
Updating JVT default settings, requires AnalysisBase,21.2.123+ for PF…
Browse files Browse the repository at this point in the history
…low fJVT SFs (#1444)
  • Loading branch information
mattleblanc authored May 26, 2020
1 parent c46b962 commit b3feeb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions Root/JetSelector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ EL::StatusCode JetSelector :: initialize ()
ANA_CHECK( ASG_MAKE_ANA_TOOL(m_fJVT_eff_tool_handle, CP::JetJvtEfficiency));
ANA_CHECK( m_fJVT_eff_tool_handle.setProperty("WorkingPoint", m_WorkingPointfJVT ));
ANA_CHECK( m_fJVT_eff_tool_handle.setProperty("SFFile", m_SFFilefJVT ));
ANA_CHECK( m_fJVT_eff_tool_handle.setProperty("UseMuSFFormat", m_UseMuSFFormatfJVT ));
ANA_CHECK( m_fJVT_eff_tool_handle.setProperty("ScaleFactorDecorationName", "fJVTSF"));
ANA_CHECK( m_fJVT_eff_tool_handle.setProperty("OutputLevel", msg().level()));
ANA_CHECK( m_fJVT_eff_tool_handle.retrieve());
Expand Down
12 changes: 8 additions & 4 deletions xAODAnaHelpers/JetSelector.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class JetSelector : public xAH::Algorithm
@endrst
*/
std::string m_WorkingPointJVT = "Medium";
std::string m_WorkingPointJVT = "Tight";

/**
@brief Configuration containting JVT scale factors.
Expand All @@ -172,7 +172,7 @@ class JetSelector : public xAH::Algorithm
See :https://twiki.cern.ch/twiki/bin/view/AtlasProtected/JVTCalibration for latest recommendation.
@endrst
*/
std::string m_SFFileJVT = "JetJvtEfficiency/Moriond2017/JvtSFFile_EM.root";
std::string m_SFFileJVT = "JetJvtEfficiency/Moriond2018/JvtSFFile_EMPFlow.root";
std::string m_outputSystNamesJVT = "JetJvtEfficiency_JVTSyst";

float m_systValJVT = 0.0;
Expand All @@ -194,7 +194,7 @@ class JetSelector : public xAH::Algorithm
See :https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/FJVTCalibration for more information.
@endrst
*/
std::string m_WorkingPointfJVT = "Medium";
std::string m_WorkingPointfJVT = "Loose";

/**
@brief Configuration containting fJVT scale factors.
Expand All @@ -205,7 +205,11 @@ class JetSelector : public xAH::Algorithm
See :https://twiki.cern.ch/twiki/bin/view/AtlasProtected/FJVTCalibration for latest recommendation.
@endrst
*/
std::string m_SFFilefJVT = "JetJvtEfficiency/Moriond2016_v2/fJvtSFFile.root";

// Set the correct SF file and format
std::string m_SFFilefJVT = "JetJvtEfficiency/May2020/fJvtSFFile.EMPFlow.root";
bool m_UseMuSFFormatfJVT = true; // To account for new SF binning

std::string m_outputSystNamesfJVT = "JetJvtEfficiency_fJVTSyst";

float m_systValfJVT = 0.0;
Expand Down

0 comments on commit b3feeb1

Please sign in to comment.