Public Types | |
enum | IsoType { UNDEF =-1, ISO_ECAL =0, ISO_HCAL =1 } |
Public Types inherited from CutApplicatorBase | |
enum | CandidateType { NONE, ELECTRON, MUON, PHOTON, TAU, PATELECTRON, PATMUON, PATPHOTON, PATTAU } |
Public Member Functions | |
CandidateType | candidateType () const override final |
void | getEventContent (const edm::EventBase &) override final |
GsfEleCalPFClusterIsoCut (const edm::ParameterSet &c) | |
result_type | operator() (const reco::GsfElectronPtr &) const override final |
void | setConsumes (edm::ConsumesCollector &) override final |
double | value (const reco::CandidatePtr &cand) const override final |
Public Member Functions inherited from CutApplicatorWithEventContentBase | |
CutApplicatorWithEventContentBase () | |
CutApplicatorWithEventContentBase (const edm::ParameterSet &c) | |
CutApplicatorWithEventContentBase (const CutApplicatorWithEventContentBase &)=delete | |
CutApplicatorWithEventContentBase & | operator= (const CutApplicatorWithEventContentBase &)=delete |
virtual | ~CutApplicatorWithEventContentBase () |
Destructor. More... | |
Public Member Functions inherited from CutApplicatorBase | |
virtual result_type | asCandidate (const argument_type &) 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 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 |
CutApplicatorBase & | operator= (const CutApplicatorBase &)=delete |
virtual | ~CutApplicatorBase () |
Destructor. More... | |
Public Member Functions inherited from candidate_functions::CandidateCut | |
CandidateCut () | |
virtual | ~CandidateCut () |
Private Attributes | |
const float | barrelCutOff_ |
EffectiveAreas | effectiveAreas_ |
const float | isoCutEBHighPt_ |
const float | isoCutEBLowPt_ |
const float | isoCutEEHighPt_ |
const float | isoCutEELowPt_ |
const int | isoType_ |
bool | isRelativeIso_ |
const float | ptCutOff_ |
edm::Handle< double > | rhoHandle_ |
Static Private Attributes | |
static char | rhoString_ [] = "rho" |
Additional Inherited Members | |
Protected Attributes inherited from CutApplicatorWithEventContentBase | |
std::unordered_map< std::string, edm::InputTag > | contentTags_ |
std::unordered_map< std::string, edm::EDGetToken > | contentTokens_ |
Definition at line 6 of file GsfEleCalPFClusterIsoCut.cc.
GsfEleCalPFClusterIsoCut::GsfEleCalPFClusterIsoCut | ( | const edm::ParameterSet & | c | ) |
Definition at line 46 of file GsfEleCalPFClusterIsoCut.cc.
References CutApplicatorWithEventContentBase::contentTags_, edm::ParameterSet::getParameter(), rhoString_, and HiL1Corrector_cff::rhoTag.
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 20 of file GsfEleCalPFClusterIsoCut.cc.
References CutApplicatorBase::ELECTRON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 70 of file GsfEleCalPFClusterIsoCut.cc.
References CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), operator()(), rhoHandle_, and rhoString_.
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 77 of file GsfEleCalPFClusterIsoCut.cc.
References funct::abs(), barrelCutOff_, effectiveAreas_, Exception, f, objects.autophobj::float, edm::Ptr< T >::get(), EffectiveAreas::getEffectiveArea(), ISO_ECAL, ISO_HCAL, isoCutEBHighPt_, isoCutEBLowPt_, isoCutEEHighPt_, isoCutEELowPt_, isoType_, isRelativeIso_, edm::HandleBase::isValid(), hpstanc_transforms::max, reco::LeafCandidate::pt(), ptCutOff_, rho, rhoHandle_, and reco::GsfElectron::superCluster().
Referenced by getEventContent().
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 64 of file GsfEleCalPFClusterIsoCut.cc.
References edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, CutApplicatorWithEventContentBase::contentTokens_, rho, and rhoString_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 114 of file GsfEleCalPFClusterIsoCut.cc.
References funct::abs(), effectiveAreas_, Exception, f, objects.autophobj::float, edm::Ptr< T >::get(), EffectiveAreas::getEffectiveArea(), ISO_ECAL, ISO_HCAL, isoType_, isRelativeIso_, edm::HandleBase::isValid(), hpstanc_transforms::max, reco::LeafCandidate::pt(), rho, rhoHandle_, and reco::GsfElectron::superCluster().
|
private |
Definition at line 30 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 33 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 26 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 28 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 31 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 29 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 35 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
staticprivate |
Definition at line 37 of file GsfEleCalPFClusterIsoCut.cc.
Referenced by getEventContent(), GsfEleCalPFClusterIsoCut(), and setConsumes().