 |
ATLAS Offline Software
|
Go to the documentation of this file.
17 :
asg::AsgMetadataTool( sName )
18 , m_tCommonSmearingTool(sName+
"_CommonSmearingTool", this)
29 ATH_MSG_WARNING(
"Truth match check will be skipped. This is ONLY FOR TESTING PURPOSE!");
32 std::string sDirectory =
"TauAnalysisTools/" + std::string(sSharedFilesVersion) +
"/Smearing/";
38 return StatusCode::FAILURE;
42 ATH_MSG_WARNING(
"No fast-sim recommendation for tau smearing is available, using full sim");
53 ATH_MSG_WARNING(
"2022-prerec tag are pre-recommendations superseeded by 2025-prerec");
57 return StatusCode::FAILURE;
62 return StatusCode::FAILURE;
66 ATH_MSG_WARNING(
"No fast-sim recommendation for tau smearing is available, using full sim");
78 return StatusCode::FAILURE;
92 if (!
registry.registerSystematics(*
this)) {
94 return StatusCode::FAILURE;
97 return StatusCode::SUCCESS;
104 if (
inputMetaStore()->contains<xAOD::FileMetaData>(
"FileMetaData")) {
107 std::string simType(
"");
112 if( simType.find(
"ATLFAST3") != std::string::npos && !
m_useFastSim){
113 ATH_MSG_WARNING(
"Input file is AF3 sample but you are _not_ using AF3 corrections and uncertainties, you should set \"useFastSim\" to \"true\"");
114 }
else if (simType.find(
"FULLG4")!=std::string::npos &&
m_useFastSim){
115 ATH_MSG_WARNING(
"Input file is full simulation but you are using AF3 corrections and uncertainties, you should set \"useFastSim\" to \"false\"");
119 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.