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

GlobalProducer, for valid muons. More...

#include <HttValidMuonsProducer.h>

+ Inheritance diagram for HttValidMuonsProducer:

Public Types

enum  MuonIsoTypeUserMode : int { MuonIsoTypeUserMode::NONE = -1, MuonIsoTypeUserMode::FROMCMSSW = 0, MuonIsoTypeUserMode::CALCULATED = 1, MuonIsoTypeUserMode::FROMCMSSWR04 = 2 }
 

Public Member Functions

 HttValidMuonsProducer (std::vector< KMuon * > product_type::*validMuons=&product_type::m_validMuons, std::vector< KMuon * > product_type::*invalidMuons=&product_type::m_invalidMuons, std::string(setting_type::*GetMuonID)(void) const =&setting_type::GetMuonID, std::string(setting_type::*GetMuonIsoType)(void) const =&setting_type::GetMuonIsoType, std::string(setting_type::*GetMuonIsoTypeUserMode)(void) const =&setting_type::GetMuonIsoTypeUserMode, std::string(setting_type::*GetMuonIso)(void) const =&setting_type::GetMuonIso, std::vector< std::string > &(setting_type::*GetLowerPtCuts)(void) const =&setting_type::GetMuonLowerPtCuts, std::vector< std::string > &(setting_type::*GetUpperAbsEtaCuts)(void) const =&setting_type::GetMuonUpperAbsEtaCuts, float(setting_type::*GetMuonChargedIsoVetoConeSize)(void) const =&setting_type::GetMuonChargedIsoVetoConeSize, float(setting_type::*GetMuonNeutralIsoVetoConeSize)(void) const =&setting_type::GetMuonNeutralIsoVetoConeSize, float(setting_type::*GetMuonPhotonIsoVetoConeSize)(void) const =&setting_type::GetMuonPhotonIsoVetoConeSize, float(setting_type::*GetMuonDeltaBetaIsoVetoConeSize)(void) const =&setting_type::GetMuonDeltaBetaIsoVetoConeSize, float(setting_type::*GetMuonChargedIsoPtThreshold)(void) const =&setting_type::GetMuonChargedIsoPtThreshold, float(setting_type::*GetMuonNeutralIsoPtThreshold)(void) const =&setting_type::GetMuonNeutralIsoPtThreshold, float(setting_type::*GetMuonPhotonIsoPtThreshold)(void) const =&setting_type::GetMuonPhotonIsoPtThreshold, float(setting_type::*GetMuonDeltaBetaIsoPtThreshold)(void) const =&setting_type::GetMuonDeltaBetaIsoPtThreshold, float(setting_type::*GetMuonIsoSignalConeSize)(void) const =&setting_type::GetMuonIsoSignalConeSize, float(setting_type::*GetMuonDeltaBetaCorrectionFactor)(void) const =&setting_type::GetMuonDeltaBetaCorrectionFactor, float(setting_type::*GetMuonIsoPtSumOverPtLowerThresholdEB)(void) const =&setting_type::GetMuonIsoPtSumOverPtLowerThresholdEB, float(setting_type::*GetMuonIsoPtSumOverPtLowerThresholdEE)(void) const =&setting_type::GetMuonIsoPtSumOverPtLowerThresholdEE, float(setting_type::*GetMuonIsoPtSumOverPtUpperThresholdEB)(void) const =&setting_type::GetMuonIsoPtSumOverPtUpperThresholdEB, float(setting_type::*GetMuonIsoPtSumOverPtUpperThresholdEE)(void) const =&setting_type::GetMuonIsoPtSumOverPtUpperThresholdEE, float(setting_type::*GetMuonTrackDxyCut)(void) const =&setting_type::GetMuonTrackDxyCut, float(setting_type::*GetMuonTrackDzCut)(void) const =&setting_type::GetMuonTrackDzCut)
 
virtual void Init (setting_type const &settings, metadata_type &metadata)
 

Static Public Member Functions

static MuonIsoTypeUserMode ToMuonIsoTypeUserMode (std::string const &muonIsoTypeUserMode)
 

Protected Member Functions

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

Protected Attributes

MuonIsoTypeUserMode muonIsoTypeUserMode
 

Detailed Description

GlobalProducer, for valid muons.

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

  • MuonChargedIsoVetoConeSize (default given)
  • MuonNeutralIsoVetoConeSize (default given)
  • MuonPhotonIsoVetoConeSize (default given)
  • MuonDeltaBetaIsoVetoConeSize (default given)
  • MuonChargedIsoPtThreshold (default given)
  • MuonNeutralIsoPtThreshold (default given)
  • MuonPhotonIsoPtThreshold (default given)
  • MuonDeltaBetaIsoPtThreshold (default given)
  • MuonIsoTypeUserMode (default: "fromcmssw")
  • MuonIsoSignalConeSize
  • MuonDeltaBetaCorrectionFactor
  • MuonIsoPtSumOverPtLowerThresholdEB
  • MuonIsoPtSumOverPtLowerThresholdEE
  • MuonIsoPtSumOverPtUpperThresholdEB
  • MuonIsoPtSumOverPtUpperThresholdEE

