HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
HttValidElectronsProducer Class Reference

GlobalProducer, for valid electrons. More...

#include <HttValidElectronsProducer.h>

+ Inheritance diagram for HttValidElectronsProducer:

Public Types

enum  ElectronIDType : int {
  ElectronIDType::INVALID = -2, ElectronIDType::NONE = -1, ElectronIDType::SUMMER2013LOOSE = 0, ElectronIDType::SUMMER2013TIGHT = 1,
  ElectronIDType::SUMMER2013TTHTIGHT = 2, ElectronIDType::SUMMER2013TTHLOOSE = 3, ElectronIDType::CUTBASED2015ANDLATER = 4, ElectronIDType::MVABASED2015ANDLATER = 5,
  ElectronIDType::CUTBASED2015NOISOANDIPCUTSVETO = 6, ElectronIDType::CUTBASED2015NOISOANDIPCUTSLOOSE = 7, ElectronIDType::CUTBASED2015NOISOANDIPCUTSMEDIUM = 8, ElectronIDType::CUTBASED2015NOISOANDIPCUTSTIGHT = 9,
  ElectronIDType::CUTBASED2016NOISOCUTSVETO = 10, ElectronIDType::CUTBASED2016NOISOCUTSLOOSE = 11, ElectronIDType::CUTBASED2016NOISOCUTSMEDIUM = 12, ElectronIDType::CUTBASED2016NOISOCUTSTIGHT = 13,
  ElectronIDType::MVABASED2017ANDLATER = 14, ElectronIDType::CUTBASED2017NOISOCUTSVETO = 15, ElectronIDType::CUTBASED2017NOISOCUTSLOOSE = 16, ElectronIDType::CUTBASED2017NOISOCUTSMEDIUM = 17,
  ElectronIDType::CUTBASED2017NOISOCUTSTIGHT = 18, ElectronIDType::CUTBASED2017ISOCUTSVETO = 19, ElectronIDType::CUTBASED2017ISOCUTSLOOSE = 20, ElectronIDType::CUTBASED2017ISOCUTSMEDIUM = 21,
  ElectronIDType::CUTBASED2017ISOCUTSTIGHT = 22
}
 

