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 ;
28 void centerOn(
double eta,
double phi)
override { }
50 bool veto(
double eta,
double phi,
float value)
const override ;
53 void centerOn(
double eta,
double phi)
override { }
73 dR2constituent_(dRconstituent*dRconstituent)
88 bool veto(
double eta,
double phi,
float value)
const override;
91 void centerOn(
double eta,
double phi)
override;
edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > > JetToPFCandidateAssociation
static AlgebraicMatrix initialize()
~OtherCandidatesDeltaRVeto() override
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
void centerOn(double eta, double phi) override
Nothing to do for this.
~OtherJetConstituentsDeltaRVeto() override
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
std::vector< Direction > items_
~OtherCandVeto() override
bool veto(double eta, double phi, float value) const override
std::vector< Direction > items_
edm::EDGetTokenT< JetToPFCandidateAssociation > srcPFCandAssocMap_
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
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...
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.