8 : track_pT_min_(2.5), track_pT_max_(10.), track_chi2_max_(9999999.), track_prob_min_(-1.) {
25 for (
size_t i = 0;
i <
v.tracks().size(); ++
i) {
26 double pt =
v.tracks()[
i]->pt();
34 size_t ndof =
v.tracks()[
i]->ndof();
53 double pt = (*i)->pt();
61 unsigned int ndof = (*i)->ndof();
90 for (
size_t i = oldsize;
i <=
ndof; ++
i) {
const double track_pT_min_
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_
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.
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
const double track_chi2_max_