 |
ATLAS Offline Software
|
Go to the documentation of this file.
19 :
asg::AsgMetadataTool( sName )
20 , m_tCommonSmearingTool(sName+
"_CommonSmearingTool", this)
33 ATH_MSG_WARNING(
"Truth match check will be skipped. This is ONLY FOR TESTING PURPOSE!");
36 std::string sDirectory =
"TauAnalysisTools/" + std::string(sSharedFilesVersion) +
"/Smearing/";
42 return StatusCode::FAILURE;
46 ATH_MSG_WARNING(
"No fast-sim recommendation for tau smearing is available, using full sim");
57 ATH_MSG_WARNING(
"2022-prerec tag are pre-recommendations superseeded by 2025-prerec");
61 return StatusCode::FAILURE;
66 return StatusCode::FAILURE;
70 ATH_MSG_WARNING(
"No fast-sim recommendation for tau smearing is available, using full sim");
82 return StatusCode::FAILURE;
96 if (!
registry.registerSystematics(*
this)) {
98 return StatusCode::FAILURE;
101 return StatusCode::SUCCESS;
108 if (
inputMetaStore()->contains<xAOD::FileMetaData>(
"FileMetaData")) {
111 std::string simType(
"");
116 if( simType.find(
"ATLFAST3") != std::string::npos && !
m_useFastSim){
117 ATH_MSG_WARNING(
"Input file is AF3 sample but you are _not_ using AF3 corrections and uncertainties, you should set \"useFastSim\" to \"true\"");
118 }
else if (simType.find(
"FULLG4")!=std::string::npos &&
m_useFastSim){
119 ATH_MSG_WARNING(
"Input file is full simulation but you are using AF3 corrections and uncertainties, you should set \"useFastSim\" to \"false\"");
123 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Class to wrap a set of SystematicVariations.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a tau jet.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
#define ATH_MSG_WARNING(x)
This module implements the central registry for handling systematic uncertainties with CP tools.
Return value from object correction CP tools.
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.