4 #include "Kappa/DataFormats/interface/Kappa.h"
6 #include "Artus/Utility/interface/ArtusLogging.h"
7 #include "Artus/KappaAnalysis/interface/KappaEnumTypes.h"
176 if (metUncertainty ==
"JetResUp")
return KMETUncertainty::JetResUp;
177 else if (metUncertainty ==
"JetResDown")
return KMETUncertainty::JetResDown;
178 else if (metUncertainty ==
"JetEnUp")
return KMETUncertainty::JetEnUp;
179 else if (metUncertainty ==
"JetEnDown")
return KMETUncertainty::JetEnDown;
180 else if (metUncertainty ==
"MuonEnUp")
return KMETUncertainty::MuonEnUp;
181 else if (metUncertainty ==
"MuonEnDown")
return KMETUncertainty::MuonEnDown;
182 else if (metUncertainty ==
"ElectronEnUp")
return KMETUncertainty::ElectronEnUp;
183 else if (metUncertainty ==
"ElectronEnDown")
return KMETUncertainty::ElectronEnDown;
184 else if (metUncertainty ==
"TauEnUp")
return KMETUncertainty::TauEnUp;
185 else if (metUncertainty ==
"TauEnDown")
return KMETUncertainty::TauEnDown;
186 else if (metUncertainty ==
"UnclusteredEnUp")
return KMETUncertainty::UnclusteredEnUp;
187 else if (metUncertainty ==
"UnclusteredEnDown")
return KMETUncertainty::UnclusteredEnDown;
188 else if (metUncertainty ==
"PhotonEnUp")
return KMETUncertainty::PhotonEnUp;
189 else if (metUncertainty ==
"PhotonEnDown")
return KMETUncertainty::PhotonEnDown;
190 else if (metUncertainty ==
"NoShift")
return KMETUncertainty::NoShift;
191 else if (metUncertainty ==
"METUncertaintySize")
return KMETUncertainty::METUncertaintySize;
192 else if (metUncertainty ==
"JetResUpSmear")
return KMETUncertainty::JetResUpSmear;
193 else if (metUncertainty ==
"JetResDownSmear")
return KMETUncertainty::JetResDownSmear;
194 else if (metUncertainty ==
"METFullUncertaintySize")
return KMETUncertainty::METFullUncertaintySize;
195 else return KMETUncertainty::NoShift;
196 LOG(FATAL) <<
"You need to specify an implemented MET uncertainty in your config.";
SvfitCacheMissBehaviour
Definition: HttEnumTypes.h:92
static DataMcScaleFactorProducerMode ToDataMcScaleFactorProducerMode(std::string const &dataMcScaleFactorProducerMode)
Definition: HttEnumTypes.h:66
static TauTauRestFrameReco ToTauTauRestFrameReco(std::string const &tauTauRestFrameReco)
Definition: HttEnumTypes.h:51
TauTauRestFrameReco
Definition: HttEnumTypes.h:43
SystematicShift
Definition: HttEnumTypes.h:73
static KMETUncertainty::Type ToMETUncertaintyType(std::string const &metUncertainty)
Definition: HttEnumTypes.h:174
Definition: HttEnumTypes.h:12
static JetEnergyUncertaintyShiftName ToJetEnergyUncertaintyShiftName(std::string const &jetEnergyCorrectionUncertainty)
Definition: HttEnumTypes.h:140
DecayChannel
Definition: HttEnumTypes.h:16
DataMcScaleFactorProducerMode
Definition: HttEnumTypes.h:60
JetEnergyUncertaintyShiftName
Definition: HttEnumTypes.h:106
static DecayChannel ToDecayChannel(std::string const &decayChannelString)
Definition: HttEnumTypes.h:30
static SvfitCacheMissBehaviour ToSvfitCacheMissBehaviour(std::string const &configstring)
Definition: HttEnumTypes.h:98