1 #ifndef _TIMBER_JME_COMMON 2 #define _TIMBER_JME_COMMON 3 #include "CondFormats/JetMETObjects/interface/JetCorrectorParameters.h" 4 #include "CondFormats/JetMETObjects/interface/JetCorrectionUncertainty.h" 5 #include "JetMETCorrections/Modules/interface/JetResolution.h" 8 using str = std::string;
43 str
_GetPath(str tarfile, str jmefile);
59 const str _jecTag, _jetType;
60 const str _jesArchivePath;
61 str GetLevelStr(str level);
62 str GetPath(str level);
82 str GetTxtFileStr(str level);
90 JetCorrectorParameters GetParameters(str level, str uncertType =
"");
98 const str _jerTag, _jetType;
99 const str _jerArchivePath;
101 str GetPath(str resOrSF);
102 str GetTxtFileStr(str resOrSF);
122 JME::JetResolution GetResolution();
128 JME::JetResolutionScaleFactor GetSF();
C++ class to handle the extraction of JES objects (aka JEC) starting from the JEC tags and jet types...
Definition: JME_common.h:57
const str _jmeArchivePath
Full path to the tarball archives being accessed.
Definition: JME_common.h:23
JMEpaths()
Construct a new JMEpaths object.
Definition: JME_common.cc:5
const str _timberPath
Full path to TIMBER's home.
Definition: JME_common.h:19
str _GetPath(str tarfile, str jmefile)
Extract jmefile from tarfile into a temporary directory and return the path to that directory...
Definition: JME_common.cc:10
str _GetTxtFileStr(str tarfile, str jmefile)
Extract jmefile from tarfile into a string which is returned.
Definition: JME_common.cc:15
C++ class to handle the extraction of JER objects starting from the JER tags and jet types...
Definition: JME_common.h:96
C++ class. Parent class to handle shared attributes and methods among JESpaths and JERpaths...
Definition: JME_common.h:14
C++ class. Creates a temporary directory that is destroyed on delete.
Definition: common.h:318
TempDir _tempdir
Temporary directory object which makes and deletes a staging area for the extracted JME text files...
Definition: JME_common.h:28