Public Member Functions

 HttValidElectronsProducer (std::vector< KElectron * > product_type::*validElectrons=&product_type::m_validElectrons, std::vector< KElectron * > product_type::*invalidElectrons=&product_type::m_invalidElectrons, std::string(setting_type::*GetElectronID)(void) const =&setting_type::GetElectronID, std::string(setting_type::*GetElectronIDType)(void) const =&setting_type::GetElectronIDType, std::string(setting_type::*GetElectronIDName)(void) const =&setting_type::GetElectronIDName, float(setting_type::*GetElectronMvaIDCutEB1)(void) const =&setting_type::GetElectronMvaIDCutEB1, float(setting_type::*GetElectronMvaIDCutEB2)(void) const =&setting_type::GetElectronMvaIDCutEB2, float(setting_type::*GetElectronMvaIDCutEE)(void) const =&setting_type::GetElectronMvaIDCutEE, std::vector< float > &(setting_type::*GetElectronMvaIDCutEB1ParamsLowPt)(void) const =&setting_type::GetElectronMvaIDCutEB1ParamsLowPt, std::vector< float > &(setting_type::*GetElectronMvaIDCutEB2ParamsLowPt)(void) const =&setting_type::GetElectronMvaIDCutEB2ParamsLowPt, std::vector< float > &(setting_type::*GetElectronMvaIDCutEEParamsLowPt)(void) const =&setting_type::GetElectronMvaIDCutEEParamsLowPt, std::vector< float > &(setting_type::*GetElectronMvaIDCutEB1ParamsHighPt)(void) const =&setting_type::GetElectronMvaIDCutEB1ParamsHighPt, std::vector< float > &(setting_type::*GetElectronMvaIDCutEB2ParamsHighPt)(void) const =&setting_type::GetElectronMvaIDCutEB2ParamsHighPt, std::vector< float > &(setting_type::*GetElectronMvaIDCutEEParamsHighPt)(void) const =&setting_type::GetElectronMvaIDCutEEParamsHighPt, std::string(setting_type::*GetElectronIsoType)(void) const =&setting_type::GetElectronIsoType, std::string(setting_type::*GetElectronIso)(void) const =&setting_type::GetElectronIso, std::string(setting_type::*GetElectronReco)(void) const =&setting_type::GetElectronReco, std::vector< std::string > &(setting_type::*GetLowerPtCuts)(void) const =&setting_type::GetElectronLowerPtCuts, std::vector< std::string > &(setting_type::*GetUpperAbsEtaCuts)(void) const =&setting_type::GetElectronUpperAbsEtaCuts, float(setting_type::*GetElectronChargedIsoVetoConeSizeEB)(void) const =&setting_type::GetElectronChargedIsoVetoConeSizeEB, float(setting_type::*GetElectronChargedIsoVetoConeSizeEE)(void) const =&setting_type::GetElectronChargedIsoVetoConeSizeEE, float(setting_type::*GetElectronNeutralIsoVetoConeSize)(void) const =&setting_type::GetElectronNeutralIsoVetoConeSize, float(setting_type::*GetElectronPhotonIsoVetoConeSizeEB)(void) const =&setting_type::GetElectronPhotonIsoVetoConeSizeEB, float(setting_type::*GetElectronPhotonIsoVetoConeSizeEE)(void) const =&setting_type::GetElectronPhotonIsoVetoConeSizeEE, float(setting_type::*GetElectronDeltaBetaIsoVetoConeSize)(void) const =&setting_type::GetElectronDeltaBetaIsoVetoConeSize, float(setting_type::*GetElectronChargedIsoPtThreshold)(void) const =&setting_type::GetElectronChargedIsoPtThreshold, float(setting_type::*GetElectronNeutralIsoPtThreshold)(void) const =&setting_type::GetElectronNeutralIsoPtThreshold, float(setting_type::*GetElectronPhotonIsoPtThreshold)(void) const =&setting_type::GetElectronPhotonIsoPtThreshold, float(setting_type::*GetElectronDeltaBetaIsoPtThreshold)(void) const =&setting_type::GetElectronDeltaBetaIsoPtThreshold, float(setting_type::*GetElectronIsoSignalConeSize)(void) const =&setting_type::GetElectronIsoSignalConeSize, float(setting_type::*GetElectronDeltaBetaCorrectionFactor)(void) const =&setting_type::GetElectronDeltaBetaCorrectionFactor, float(setting_type::*GetElectronIsoPtSumOverPtLowerThresholdEB)(void) const =&setting_type::GetElectronIsoPtSumOverPtLowerThresholdEB, float(setting_type::*GetElectronIsoPtSumOverPtLowerThresholdEE)(void) const =&setting_type::GetElectronIsoPtSumOverPtLowerThresholdEE, float(setting_type::*GetElectronIsoPtSumOverPtUpperThresholdEB)(void) const =&setting_type::GetElectronIsoPtSumOverPtUpperThresholdEB, float(setting_type::*GetElectronIsoPtSumOverPtUpperThresholdEE)(void) const =&setting_type::GetElectronIsoPtSumOverPtUpperThresholdEE, float(setting_type::*GetElectronTrackDxyCut)(void) const =&setting_type::GetElectronTrackDxyCut, float(setting_type::*GetElectronTrackDzCut)(void) const =&setting_type::GetElectronTrackDzCut, std::vector< std::string > &(setting_type::*GetElectronIDList)(void) const =&setting_type::GetElectronIDList)
 
virtual void Init (setting_type const &settings, metadata_type &metadata) override
 

Static Public Member Functions

static ElectronIDType ToElectronIDType (std::string const &electronIDType)
 

Protected Member Functions

virtual bool AdditionalCriteria (KElectron *electron, event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
 

Detailed Description

GlobalProducer, for valid electrons.

Required config tags in addtion to the ones of the base class:

  • ElectronIDType
  • ElectronIDName (default given)
  • ElectronMvaIDCutEB1 (default given)
  • ElectronMvaIDCutEB2 (default given)
  • ElectronMvaIDCutEE (default given) Starting 2017
    • ElectronMvaIDCutEB1ParamsLowPt
    • ElectronMvaIDCutEB2ParamsLowPt
    • ElectronMvaIDCutEEParamsLowPt
    • ElectronMvaIDCutEB1ParamsHighPt
    • ElectronMvaIDCutEB2ParamsHighPt
    • ElectronMvaIDCutEEParamsHighPt
  • ElectronChargedIsoVetoConeSizeEB (default given)
  • ElectronChargedIsoVetoConeSizeEE (default given)
  • ElectronNeutralIsoVetoConeSize (default given)
  • ElectronPhotonIsoVetoConeSizeEB (default given)
  • ElectronPhotonIsoVetoConeSizeEE (default given)
  • ElectronDeltaBetaIsoVetoConeSize (default given)
  • ElectronChargedIsoPtThreshold (default given)
  • ElectronNeutralIsoPtThreshold (default given)
  • ElectronPhotonIsoPtThreshold (default given)
  • ElectronDeltaBetaIsoPtThreshold (default given)
  • ElectronIsoSignalConeSize
  • ElectronDeltaBetaCorrectionFactor
  • ElectronIsoPtSumOverPtLowerThresholdEB
  • ElectronIsoPtSumOverPtLowerThresholdEE
  • ElectronIsoPtSumOverPtUpperThresholdEB
  • ElectronIsoPtSumOverPtUpperThresholdEE
  • ElectronIDList (default given)

Member Enumeration Documentation

Enumerator
INVALID 
NONE 
SUMMER2013LOOSE 
SUMMER2013TIGHT 
SUMMER2013TTHTIGHT 
SUMMER2013TTHLOOSE 
CUTBASED2015ANDLATER 
MVABASED2015ANDLATER 
CUTBASED2015NOISOANDIPCUTSVETO 
CUTBASED2015NOISOANDIPCUTSLOOSE 
CUTBASED2015NOISOANDIPCUTSMEDIUM 
CUTBASED2015NOISOANDIPCUTSTIGHT 
CUTBASED2016NOISOCUTSVETO 
CUTBASED2016NOISOCUTSLOOSE 
CUTBASED2016NOISOCUTSMEDIUM 
CUTBASED2016NOISOCUTSTIGHT 
MVABASED2017ANDLATER 
CUTBASED2017NOISOCUTSVETO 
CUTBASED2017NOISOCUTSLOOSE 
CUTBASED2017NOISOCUTSMEDIUM 
CUTBASED2017NOISOCUTSTIGHT 
CUTBASED2017ISOCUTSVETO 
CUTBASED2017ISOCUTSLOOSE 
CUTBASED2017ISOCUTSMEDIUM 
CUTBASED2017ISOCUTSTIGHT 

Constructor & Destructor Documentation

HttValidElectronsProducer::HttValidElectronsProducer ( std::vector< KElectron * > product_type::*  validElectrons = &product_type::m_validElectrons,
std::vector< KElectron * > product_type::*  invalidElectrons = &product_type::m_invalidElectrons,
std::string(setting_type::*)(void) const  GetElectronID = &setting_type::GetElectronID,
std::string(setting_type::*)(void) const  GetElectronIDType = &setting_type::GetElectronIDType,
std::string(setting_type::*)(void) const  GetElectronIDName = &setting_type::GetElectronIDName,
float(setting_type::*)(void) const  GetElectronMvaIDCutEB1 = &setting_type::GetElectronMvaIDCutEB1,
float(setting_type::*)(void) const  GetElectronMvaIDCutEB2 = &setting_type::GetElectronMvaIDCutEB2,
float(setting_type::*)(void) const  GetElectronMvaIDCutEE = &setting_type::GetElectronMvaIDCutEE,
std::vector< float > &(setting_type::*)(void) const  GetElectronMvaIDCutEB1ParamsLowPt = &setting_type::GetElectronMvaIDCutEB1ParamsLowPt,
std::vector< float > &(setting_type::*)(void) const  GetElectronMvaIDCutEB2ParamsLowPt = &setting_type::GetElectronMvaIDCutEB2ParamsLowPt,
std::vector< float > &(setting_type::*)(void) const  GetElectronMvaIDCutEEParamsLowPt = &setting_type::GetElectronMvaIDCutEEParamsLowPt,
std::vector< float > &(setting_type::*)(void) const  GetElectronMvaIDCutEB1ParamsHighPt = &setting_type::GetElectronMvaIDCutEB1ParamsHighPt,
std::vector< float > &(setting_type::*)(void) const  GetElectronMvaIDCutEB2ParamsHighPt = &setting_type::GetElectronMvaIDCutEB2ParamsHighPt,
std::vector< float > &(setting_type::*)(void) const  GetElectronMvaIDCutEEParamsHighPt = &setting_type::GetElectronMvaIDCutEEParamsHighPt,
std::string(setting_type::*)(void) const  GetElectronIsoType = &setting_type::GetElectronIsoType,
std::string(setting_type::*)(void) const  GetElectronIso = &setting_type::GetElectronIso,
std::string(setting_type::*)(void) const  GetElectronReco = &setting_type::GetElectronReco,
std::vector< std::string > &(setting_type::*)(void) const  GetLowerPtCuts = &setting_type::GetElectronLowerPtCuts,
std::vector< std::string > &(setting_type::*)(void) const  GetUpperAbsEtaCuts = &setting_type::GetElectronUpperAbsEtaCuts,
float(setting_type::*)(void) const  GetElectronChargedIsoVetoConeSizeEB = &setting_type::GetElectronChargedIsoVetoConeSizeEB,
float(setting_type::*)(void) const  GetElectronChargedIsoVetoConeSizeEE = &setting_type::GetElectronChargedIsoVetoConeSizeEE,
float(setting_type::*)(void) const  GetElectronNeutralIsoVetoConeSize = &setting_type::GetElectronNeutralIsoVetoConeSize,
float(setting_type::*)(void) const  GetElectronPhotonIsoVetoConeSizeEB = &setting_type::GetElectronPhotonIsoVetoConeSizeEB,
float(setting_type::*)(void) const  GetElectronPhotonIsoVetoConeSizeEE = &setting_type::GetElectronPhotonIsoVetoConeSizeEE,
float(setting_type::*)(void) const  GetElectronDeltaBetaIsoVetoConeSize = &setting_type::GetElectronDeltaBetaIsoVetoConeSize,
float(setting_type::*)(void) const  GetElectronChargedIsoPtThreshold = &setting_type::GetElectronChargedIsoPtThreshold,
float(setting_type::*)(void) const  GetElectronNeutralIsoPtThreshold = &setting_type::GetElectronNeutralIsoPtThreshold,
float(setting_type::*)(void) const  GetElectronPhotonIsoPtThreshold = &setting_type::GetElectronPhotonIsoPtThreshold,
float(setting_type::*)(void) const  GetElectronDeltaBetaIsoPtThreshold = &setting_type::GetElectronDeltaBetaIsoPtThreshold,
float(setting_type::*)(void) const  GetElectronIsoSignalConeSize = &setting_type::GetElectronIsoSignalConeSize,
float(setting_type::*)(void) const  GetElectronDeltaBetaCorrectionFactor = &setting_type::GetElectronDeltaBetaCorrectionFactor,
float(setting_type::*)(void) const  GetElectronIsoPtSumOverPtLowerThresholdEB = &setting_type::GetElectronIsoPtSumOverPtLowerThresholdEB,
float(setting_type::*)(void) const  GetElectronIsoPtSumOverPtLowerThresholdEE = &setting_type::GetElectronIsoPtSumOverPtLowerThresholdEE,
float(setting_type::*)(void) const  GetElectronIsoPtSumOverPtUpperThresholdEB = &setting_type::GetElectronIsoPtSumOverPtUpperThresholdEB,
float(setting_type::*)(void) const  GetElectronIsoPtSumOverPtUpperThresholdEE = &setting_type::GetElectronIsoPtSumOverPtUpperThresholdEE,
float(setting_type::*)(void) const  GetElectronTrackDxyCut = &setting_type::GetElectronTrackDxyCut,
float(setting_type::*)(void) const  GetElectronTrackDzCut = &setting_type::GetElectronTrackDzCut,
std::vector< std::string > &(setting_type::*)(void) const  GetElectronIDList = &setting_type::GetElectronIDList 
)

Member Function Documentation

bool HttValidElectronsProducer::AdditionalCriteria ( KElectron *  electron,
event_type const &  event,
product_type &  product,
setting_type const &  settings,
metadata_type const &  metadata 
) const
overrideprotectedvirtual
void HttValidElectronsProducer::Init ( setting_type const &  settings,
metadata_type &  metadata 
)
overridevirtual
static ElectronIDType HttValidElectronsProducer::ToElectronIDType ( std::string const &  electronIDType)
inlinestatic

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