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 GsfEleDeltaBetaIsoCutStandalone GsfEleDEtaInCut GsfEleDEtaInLinearCut GsfEleDEtaInSeedCut GsfEleDPhiInCut GsfEleE2x5OverE5x5Cut GsfEleEInverseMinusPInverseCut GsfEleHadronicOverEMCut GsfEleHadronicOverEMLinearCut GsfEleMissingHitsCut GsfEleSCEtaMultiRangeCut GsfEleSCMaxAbsEtaCut GsfEleSigmaIEtaIEtaCut GsfEleTrkPtIsoCut MaxAbsEtaCut MinPtCut MinPtCutInEtaRanges

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 (const edm::ParameterSet &c)
 
 CutApplicatorBase (const CutApplicatorBase &)=delete
 
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
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 ( const edm::ParameterSet c)
inline

Definition at line 51 of file CutApplicatorBase.h.

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

Destructor.

Definition at line 90 of file CutApplicatorBase.h.

90 {};

Member Function Documentation

virtual result_type CutApplicatorBase::asCandidate ( const argument_type &  ) const
inlinevirtual

Reimplemented in MinPtCutInEtaRanges, EtaMultiRangeCut, MaxAbsEtaCut, and MinPtCut.

Definition at line 83 of file CutApplicatorBase.h.

83 {return false;}
virtual CandidateType CutApplicatorBase::candidateType ( ) const
inlinevirtual
const std::string& CutApplicatorBase::name ( void  ) const
inline
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 68 of file CutApplicatorBase.h.

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

Definition at line 71 of file CutApplicatorBase.h.

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

Definition at line 72 of file CutApplicatorBase.h.

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

Definition at line 75 of file CutApplicatorBase.h.

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

Definition at line 76 of file CutApplicatorBase.h.

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

Definition at line 79 of file CutApplicatorBase.h.

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

Definition at line 80 of file CutApplicatorBase.h.

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

Member Data Documentation

const std::string CutApplicatorBase::_name
private

Definition at line 90 of file CutApplicatorBase.h.

Referenced by name().