CMS 3D CMS Logo

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 #endif
PVClusterComparer::track_prob_min_
const double track_prob_min_
Definition: PVClusterComparer.h:37
HLT_FULL_cff.track_pt_min
track_pt_min
Definition: HLT_FULL_cff.py:256
HLT_FULL_cff.track_prob_min
track_prob_min
Definition: HLT_FULL_cff.py:255
PVCluster.h
PVClusterComparer::track_pT_min_
const double track_pT_min_
Definition: PVClusterComparer.h:34
PVClusterComparer::setChisquareQuantile
void setChisquareQuantile()
Definition: PVClusterComparer.cc:78
findQualityFiles.v
v
Definition: findQualityFiles.py:179
ndof
Definition: HIMultiTrackSelector.h:49
PVClusterComparer::pTSquaredSum
double pTSquaredSum(const PVCluster &v)
Calculate sum of square of the pT's of the tracks in the vertex.
Definition: PVClusterComparer.cc:23
PVClusterComparer::maxChi2_
std::vector< double > maxChi2_
Definition: PVClusterComparer.h:32
HLT_FULL_cff.track_chi2_max
track_chi2_max
Definition: HLT_FULL_cff.py:253
Vertex.h
HLT_FULL_cff.track_pt_max
track_pt_max
Definition: HLT_FULL_cff.py:254
PVClusterComparer::track_pT_max_
const double track_pT_max_
Definition: PVClusterComparer.h:35
PVClusterComparer::updateChisquareQuantile
void updateChisquareQuantile(size_t ndof)
Definition: PVClusterComparer.cc:87
PVCluster
PVClusterComparer::PVClusterComparer
PVClusterComparer()
Constructor does nothing, no data members.
Definition: PVClusterComparer.cc:7
PVClusterComparer
Definition: PVClusterComparer.h:16
PVClusterComparer::track_chi2_max_
const double track_chi2_max_
Definition: PVClusterComparer.h:36
PVClusterComparer::operator()
bool operator()(const PVCluster &v1, const PVCluster &v2)
Use this operator in a std::sort to sort them in decreasing sumPt.
Definition: PVClusterComparer.cc:96
reco::Vertex
Definition: Vertex.h:35