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
double deltaR2(const Vector1 &v1, const Vector2 &v2)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.