Skip to content
Snippets Groups Projects
Commit 15f85ef5 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'gcc11.MuonEfficiencyCorrections-20201218' into 'master'

MuonEfficiencyCorrections: Fix gcc11 warning.

See merge request atlas/athena!39330
parents b3ce0a1d ce969569
No related branches found
No related tags found
No related merge requests found
...@@ -86,9 +86,12 @@ namespace TestMuonSF { ...@@ -86,9 +86,12 @@ namespace TestMuonSF {
MuonSFBranches::MuonSFBranches(TTree* tree, const ToolHandle<CP::IMuonEfficiencyScaleFactors> &handle, const std::string& rel_name) : MuonSFBranches::MuonSFBranches(TTree* tree, const ToolHandle<CP::IMuonEfficiencyScaleFactors> &handle, const std::string& rel_name) :
MuonEffiBranches(tree), MuonEffiBranches(tree),
m_handle(handle), m_handle(handle),
m_uncorrelate_sys(dynamic_cast<const CP::MuonEfficiencyScaleFactors*>(handle.operator->())->uncorrelate_sys()),
m_release(rel_name), m_release(rel_name),
m_SFs() { m_SFs()
{
auto mesf = dynamic_cast<const CP::MuonEfficiencyScaleFactors*>(handle.operator->());
if (!mesf) std::abort();
m_uncorrelate_sys = mesf->uncorrelate_sys();
} }
CP::CorrectionCode MuonSFBranches::fill(const xAOD::Muon& muon) { CP::CorrectionCode MuonSFBranches::fill(const xAOD::Muon& muon) {
/// Only the raw systematic sets have been activated /// Only the raw systematic sets have been activated
......
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