#include <EventDependentAbsVetos.h>
Public Member Functions | |
void | centerOn (double eta, double phi) override |
Set axis for matching jets. More... | |
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. More... | |
void | setEvent (const edm::Event &evt, const edm::EventSetup &es) override |
Picks up the directions of the given candidates. More... | |
bool | veto (double eta, double phi, float value) const override |
~OtherJetConstituentsDeltaRVeto () override | |
Public Member Functions inherited from reco::isodeposit::EventDependentAbsVeto | |
~EventDependentAbsVeto () override | |
Public Member Functions inherited from reco::isodeposit::AbsVeto | |
virtual | ~AbsVeto () |
Private Types | |
typedef edm::AssociationMap < edm::OneToMany< std::vector < reco::PFJet >, std::vector < reco::PFCandidate > , unsigned int > > | JetToPFCandidateAssociation |
Private Member Functions | |
void | initialize () |
Private Attributes | |
double | dR2constituent_ |
double | dR2jet_ |
const edm::Event * | evt_ |
std::vector< Direction > | items_ |
edm::EDGetTokenT < reco::PFJetCollection > | srcJets_ |
edm::EDGetTokenT < JetToPFCandidateAssociation > | srcPFCandAssocMap_ |
Direction | vetoDir_ |
Definition at line 64 of file EventDependentAbsVetos.h.
|
private |
Definition at line 102 of file EventDependentAbsVetos.h.
|
inline |
Create a veto specifying the input collection of the jets, the candidates, and the deltaR.
Definition at line 67 of file EventDependentAbsVetos.h.
|
inlineoverride |
Definition at line 88 of file EventDependentAbsVetos.h.
|
overridevirtual |
Set axis for matching jets.
Reimplemented from reco::isodeposit::AbsVeto.
Definition at line 88 of file EventDependentAbsVetos.cc.
References initialize().
|
private |
Definition at line 54 of file EventDependentAbsVetos.cc.
References cms::cuda::assert(), edm::RefVector< C, T, F >::begin(), reco::deltaR2(), edm::RefVector< C, T, F >::end(), edm::Ref< C, T, F >::isNonnull(), metsig::jet, fwrapper::jets, and edm::RefVector< C, T, F >::push_back().
|
overridevirtual |
Picks up the directions of the given candidates.
Implements reco::isodeposit::EventDependentAbsVeto.
Definition at line 50 of file EventDependentAbsVetos.cc.
|
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 42 of file EventDependentAbsVetos.cc.
References reco::deltaR2(), and PVValHelper::eta.
|
private |
Definition at line 112 of file EventDependentAbsVetos.h.
|
private |
Definition at line 110 of file EventDependentAbsVetos.h.
|
private |
Definition at line 106 of file EventDependentAbsVetos.h.
|
private |
Definition at line 113 of file EventDependentAbsVetos.h.
|
private |
Definition at line 109 of file EventDependentAbsVetos.h.
|
private |
Definition at line 111 of file EventDependentAbsVetos.h.
|
private |
Definition at line 108 of file EventDependentAbsVetos.h.