8 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
20 items_.push_back(
Direction(it->eta(), it->phi()));
25 for (std::vector<Direction>::const_iterator it = items_.begin(), ed = items_.end(); it != ed; ++it) {
26 veto_->centerOn(it->eta(), it->phi());
38 items_.push_back(
Direction(it->eta(), it->phi()));
43 for (std::vector<Direction>::const_iterator it = items_.begin(), ed = items_.end(); it != ed; ++it) {
44 if (::
deltaR2(it->eta(), it->phi(),
eta, phi) < dR2constituent_)
60 evt_->getByToken(srcJets_,
jets);
62 evt_->getByToken(srcPFCandAssocMap_, jetToPFCandMap);
63 double dR2min = dR2jet_;
65 size_t numJets =
jets->size();
66 for (
size_t jetIndex = 0; jetIndex < numJets; ++jetIndex) {
68 double dR2 =
::deltaR2(vetoDir_.eta(), vetoDir_.phi(),
jet->eta(),
jet->phi());
79 pfCand != pfCandsMappedToJet.
end();
82 items_.push_back(
Direction((*pfCand)->eta(), (*pfCand)->phi()));