CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
CutApplicatorBase Class Reference

#include <CutApplicatorBase.h>

Inheritance diagram for CutApplicatorBase:
candidate_functions::CandidateCut CutApplicatorWithEventContentBase EtaMultiRangeCut ExpressionEvaluatorCut GsfEleDeltaBetaIsoCutStandalone GsfEleDEtaInCut GsfEleDEtaInLinearCut GsfEleDEtaInSeedCut GsfEleDPhiInCut GsfEleE2x5OverE5x5Cut GsfEleEcalDrivenCut GsfEleEInverseMinusPInverseCut GsfEleFull5x5E2x5OverE5x5Cut GsfEleFull5x5SigmaIEtaIEtaCut GsfEleHadronicOverEMCut GsfEleHadronicOverEMLinearCut GsfEleMissingHitsCut GsfEleNormalizedGsfChi2Cut GsfEleSCEtaMultiRangeCut GsfEleSCMaxAbsEtaCut GsfEleSigmaIEtaIEtaCut GsfEleTrkPtIsoCut MaxAbsEtaCut MinPtCut MinPtCutInEtaRanges MuonMatchCut MuonMomQualityCut MuonSegmentCompatibilityCut MuonSelectorVIDWrapper< selectionType, arbitrationType > MuonTrackCut MuonTypeByOrCut PhoFull5x5SigmaIEtaIEtaCut PhoHadronicOverEMCut PhoSCEtaMultiRangeCut PhoSingleTowerHadOverEmCut

Public Types

enum  CandidateType {
  NONE, ELECTRON, MUON, PHOTON,
  TAU, PATELECTRON, PATMUON, PATPHOTON,
  PATTAU
}
 

Public Member Functions

virtual result_type asCandidate (const argument_type &) const
 
virtual CandidateType candidateType () const
 
 CutApplicatorBase ()
 
 CutApplicatorBase (const edm::ParameterSet &c)
 
 CutApplicatorBase (const CutApplicatorBase &)=delete
 
virtual const std::string & name () const
 
virtual result_type operator() (const argument_type &) const final
 
virtual result_type operator() (const reco::GsfElectronPtr &) const
 
virtual result_type operator() (const pat::ElectronPtr &) const
 
virtual result_type operator() (const reco::PhotonPtr &) const
 
virtual result_type operator() (const pat::PhotonPtr &) const
 
virtual result_type operator() (const reco::MuonPtr &) const
 
virtual result_type operator() (const pat::MuonPtr &) const
 
virtual result_type operator() (const reco::PFTauPtr &) const
 
virtual result_type operator() (const pat::TauPtr &) const
 
CutApplicatorBaseoperator= (const CutApplicatorBase &)=delete
 
virtual ~CutApplicatorBase ()
 Destructor. More...
 
- Public Member Functions inherited from candidate_functions::CandidateCut
 CandidateCut ()
 
virtual double value (const reco::CandidatePtr &) const =0
 
virtual ~CandidateCut ()
 

Private Attributes

const std::string _name
 

Detailed Description

Definition at line 45 of file CutApplicatorBase.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

CutApplicatorBase::CutApplicatorBase ( )
inline

Definition at line 51 of file CutApplicatorBase.h.

CutApplicatorBase::CutApplicatorBase ( const edm::ParameterSet c)
inline

Definition at line 53 of file CutApplicatorBase.h.

53  :
54  _name(c.getParameter<std::string>("cutName")) {
55  }
T getParameter(std::string const &) const
const std::string _name
CutApplicatorBase::CutApplicatorBase ( const CutApplicatorBase )
delete
virtual CutApplicatorBase::~CutApplicatorBase ( )
inlinevirtual

Destructor.

Definition at line 92 of file CutApplicatorBase.h.

92 {};

Member Function Documentation

virtual result_type CutApplicatorBase::asCandidate ( const argument_type &  ) const
inlinevirtual
virtual CandidateType CutApplicatorBase::candidateType ( ) const
inlinevirtual
virtual const std::string& CutApplicatorBase::name ( void  ) const
inlinevirtual
virtual result_type CutApplicatorBase::operator() ( const argument_type &  ) const
finalvirtual
virtual result_type CutApplicatorBase::operator() ( const reco::GsfElectronPtr ) const
inlinevirtual
virtual result_type CutApplicatorBase::operator() ( const pat::ElectronPtr ) const
inlinevirtual

Definition at line 70 of file CutApplicatorBase.h.

70 {return false;}
virtual result_type CutApplicatorBase::operator() ( const reco::PhotonPtr ) const
inlinevirtual
virtual result_type CutApplicatorBase::operator() ( const pat::PhotonPtr ) const
inlinevirtual

Definition at line 74 of file CutApplicatorBase.h.

74 {return false;}
virtual result_type CutApplicatorBase::operator() ( const reco::MuonPtr ) const
inlinevirtual
virtual result_type CutApplicatorBase::operator() ( const pat::MuonPtr ) const
inlinevirtual

Definition at line 78 of file CutApplicatorBase.h.

78 {return false;}
virtual result_type CutApplicatorBase::operator() ( const reco::PFTauPtr ) const
inlinevirtual

Definition at line 81 of file CutApplicatorBase.h.

81 {return false;}
virtual result_type CutApplicatorBase::operator() ( const pat::TauPtr ) const
inlinevirtual

Definition at line 82 of file CutApplicatorBase.h.

82 {return false;}
CutApplicatorBase& CutApplicatorBase::operator= ( const CutApplicatorBase )
delete

Member Data Documentation

const std::string CutApplicatorBase::_name
private