10 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
22 items_.push_back(
Direction(it->eta(), it->phi()));
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;
42 items_.push_back(
Direction(it->eta(), it->phi()));
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 ) {
90 items_.push_back(
Direction((*pfCand)->eta(), (*pfCand)->phi()));
static AlgebraicMatrix initialize()
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual void setEvent(const edm::Event &evt, const edm::EventSetup &es)
Picks up the directions of the given candidates.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual bool veto(double eta, double phi, float value) const
virtual bool veto(double eta, double phi, float value) const
virtual bool veto(double eta, double phi, float value) const
const_iterator end() const
Termination of iteration.
virtual void centerOn(double eta, double phi)
Set axis for matching jets.
std::vector< Direction > items_
const_iterator begin() const
Initialize an iterator over the RefVector.
bool isNonnull() const
Checks for non-null.
virtual void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Picks up the directions of the given candidates.
double deltaR2(const T1 &t1, const T2 &t2)
virtual void setEvent(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Picks up the directions of the given candidates.
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...