Go to the documentation of this file. 1 #ifndef PhysicsTools_IsolationAlgos_EventDependentAbsVetos_h
2 #define PhysicsTools_IsolationAlgos_EventDependentAbsVetos_h
13 namespace isodeposit {
25 bool veto(
double eta,
double phi,
float value)
const override;
50 bool veto(
double eta,
double phi,
float value)
const override;
92 bool veto(
double eta,
double phi,
float value)
const override;
bool veto(double eta, double phi, float value) const override
std::vector< Direction > items_
edm::EDGetTokenT< reco::PFJetCollection > srcJets_
void centerOn(double eta, double phi) override
Nothing to do for this.
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
std::vector< Direction > items_
void centerOn(double eta, double phi) override
Nothing to do for this.
~OtherCandVeto() override
void centerOn(double eta, double phi) override
Set axis for matching jets.
void setEvent(const edm::Event &evt, const edm::EventSetup &es) override
Picks up the directions of the given candidates.
edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > > JetToPFCandidateAssociation
std::unique_ptr< AbsVeto > veto_
~OtherJetConstituentsDeltaRVeto() override
void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Picks up the directions of the given candidates.
bool veto(double eta, double phi, float value) const override
std::vector< PFJet > PFJetCollection
collection of PFJet objects
OtherCandVeto(const edm::InputTag &candidates, AbsVeto *veto, edm::ConsumesCollector &iC)
Create a veto specifying the input collection of the candidates, and the deltaR.
bool veto(double eta, double phi, float value) const override
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
~OtherCandidatesDeltaRVeto() override
OtherCandidatesDeltaRVeto(const edm::InputTag &candidates, double deltaR, edm::ConsumesCollector &iC)
Create a veto specifying the input collection of the candidates, and the deltaR.
std::vector< Direction > items_
void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Picks up the directions of the given candidates.
edm::EDGetTokenT< JetToPFCandidateAssociation > srcPFCandAssocMap_
OtherJetConstituentsDeltaRVeto(Direction dir, const edm::InputTag &jets, double dRjet, const edm::InputTag &pfCandAssocMap, double dRconstituent, edm::ConsumesCollector &iC)
Create a veto specifying the input collection of the jets, the candidates, and the deltaR.