#include <EventDependentAbsVetos.h>
|
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 () |
|
virtual | ~EventDependentAbsVeto () |
|
virtual | ~AbsVeto () |
|
Definition at line 64 of file EventDependentAbsVetos.h.
Create a veto specifying the input collection of the jets, the candidates, and the deltaR.
Definition at line 67 of file EventDependentAbsVetos.h.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > > JetToPFCandidateAssociation
edm::EDGetTokenT< JetToPFCandidateAssociation > srcPFCandAssocMap_
edm::EDGetTokenT< reco::PFJetCollection > srcJets_
std::vector< PFJet > PFJetCollection
collection of PFJet objects
virtual reco::isodeposit::OtherJetConstituentsDeltaRVeto::~OtherJetConstituentsDeltaRVeto |
( |
| ) |
|
|
inlinevirtual |
void reco::isodeposit::OtherJetConstituentsDeltaRVeto::centerOn |
( |
double |
eta, |
|
|
double |
phi |
|
) |
| |
|
virtual |
void reco::isodeposit::OtherJetConstituentsDeltaRVeto::initialize |
( |
void |
| ) |
|
|
private |
Definition at line 62 of file EventDependentAbsVetos.cc.
References edm::RefVector< C, T, F >::begin(), reco::deltaR2(), edm::RefVector< C, T, F >::end(), training_settings::idx, edm::Ref< C, T, F >::isNonnull(), reco::isodeposit::OtherCandidatesDeltaRVeto::items_, metsig::jet, and fwrapper::jets.
74 size_t numJets = jets->size();
75 for (
size_t jetIndex = 0; jetIndex < numJets; ++jetIndex ) {
88 pfCand != pfCandsMappedToJet.
end(); ++pfCand ) {
90 items_.push_back(Direction((*pfCand)->eta(), (*pfCand)->phi()));
bool isNonnull() const
Checks for non-null.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
std::vector< Direction > items_
edm::EDGetTokenT< JetToPFCandidateAssociation > srcPFCandAssocMap_
edm::EDGetTokenT< reco::PFJetCollection > srcJets_
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
bool reco::isodeposit::OtherJetConstituentsDeltaRVeto::veto |
( |
double |
eta, |
|
|
double |
phi, |
|
|
float |
value |
|
) |
| const |
|
virtual |
double reco::isodeposit::OtherJetConstituentsDeltaRVeto::dR2constituent_ |
|
private |
double reco::isodeposit::OtherJetConstituentsDeltaRVeto::dR2jet_ |
|
private |
const edm::Event* reco::isodeposit::OtherJetConstituentsDeltaRVeto::evt_ |
|
private |
std::vector<Direction> reco::isodeposit::OtherJetConstituentsDeltaRVeto::items_ |
|
private |
Direction reco::isodeposit::OtherJetConstituentsDeltaRVeto::vetoDir_ |
|
private |