#include <EventDependentAbsVetos.h>
Public Member Functions | |
virtual void | centerOn (double eta, double phi) |
Nothing to do for this. More... | |
OtherCandidatesDeltaRVeto (const edm::InputTag &candidates, double deltaR, edm::ConsumesCollector &iC) | |
Create a veto specifying the input collection of the candidates, and the deltaR. More... | |
virtual void | setEvent (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
Picks up the directions of the given candidates. More... | |
virtual bool | veto (double eta, double phi, float value) const |
virtual | ~OtherCandidatesDeltaRVeto () |
Public Member Functions inherited from reco::isodeposit::EventDependentAbsVeto | |
virtual | ~EventDependentAbsVeto () |
Public Member Functions inherited from reco::isodeposit::AbsVeto | |
virtual | ~AbsVeto () |
Private Attributes | |
float | deltaR2_ |
std::vector< Direction > | items_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | src_ |
Definition at line 14 of file EventDependentAbsVetos.h.
|
inline |
Create a veto specifying the input collection of the candidates, and the deltaR.
Definition at line 17 of file EventDependentAbsVetos.h.
|
inlinevirtual |
Definition at line 21 of file EventDependentAbsVetos.h.
References stringResolutionProvider_cfi::eta, and veto().
|
inlinevirtual |
Nothing to do for this.
Reimplemented from reco::isodeposit::AbsVeto.
Definition at line 28 of file EventDependentAbsVetos.h.
References iEvent, and setEvent().
Referenced by reco::isodeposit::OtherJetConstituentsDeltaRVeto::~OtherJetConstituentsDeltaRVeto().
|
virtual |
Picks up the directions of the given candidates.
Implements reco::isodeposit::EventDependentAbsVeto.
Definition at line 17 of file EventDependentAbsVetos.cc.
References objects.IsoTrackAnalyzer::candidates, edm::Event::getByToken(), items_, and src_.
Referenced by centerOn(), reco::isodeposit::OtherCandVeto::centerOn(), and reco::isodeposit::OtherJetConstituentsDeltaRVeto::~OtherJetConstituentsDeltaRVeto().
|
virtual |
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum This is true if the deposit is within the configured deltaR from any item of the source collection
Implements reco::isodeposit::AbsVeto.
Definition at line 8 of file EventDependentAbsVetos.cc.
References reco::deltaR2(), deltaR2_, stringResolutionProvider_cfi::eta, and items_.
Referenced by ~OtherCandidatesDeltaRVeto(), reco::isodeposit::OtherCandVeto::~OtherCandVeto(), and reco::isodeposit::OtherJetConstituentsDeltaRVeto::~OtherJetConstituentsDeltaRVeto().
|
private |
Definition at line 35 of file EventDependentAbsVetos.h.
Referenced by veto().
|
private |
Definition at line 36 of file EventDependentAbsVetos.h.
Referenced by reco::isodeposit::OtherJetConstituentsDeltaRVeto::initialize(), setEvent(), reco::isodeposit::OtherCandVeto::setEvent(), veto(), reco::isodeposit::OtherCandVeto::veto(), and reco::isodeposit::OtherJetConstituentsDeltaRVeto::veto().
|
private |
Definition at line 34 of file EventDependentAbsVetos.h.
Referenced by setEvent(), and reco::isodeposit::OtherCandVeto::setEvent().