00001 #ifndef JETUNCERTAINTIES_VALIDITYHISTOGRAM_H
00002 #define JETUNCERTAINTIES_VALIDITYHISTOGRAM_H
00003
00004 #include "xAODJet/Jet.h"
00005
00006 #include "JetUncertainties/UncertaintyHistogram.h"
00007 #include "JetUncertainties/UncertaintyEnum.h"
00008
00009 namespace jet
00010 {
00011
00012 class InfoHelper;
00013
00014 class ValidityHistogram : public UncertaintyHistogram
00015 {
00016 public:
00017
00018 ValidityHistogram(const std::string& histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef);
00019 ValidityHistogram(const TString& histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef);
00020 ValidityHistogram(const char* histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef);
00021 ValidityHistogram(const ValidityHistogram& toCopy);
00022 virtual ~ValidityHistogram();
00023 virtual StatusCode initialize(TFile* histFile);
00024
00025
00026 CompParametrization::TypeEnum getParam() const { return m_param; }
00027
00028
00029 bool getValidity(const xAOD::Jet& jet) const;
00030
00031 private:
00032
00033 bool m_isInit;
00034 const CompParametrization::TypeEnum m_param;
00035 const float m_energyScale;
00036 const CompMassDef::TypeEnum m_massDef;
00037 InfoHelper* m_helper;
00038
00039 };
00040
00041 }
00042
00043
00044
00045
00046 #endif
00047