#include <EventDependentAbsVetos.h>
Public Member Functions | |
void | centerOn (double eta, double phi) override |
Nothing to do for this. More... | |
OtherCandVeto (const edm::InputTag &candidates, AbsVeto *veto, edm::ConsumesCollector &iC) | |
Create a veto specifying the input collection of the candidates, and the deltaR. More... | |
void | setEvent (const edm::Event &iEvent, const edm::EventSetup &iSetup) override |
Picks up the directions of the given candidates. More... | |
bool | veto (double eta, double phi, float value) const override |
~OtherCandVeto () override | |
Public Member Functions inherited from reco::isodeposit::EventDependentAbsVeto | |
~EventDependentAbsVeto () override | |
Public Member Functions inherited from reco::isodeposit::AbsVeto | |
virtual | ~AbsVeto () |
Private Attributes | |
std::vector< Direction > | items_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | src_ |
std::unique_ptr< AbsVeto > | veto_ |
Definition at line 39 of file EventDependentAbsVetos.h.
|
inline |
Create a veto specifying the input collection of the candidates, and the deltaR.
Definition at line 42 of file EventDependentAbsVetos.h.
|
inlineoverride |
Definition at line 46 of file EventDependentAbsVetos.h.
References PVValHelper::eta, and reco::isodeposit::OtherCandidatesDeltaRVeto::veto().
|
inlineoverridevirtual |
Nothing to do for this.
Reimplemented from reco::isodeposit::AbsVeto.
Definition at line 53 of file EventDependentAbsVetos.h.
References iEvent, and reco::isodeposit::OtherCandidatesDeltaRVeto::setEvent().
|
overridevirtual |
Picks up the directions of the given candidates.
Implements reco::isodeposit::EventDependentAbsVeto.
Definition at line 37 of file EventDependentAbsVetos.cc.
References objects.IsoTrackAnalyzer::candidates, edm::Event::getByToken(), reco::isodeposit::OtherCandidatesDeltaRVeto::items_, and reco::isodeposit::OtherCandidatesDeltaRVeto::src_.
|
overridevirtual |
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 stored AbsVeto of any item of the source collection
Implements reco::isodeposit::AbsVeto.
Definition at line 27 of file EventDependentAbsVetos.cc.
References reco::isodeposit::OtherCandidatesDeltaRVeto::items_.
|
private |
Definition at line 60 of file EventDependentAbsVetos.h.
|
private |
Definition at line 59 of file EventDependentAbsVetos.h.
|
private |
Definition at line 61 of file EventDependentAbsVetos.h.