Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoPixelVertexing
PixelVertexFinding
interface
PVClusterComparer.h
Go to the documentation of this file.
1
#ifndef RecoPixelVertexing_PVClusterComparer_h
2
#define RecoPixelVertexing_PVClusterComparer_h
3
15
#include "
RecoPixelVertexing/PixelVertexFinding/interface/PVCluster.h
"
16
#include "
DataFormats/VertexReco/interface/Vertex.h
"
17
18
class
PVClusterComparer
{
19
public
:
21
PVClusterComparer
();
22
24
double
pTSquaredSum
(
const
PVCluster
&
v
)
const
;
25
double
pTSquaredSum
(
const
reco::Vertex
&v)
const
;
26
28
bool
operator()
(
const
PVCluster
&v1,
const
PVCluster
&v2)
const
;
29
bool
operator()
(
const
reco::Vertex
&v1,
const
reco::Vertex
&v2)
const
;
30
};
31
#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
PVClusterComparer
Definition:
PVClusterComparer.h:18
reco::Vertex
Definition:
Vertex.h:35
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
v
mathSSE::Vec4< T > v
Definition:
newBasic3DVector.h:354
Generated for CMSSW Reference Manual by
1.8.5