HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
MetCorrectorBase< TMet > Class Template Reference

Corrects the MET created by the MET producer. More...

#include <MetCorrectors.h>

+ Inheritance diagram for MetCorrectorBase< TMet >:

Public Types

enum  CorrectionMethod { NONE =0, QUANTILE_MAPPING =1, MEAN_RESOLUTION =2 }
 

Public Member Functions

 MetCorrectorBase (TMet *product_type::*metMemberUncorrected, TMet product_type::*metMemberCorrected, std::vector< float > product_type::*metCorrections, std::string(setting_type::*GetRecoilCorrectorFile)(void) const, std::string(setting_type::*GetMetShiftCorrectorFile)(void) const, bool(setting_type::*GetUpdateMetWithCorrectedLeptons)(void) const )
 
virtual void Init (setting_type const &settings, metadata_type &metadata) override
 
virtual void Produce (event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
 

Protected Attributes

TMet *product_type::* m_metMemberUncorrected
 
TMet product_type::* m_metMemberCorrected
 
std::vector< float >
product_type::* 
m_metCorrections
 
std::string(setting_type::* GetRecoilCorrectorFile )(void) const
 
std::string(setting_type::* GetMetShiftCorrectorFile )(void) const
 
RecoilCorrectorm_recoilCorrector
 
MEtSysm_metShiftCorrector
 
MEtSys::ProcessType m_processType
 
MEtSys::SysType m_sysType
 
MEtSys::SysShift m_sysShift
 
bool m_isWJets
 
bool m_doMetSys
 
CorrectionMethod m_correctionMethod
 
bool m_correctGlobalMet
 
bool(setting_type::* GetUpdateMetWithCorrectedLeptons )(void) const
 
KMETUncertainty::Type m_metUncertaintyType
 

Detailed Description

template<class TMet>
class MetCorrectorBase< TMet >

Corrects the MET created by the MET producer.

Run this producer after the Valid(Tagged)JetsProducer, since it relies on the number of jets in the event.

Member Enumeration Documentation

template<class TMet>
enum MetCorrectorBase::CorrectionMethod
Enumerator
NONE 
QUANTILE_MAPPING 
MEAN_RESOLUTION 

Constructor & Destructor Documentation

template<class TMet>
MetCorrectorBase< TMet >::MetCorrectorBase ( TMet *product_type::*  metMemberUncorrected,
TMet product_type::*  metMemberCorrected,
std::vector< float > product_type::*  metCorrections,
std::string(setting_type::*)(void) const  GetRecoilCorrectorFile,
std::string(setting_type::*)(void) const  GetMetShiftCorrectorFile,
bool(setting_type::*)(void) const  GetUpdateMetWithCorrectedLeptons 
)
inline

Member Function Documentation

template<class TMet>
virtual void MetCorrectorBase< TMet >::Init ( setting_type const &  settings,
metadata_type &  metadata 
)
inlineoverridevirtual

Reimplemented in MvaMetCorrector, and MetCorrector.

template<class TMet>
virtual void MetCorrectorBase< TMet >::Produce ( event_type const &  event,
product_type &  product,
setting_type const &  settings,
metadata_type const &  metadata 
) const
inlineoverridevirtual

Member Data Documentation

template<class TMet>
std::string(setting_type::* MetCorrectorBase< TMet >::GetMetShiftCorrectorFile)(void) const
protected
template<class TMet>
std::string(setting_type::* MetCorrectorBase< TMet >::GetRecoilCorrectorFile)(void) const
protected
template<class TMet>
bool(setting_type::* MetCorrectorBase< TMet >::GetUpdateMetWithCorrectedLeptons)(void) const
protected
template<class TMet>
bool MetCorrectorBase< TMet >::m_correctGlobalMet
protected
template<class TMet>
CorrectionMethod MetCorrectorBase< TMet >::m_correctionMethod
protected
template<class TMet>
bool MetCorrectorBase< TMet >::m_doMetSys
protected
template<class TMet>
bool MetCorrectorBase< TMet >::m_isWJets
protected
template<class TMet>
std::vector<float> product_type::* MetCorrectorBase< TMet >::m_metCorrections
protected
template<class TMet>
TMet product_type::* MetCorrectorBase< TMet >::m_metMemberCorrected
protected
template<class TMet>
TMet* product_type::* MetCorrectorBase< TMet >::m_metMemberUncorrected
protected
template<class TMet>
MEtSys* MetCorrectorBase< TMet >::m_metShiftCorrector
protected
template<class TMet>
KMETUncertainty::Type MetCorrectorBase< TMet >::m_metUncertaintyType
protected
template<class TMet>
MEtSys::ProcessType MetCorrectorBase< TMet >::m_processType
protected
template<class TMet>
RecoilCorrector* MetCorrectorBase< TMet >::m_recoilCorrector
protected
template<class TMet>
MEtSys::SysShift MetCorrectorBase< TMet >::m_sysShift
protected
template<class TMet>
MEtSys::SysType MetCorrectorBase< TMet >::m_sysType
protected

The documentation for this class was generated from the following file: