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;
edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > > JetToPFCandidateAssociation
~OtherCandidatesDeltaRVeto() override
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
void setEvent(const edm::Event &evt, const edm::EventSetup &es) override
Picks up the directions of the given candidates.
void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Picks up the directions of the given candidates.
void centerOn(double eta, double phi) override
Nothing to do for this.
~OtherJetConstituentsDeltaRVeto() override
bool veto(double eta, double phi, float value) const override
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
std::vector< Direction > items_
~OtherCandVeto() override
std::vector< Direction > items_
edm::EDGetTokenT< JetToPFCandidateAssociation > srcPFCandAssocMap_
void centerOn(double eta, double phi) override
Nothing to do for this.
void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Picks up the directions of the given candidates.
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...
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
bool veto(double eta, double phi, float value) const override
std::unique_ptr< AbsVeto > veto_
edm::EDGetTokenT< reco::PFJetCollection > srcJets_
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< PFJet > PFJetCollection
collection of PFJet objects
std::vector< Direction > items_
OtherCandVeto(const edm::InputTag &candidates, AbsVeto *veto, edm::ConsumesCollector &iC)
Create a veto specifying the input collection of the candidates, and the deltaR.
void centerOn(double eta, double phi) override
Set axis for matching jets.
bool veto(double eta, double phi, float value) const override