#include <EventDependentAbsVetos.h>
Public Member Functions | |
virtual void | centerOn (double eta, double phi) |
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... | |
virtual void | setEvent (const edm::Event &evt, const edm::EventSetup &es) |
Picks up the directions of the given candidates. More... | |
virtual bool | veto (double eta, double phi, float value) const |
virtual | ~OtherJetConstituentsDeltaRVeto () |
Public Member Functions inherited from reco::isodeposit::EventDependentAbsVeto | |
virtual | ~EventDependentAbsVeto () |
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 97 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.
|
inlinevirtual |
Definition at line 84 of file EventDependentAbsVetos.h.
|
virtual |
Set axis for matching jets.
Reimplemented from reco::isodeposit::AbsVeto.
Definition at line 97 of file EventDependentAbsVetos.cc.
References initialize().
|
private |
Definition at line 62 of file EventDependentAbsVetos.cc.
References 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().
|
virtual |
Picks up the directions of the given candidates.
Implements reco::isodeposit::EventDependentAbsVeto.
Definition at line 56 of file EventDependentAbsVetos.cc.
|
virtual |
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 47 of file EventDependentAbsVetos.cc.
References reco::deltaR2(), and eta.
|
private |
Definition at line 107 of file EventDependentAbsVetos.h.
|
private |
Definition at line 105 of file EventDependentAbsVetos.h.
|
private |
Definition at line 101 of file EventDependentAbsVetos.h.
|
private |
Definition at line 108 of file EventDependentAbsVetos.h.
|
private |
Definition at line 104 of file EventDependentAbsVetos.h.
|
private |
Definition at line 106 of file EventDependentAbsVetos.h.
|
private |
Definition at line 103 of file EventDependentAbsVetos.h.