60 return StatusCode::FAILURE;
65 ATH_MSG_ERROR(
"Specified a PerJetFlavourUncertaintyComponent without the associated labels to use: " <<
getName().
Data());
66 return StatusCode::FAILURE;
73 return StatusCode::FAILURE;
85 return StatusCode::FAILURE;
92 return StatusCode::FAILURE;
97 return StatusCode::SUCCESS;
178 ATH_MSG_ERROR(
"Unable to find PartonTruthLabelID on the jet");
181 const int truthHighestEparton = abs(truthLabelAccessor(
jet));
184 if (
label == truthHighestEparton)
Scalar eta() const
pseudorapidity method
#define JESUNC_ERROR_CODE
#define JESUNC_NO_DEFAULT_CONSTRUCTOR
SG::ConstAccessor< T, ALLOC > ConstAccessor
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
const TString m_constrainZresponseFunc
const TF1 * m_ZjetQuarkFrac
virtual StatusCode initialize(TFile *histFile)
virtual double getUncertaintyImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
virtual bool getValidityImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
const bool m_constrainZresponse
const FlavourComp::TypeEnum m_flavourType
bool checkTruthLabel(const xAOD::Jet &jet) const
PerJetFlavourUncertaintyComponent(const ComponentHelper &component)
virtual PerJetFlavourUncertaintyComponent * clone() const
double getFlavourResponseUncertainty(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
const std::vector< int > m_labels
bool isSupportedLabel(const int label) const
const float m_energyScale
UncertaintyComponent(const ComponentHelper &component, const size_t numHist=1)
virtual TString getName() const
virtual bool getValidBool(const double validity) const
const TString m_uncHistName
UncertaintyHistogram * m_validHist
virtual StatusCode initialize(TFile *histFile)
UncertaintyHistogram * m_uncHist
std::string label(const std::string &format, int i)
Jet_v1 Jet
Definition of the current "jet version".
EventInfo_v1 EventInfo
Definition of the latest event info version.