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;
94 return StatusCode::FAILURE;
97 return StatusCode::SUCCESS;
107 std::string simType(
"");
110 if(
result) std::transform(simType.begin(), simType.end(), simType.begin(), ::toupper);
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;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
static const char *const sSharedFilesVersion
Version of the calibration files.
Return value from object correction CP tools.
This module implements the central registry for handling systematic uncertainties with CP tools.
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.
StatusCode registerSystematics(const IReentrantSystematicsTool &tool)
effects: register all the systematics from the tool
Class to wrap a set of SystematicVariations.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
TauJet_v3 TauJet
Definition of the current "tau version".
FileMetaData_v1 FileMetaData
Declare the latest version of the class.