8 for (std::vector<Direction>::const_iterator
it =
items_.begin(), ed =
items_.end();
it != ed; ++
it) {
25 for (std::vector<Direction>::const_iterator
it = items_.begin(), ed = items_.end();
it != ed; ++
it) {
26 veto_->centerOn(
it->eta(),
it->phi());
43 for (std::vector<Direction>::const_iterator
it = items_.begin(), ed = items_.end();
it != ed; ++
it) {
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) {
78 pfCand != pfCandsMappedToJet.
end();
static AlgebraicMatrix initialize()
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 isNonnull() const
Checks for non-null.
bool veto(double eta, double phi, float value) const override
std::vector< Direction > items_
ALPAKA_FN_ACC static ALPAKA_FN_INLINE float dR2(Position4 pos1, Position4 pos2)
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())
const_iterator end() const
Termination of iteration.
bool veto(double eta, double phi, float value) const override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
const_iterator begin() const
Initialize an iterator over the RefVector.
void centerOn(double eta, double phi) override
Set axis for matching jets.
bool veto(double eta, double phi, float value) const override