8 : track_pT_min_(2.5), track_pT_max_(10.), track_chi2_max_(9999999.), track_prob_min_(-1.) {
16 : track_pT_min_(track_pt_min),
17 track_pT_max_(track_pt_max),
18 track_chi2_max_(track_chi2_max),
19 track_prob_min_(track_prob_min) {
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.
trackRef_iterator tracks_end() const
last iterator over tracks
void updateChisquareQuantile(size_t ndof)
trackRef_iterator tracks_begin() const
first iterator over tracks
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_