Member Enumeration Documentation

Enumerator
NONE 
FROMCMSSW 
CALCULATED 
FROMCMSSWR04 

Constructor & Destructor Documentation

HttValidMuonsProducer::HttValidMuonsProducer ( std::vector< KMuon * > product_type::*  validMuons = &product_type::m_validMuons,
std::vector< KMuon * > product_type::*  invalidMuons = &product_type::m_invalidMuons,
std::string(setting_type::*)(void) const  GetMuonID = &setting_type::GetMuonID,
std::string(setting_type::*)(void) const  GetMuonIsoType = &setting_type::GetMuonIsoType,
std::string(setting_type::*)(void) const  GetMuonIsoTypeUserMode = &setting_type::GetMuonIsoTypeUserMode,
std::string(setting_type::*)(void) const  GetMuonIso = &setting_type::GetMuonIso,
std::vector< std::string > &(setting_type::*)(void) const  GetLowerPtCuts = &setting_type::GetMuonLowerPtCuts,
std::vector< std::string > &(setting_type::*)(void) const  GetUpperAbsEtaCuts = &setting_type::GetMuonUpperAbsEtaCuts,
float(setting_type::*)(void) const  GetMuonChargedIsoVetoConeSize = &setting_type::GetMuonChargedIsoVetoConeSize,
float(setting_type::*)(void) const  GetMuonNeutralIsoVetoConeSize = &setting_type::GetMuonNeutralIsoVetoConeSize,
float(setting_type::*)(void) const  GetMuonPhotonIsoVetoConeSize = &setting_type::GetMuonPhotonIsoVetoConeSize,
float(setting_type::*)(void) const  GetMuonDeltaBetaIsoVetoConeSize = &setting_type::GetMuonDeltaBetaIsoVetoConeSize,
float(setting_type::*)(void) const  GetMuonChargedIsoPtThreshold = &setting_type::GetMuonChargedIsoPtThreshold,
float(setting_type::*)(void) const  GetMuonNeutralIsoPtThreshold = &setting_type::GetMuonNeutralIsoPtThreshold,
float(setting_type::*)(void) const  GetMuonPhotonIsoPtThreshold = &setting_type::GetMuonPhotonIsoPtThreshold,
float(setting_type::*)(void) const  GetMuonDeltaBetaIsoPtThreshold = &setting_type::GetMuonDeltaBetaIsoPtThreshold,
float(setting_type::*)(void) const  GetMuonIsoSignalConeSize = &setting_type::GetMuonIsoSignalConeSize,
float(setting_type::*)(void) const  GetMuonDeltaBetaCorrectionFactor = &setting_type::GetMuonDeltaBetaCorrectionFactor,
float(setting_type::*)(void) const  GetMuonIsoPtSumOverPtLowerThresholdEB = &setting_type::GetMuonIsoPtSumOverPtLowerThresholdEB,
float(setting_type::*)(void) const  GetMuonIsoPtSumOverPtLowerThresholdEE = &setting_type::GetMuonIsoPtSumOverPtLowerThresholdEE,
float(setting_type::*)(void) const  GetMuonIsoPtSumOverPtUpperThresholdEB = &setting_type::GetMuonIsoPtSumOverPtUpperThresholdEB,
float(setting_type::*)(void) const  GetMuonIsoPtSumOverPtUpperThresholdEE = &setting_type::GetMuonIsoPtSumOverPtUpperThresholdEE,
float(setting_type::*)(void) const  GetMuonTrackDxyCut = &setting_type::GetMuonTrackDxyCut,
float(setting_type::*)(void) const  GetMuonTrackDzCut = &setting_type::GetMuonTrackDzCut 
)

Member Function Documentation

bool HttValidMuonsProducer::AdditionalCriteria ( KMuon *  muon,
event_type const &  event,
product_type &  product,
setting_type const &  settings,
metadata_type const &  metadata 
) const
overrideprotectedvirtual
virtual void HttValidMuonsProducer::Init ( setting_type const &  settings,
metadata_type &  metadata 
)
inlinevirtual
static MuonIsoTypeUserMode HttValidMuonsProducer::ToMuonIsoTypeUserMode ( std::string const &  muonIsoTypeUserMode)
inlinestatic

Member Data Documentation

MuonIsoTypeUserMode HttValidMuonsProducer::muonIsoTypeUserMode
protected

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