CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PVClusterComparer.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_PVClusterComparer_h
2 #define RecoPixelVertexing_PVClusterComparer_h
3 
15 
17  public:
21 
23  double pTSquaredSum(const PVCluster &v);
24  double pTSquaredSum(const reco::Vertex &v);
25  void setChisquareQuantile();
26  void updateChisquareQuantile(size_t ndof);
27 
29  bool operator() (const PVCluster &v1, const PVCluster &v2);
30  bool operator() (const reco::Vertex &v1, const reco::Vertex &v2);
31 
32  std::vector<double> maxChi2_;
33 
34  const double track_pT_min_;
35  const double track_pT_max_;
36  const double track_chi2_max_;
37  const double track_prob_min_;
38 
39 };
40 #endif
const double track_pT_min_
std::vector< double > maxChi2_
double pTSquaredSum(const PVCluster &v)
Calculate sum of square of the pT&#39;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.
const double track_chi2_max_