CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GsfEleFull5x5SigmaIEtaIEtaWithSatCut Class Reference
Inheritance diagram for GsfEleFull5x5SigmaIEtaIEtaWithSatCut:
CutApplicatorBase candidate_functions::CandidateCut

Public Member Functions

CandidateType candidateType () const final
 
 GsfEleFull5x5SigmaIEtaIEtaWithSatCut (const edm::ParameterSet &c)
 
result_type operator() (const reco::GsfElectronPtr &) const final
 
double value (const reco::CandidatePtr &cand) const final
 
- Public Member Functions inherited from CutApplicatorBase
virtual result_type asCandidate (const argument_type &) const
 
 CutApplicatorBase ()
 
 CutApplicatorBase (const edm::ParameterSet &c)
 
 CutApplicatorBase (const CutApplicatorBase &)=delete
 
const std::string & name () const override
 
result_type operator() (const argument_type &) const override final
 
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
 
 ~CutApplicatorBase () override
 Destructor. More...
 
- Public Member Functions inherited from candidate_functions::CandidateCut
 CandidateCut ()
 
virtual ~CandidateCut ()
 

Private Attributes

EBEECutValuesInt maxNrSatCrysIn5x5Cut_
 
EBEECutValues maxSigmaIEtaIEtaCut_
 

Additional Inherited Members

- Public Types inherited from CutApplicatorBase
enum  CandidateType {
  NONE, ELECTRON, MUON, PHOTON,
  TAU, PATELECTRON, PATMUON, PATPHOTON,
  PATTAU
}
 
- Public Types inherited from candidate_functions::CandidateCut
using argument_type = reco::CandidatePtr
 
using result_type = bool
 

Detailed Description

Definition at line 6 of file GsfEleFull5x5SigmaIEtaIEtaWithSatCut.cc.

Constructor & Destructor Documentation

GsfEleFull5x5SigmaIEtaIEtaWithSatCut::GsfEleFull5x5SigmaIEtaIEtaWithSatCut ( const edm::ParameterSet c)

Definition at line 28 of file GsfEleFull5x5SigmaIEtaIEtaWithSatCut.cc.

References operator()().

28  :
29  CutApplicatorBase(params),
30  maxSigmaIEtaIEtaCut_(params,"maxSigmaIEtaIEta"),
31  maxNrSatCrysIn5x5Cut_(params,"maxNrSatCrysIn5x5")
32 {
33 
34 }

Member Function Documentation

CandidateType GsfEleFull5x5SigmaIEtaIEtaWithSatCut::candidateType ( ) const
inlinefinalvirtual

Reimplemented from CutApplicatorBase.

Definition at line 14 of file GsfEleFull5x5SigmaIEtaIEtaWithSatCut.cc.

References CutApplicatorBase::ELECTRON.

14  {
15  return ELECTRON;
16  }
CutApplicatorBase::result_type GsfEleFull5x5SigmaIEtaIEtaWithSatCut::operator() ( const reco::GsfElectronPtr cand) const
finalvirtual
double GsfEleFull5x5SigmaIEtaIEtaWithSatCut::value ( const reco::CandidatePtr cand) const
finalvirtual

Implements candidate_functions::CandidateCut.

Definition at line 47 of file GsfEleFull5x5SigmaIEtaIEtaWithSatCut.cc.

References reco::GsfElectron::full5x5_sigmaIetaIeta().

Referenced by operator()().

47  {
48  reco::GsfElectronPtr ele(cand);
49  return ele->full5x5_sigmaIetaIeta();
50 }

Member Data Documentation

EBEECutValuesInt GsfEleFull5x5SigmaIEtaIEtaWithSatCut::maxNrSatCrysIn5x5Cut_
private

Definition at line 20 of file GsfEleFull5x5SigmaIEtaIEtaWithSatCut.cc.

Referenced by operator()().

EBEECutValues GsfEleFull5x5SigmaIEtaIEtaWithSatCut::maxSigmaIEtaIEtaCut_
private

Definition at line 19 of file GsfEleFull5x5SigmaIEtaIEtaWithSatCut.cc.

Referenced by operator()().