8 for (
size_t i = 0,
n = in.size();
i <
n;
i++) {
21 for (
size_t i = 0,
n = in.
size();
i <
n;
i++) {
24 if (
deltaR2(dir, t) < deltaR2_) {
void associateTransient(const math::XYZVector &dir, const reco::TrackCollection &in, reco::TrackRefVector &out)
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
std::vector< Track > TrackCollection
collection of Tracks
RefToBase< value_type > refAt(size_type i) const
void associate(const math::XYZVector &dir, const edm::View< reco::Track > &in, reco::TrackRefVector &out)
unsigned short numberOfValidHits() const
number of valid hits found
XYZVectorD XYZVector
spatial vector with cartesian internal representation
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.