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.
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
bool veto(double eta, double phi, float value) const override
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.