Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoPixelVertexing
PixelVertexFinding
interface
PVClusterComparer.h
Go to the documentation of this file.
1
#ifndef RecoPixelVertexing_PVClusterComparer_h
2
#define RecoPixelVertexing_PVClusterComparer_h
3
13
#include "
RecoPixelVertexing/PixelVertexFinding/interface/PVCluster.h
"
14
#include "
DataFormats/VertexReco/interface/Vertex.h
"
15
16
class
PVClusterComparer
{
17
public
:
19
PVClusterComparer
();
20
22
double
pTSquaredSum
(
const
PVCluster
&
v
)
const
;
23
double
pTSquaredSum
(
const
reco::Vertex
&v)
const
;
24
26
bool
operator()
(
const
PVCluster
&v1,
const
PVCluster
&v2)
const
;
27
bool
operator()
(
const
reco::Vertex
&v1,
const
reco::Vertex
&v2)
const
;
28
};
29
#endif
PVClusterComparer::operator()
bool operator()(const PVCluster &v1, const PVCluster &v2) const
Use this operator in a std::sort to sort them in decreasing sumPt.
Definition:
PVClusterComparer.cc:30
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
PVClusterComparer
Definition:
PVClusterComparer.h:16
reco::Vertex
Definition:
Vertex.h:34
PVCluster
Vertex.h
PVClusterComparer::pTSquaredSum
double pTSquaredSum(const PVCluster &v) const
Calculate sum of square of the pT's of the tracks in the vertex.
Definition:
PVClusterComparer.cc:7
PVCluster.h
PVClusterComparer::PVClusterComparer
PVClusterComparer()
Constructor does nothing, no data members.
Definition:
PVClusterComparer.cc:5
Generated for CMSSW Reference Manual by
1.8.5