Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/UCATLAS/xAODAnaHelpers into…
Browse files Browse the repository at this point in the history
… metaFlags
  • Loading branch information
Sagar Addepalli committed Jan 24, 2024
2 parents 741ec57 + 54f6bf2 commit 0bf3337
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
4 changes: 4 additions & 0 deletions Root/BJetEfficiencyCorrector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ EL::StatusCode BJetEfficiencyCorrector :: initialize ()
ANA_CHECK( m_BJetEffSFTool_handle.setProperty("EfficiencyLightCalibrations", calibration));
}

ANA_CHECK( m_BJetEffSFTool_handle.setProperty("EigenvectorReductionB" , m_EigenvectorReductionB) );
ANA_CHECK( m_BJetEffSFTool_handle.setProperty("EigenvectorReductionC" , m_EigenvectorReductionC) );
ANA_CHECK( m_BJetEffSFTool_handle.setProperty("EigenvectorReductionLight" , m_EigenvectorReductionLight) );

ANA_CHECK( m_BJetEffSFTool_handle.retrieve());
ANA_MSG_DEBUG("Retrieved tool: " << m_BJetEffSFTool_handle);

Expand Down
2 changes: 2 additions & 0 deletions Root/HelperFunctions.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ std::vector< CP::SystematicSet > HelperFunctions::getListofSystematics(const CP:
}

outSystList.back().insert(CP::SystematicVariation (syst.basename(), systVal));
outSystList.push_back(CP::SystematicSet());
outSystList.back().insert(CP::SystematicVariation (syst.basename(), -1.0*fabs(systVal)));

} else {
// not a continuous system
Expand Down
12 changes: 6 additions & 6 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
alabaster==0.7.12
Babel==2.9.1
beautifulsoup4==4.8.1
breathe==4.13.1
breathe==4.35.0
bs4==0.0.1
certifi==2023.7.22
chardet==3.0.4
docutils==0.15.2
exhale==0.2.3
idna==2.8
imagesize==1.1.0
Jinja2==2.11.3
Jinja2==3.1.3
lxml==4.9.1
MarkupSafe==1.1.1
MarkupSafe==2.1.3
packaging==19.2
Pygments==2.15.0
pyparsing==2.4.5
Expand All @@ -21,13 +21,13 @@ requests==2.31.0
six==1.13.0
snowballstemmer==2.0.0
soupsieve==1.9.5
Sphinx==2.2.1
Sphinx==4.5.0
sphinx-argparse==0.2.5
sphinx-rtd-theme==0.4.3
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-serializinghtml==1.1.5
urllib3==1.26.18
5 changes: 5 additions & 0 deletions xAODAnaHelpers/BJetEfficiencyCorrector.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ class BJetEfficiencyCorrector : public xAH::Algorithm
/// @brief Example: "410470;410250;410558;410464" (Pythia8,Sherpa22,Herwig7,MG)
std::string m_EfficiencyCalibration = "";

/// @brief To change NP scheme for b-tagging systematics - Loose is the default value in athena
std::string m_EigenvectorReductionB = "Loose";
std::string m_EigenvectorReductionC = "Loose";
std::string m_EigenvectorReductionLight = "Loose";

private:

/// @brief The decoration key written to passing objects
Expand Down

0 comments on commit 0bf3337

Please sign in to comment.