Skip to content
Snippets Groups Projects
Commit 69309b72 authored by Hass AbouZeid's avatar Hass AbouZeid
Browse files

SUSYTools: Fix for error in TAT and update use of elec charge eff corr tool

parent 11366007
No related branches found
No related tags found
No related merge requests found
......@@ -435,7 +435,6 @@ float SUSYObjDef_xAOD::GetSignalElecSF(const xAOD::Electron& el,
result = m_elecEfficiencySFTool_chf->getEfficiencyScaleFactor(el, chf_sf);
switch (result) {
case CP::CorrectionCode::Ok:
dec_sfChIDEff(el) = chf_sf;
sf *= chf_sf;
break;
case CP::CorrectionCode::Error:
......@@ -454,17 +453,20 @@ float SUSYObjDef_xAOD::GetSignalElecSF(const xAOD::Electron& el,
switch (result) {
case CP::CorrectionCode::Ok:
sf *= chf_sf;
dec_sfChIDEff(el) = chf_sf;
break;
case CP::CorrectionCode::Error:
ATH_MSG_ERROR( "Failed to retrieve signal electron charge efficiency correction SF");
break;
case CP::CorrectionCode::OutOfValidityRange:
ATH_MSG_VERBOSE( "OutOfValidityRange found for signal electron charge efficiency correction SF");
// Range determined by bin range in configured correction file (CorrectionFileName)
// Run m_elecChargeEffCorrTool with message level VERBOSE to print out range
ATH_MSG_DEBUG( "OutOfValidityRange found for signal electron charge efficiency correction SF. Setting SF = 1");
dec_sfChIDEff(el) = 1;
break;
default:
ATH_MSG_WARNING( "Don't know what to do for signal electron charge efficiency correction SF");
}
}
}
dec_effscalefact(el) = sf;
......
......@@ -7,6 +7,6 @@ AbsCharge: 1
NTracks: 1; 3
JetIDWP: JETIDBDTLOOSE
EleOLR: True
EleBDTWP: ELEIDBDTLOOSE
EleBDTWP: ELEIDBDTOLDLOOSE
# EOF
\ No newline at end of file
......@@ -7,6 +7,6 @@ AbsCharge: 1
NTracks: 1; 3
JetIDWP: JETIDBDTMEDIUM
EleOLR: True
EleBDTWP: ELEIDBDTLOOSE
EleBDTWP: ELEIDBDTOLDLOOSE
# EOF
\ No newline at end of file
......@@ -7,6 +7,6 @@ AbsCharge: 1
NTracks: 1; 3
JetIDWP: JETIDBDTTIGHT
EleOLR: True
EleBDTWP: ELEIDBDTLOOSE
EleBDTWP: ELEIDBDTOLDLOOSE
# EOF
\ No newline at end of file
......@@ -7,6 +7,6 @@ AbsCharge: 1
NTracks: 1; 3
JetIDWP: JETIDBDTVERYLOOSE
EleOLR: True
EleBDTWP: ELEIDBDTLOOSE
EleBDTWP: ELEIDBDTOLDLOOSE
# EOF
\ No newline at end of file
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