10 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
29 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
30 veto_->centerOn(it->eta(), it->phi());
31 if ( veto_->veto(eta,phi,value) )
return true;
49 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
50 if (::
deltaR2(it->eta(), it->phi(),
eta, phi) < dR2constituent_)
return true;
69 evt_->getByToken(srcJets_, jets);
71 evt_->getByToken(srcPFCandAssocMap_, jetToPFCandMap);
72 double dR2min = dR2jet_;
74 size_t numJets = jets->size();
75 for (
size_t jetIndex = 0; jetIndex < numJets; ++jetIndex ) {
77 double dR2 =
::deltaR2(vetoDir_.eta(), vetoDir_.phi(), jet->eta(), jet->phi());
88 pfCand != pfCandsMappedToJet.
end(); ++pfCand ) {
static AlgebraicMatrix initialize()
bool isNonnull() const
Checks for non-null.
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.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< edm::View< reco::Candidate > > src_
const_iterator end() const
Termination of iteration.
std::vector< Direction > items_
const_iterator begin() const
Initialize an iterator over the RefVector.
bool veto(double eta, double phi, float value) const override
void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Picks up the directions of the given candidates.
bool veto(double eta, double phi, float value) const override
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
bool veto(double eta, double phi, float value) const override
void centerOn(double eta, double phi) override
Set axis for matching jets.