10 , track_chi2_max_(9999999.)
11 , track_prob_min_(-1.)
27 for (
size_t i=0;
i<v.tracks().size(); ++
i) {
29 double pt = v.tracks()[
i]->pt();
36 size_t ndof = v.tracks()[
i]->ndof();
54 double pt = (*i)->pt();
61 unsigned int ndof = (*i)->ndof();
76 std::vector<double>
maxChi2(20, 0.);
90 for (
size_t i = oldsize;
i <=
ndof; ++
i) {
const double track_pT_min_
trackRef_iterator tracks_end() const
last iterator over tracks
void setChisquareQuantile()
std::vector< double > maxChi2_
double pTSquaredSum(const PVCluster &v)
Calculate sum of square of the pT's of the tracks in the vertex.
void updateChisquareQuantile(size_t ndof)
const double track_pT_max_
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
const double track_prob_min_
PVClusterComparer()
Constructor does nothing, no data members.
bool operator()(const PVCluster &v1, const PVCluster &v2)
Use this operator in a std::sort to sort them in decreasing sumPt.
trackRef_iterator tracks_begin() const
first iterator over tracks
const double track_chi2_max_