RecoPixelVertexing
PixelVertexFinding
interface
DivisiveVertexFinder.h
Go to the documentation of this file.
1
#ifndef RecoPixelVertexing_DivisiveVertexFinder_h
2
#define RecoPixelVertexing_DivisiveVertexFinder_h
3
24
#include <vector>
25
#include "
DataFormats/VertexReco/interface/Vertex.h
"
26
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
27
#include "
DataFormats/TrackReco/interface/Track.h
"
28
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
29
//#include "CommonTools/Clustering1D/interface/DivisiveClusterizer1D.h"
30
#include "
RecoPixelVertexing/PixelVertexFinding/interface/DivisiveClusterizer1D.h
"
31
32
#include "
RecoPixelVertexing/PixelVertexFinding/interface/PVClusterComparer.h
"
33
34
class
DivisiveVertexFinder
{
35
public
:
36
DivisiveVertexFinder
(
double
track_pt_min
,
37
double
track_pt_max
,
38
double
track_chi2_max
,
39
double
track_prob_min
,
40
double
zOffset = 5.0,
41
int
ntrkMin = 5,
42
bool
useError =
true
,
43
double
zSeparation
= 0.05,
44
bool
wtAverage =
true
,
45
int
verbosity
= 0);
46
~DivisiveVertexFinder
();
47
49
bool
findVertexes
(
const
reco::TrackRefVector
&
trks
,
// input
50
reco::VertexCollection
&
vertexes
);
// output
51
bool
findVertexesAlt
(
const
reco::TrackRefVector
&
trks
,
// input
52
reco::VertexCollection
&
vertexes
,
53
const
math::XYZPoint
&
bs
);
// output
54
private
:
56
double
zOffset_
,
zSeparation_
;
57
int
ntrkMin_
;
58
bool
useError_
,
wtAverage_
;
59
61
pixeltemp::DivisiveClusterizer1D<reco::Track>
divmeth_
;
62
// DivisiveClusterizer1D< reco::Track > divmeth_;
63
64
// How loud should I be?
65
int
verbose_
;
66
67
PVClusterComparer
*
pvComparer_
;
68
};
69
#endif
Vertex.h
hltEgammaHLTExtra_cfi.trks
trks
Definition:
hltEgammaHLTExtra_cfi.py:43
HLT_FULL_cff.zSeparation
zSeparation
Definition:
HLT_FULL_cff.py:98049
HLT_2022v12_cff.track_chi2_max
track_chi2_max
Definition:
HLT_2022v12_cff.py:172
HLT_2022v12_cff.track_prob_min
track_prob_min
Definition:
HLT_2022v12_cff.py:174
ctppsCommonDQMSource_cfi.verbosity
verbosity
Definition:
ctppsCommonDQMSource_cfi.py:14
DivisiveVertexFinder::findVertexesAlt
bool findVertexesAlt(const reco::TrackRefVector &trks, reco::VertexCollection &vertexes, const math::XYZPoint &bs)
Definition:
DivisiveVertexFinder.cc:60
DivisiveVertexFinder::pvComparer_
PVClusterComparer * pvComparer_
Definition:
DivisiveVertexFinder.h:67
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition:
VertexFwd.h:9
TrackFwd.h
VertexFwd.h
DivisiveVertexFinder::zSeparation_
double zSeparation_
Definition:
DivisiveVertexFinder.h:56
PVClusterComparer
Definition:
PVClusterComparer.h:16
HLT_2022v12_cff.track_pt_max
track_pt_max
Definition:
HLT_2022v12_cff.py:173
DivisiveVertexFinder::useError_
bool useError_
Definition:
DivisiveVertexFinder.h:58
DivisiveVertexFinder::findVertexes
bool findVertexes(const reco::TrackRefVector &trks, reco::VertexCollection &vertexes)
Run the divisive algorithm and return a vector of vertexes for the input track collection.
Definition:
DivisiveVertexFinder.cc:35
DivisiveVertexFinder::ntrkMin_
int ntrkMin_
Definition:
DivisiveVertexFinder.h:57
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
DivisiveVertexFinder::DivisiveVertexFinder
DivisiveVertexFinder(double track_pt_min, double track_pt_max, double track_chi2_max, double track_prob_min, double zOffset=5.0, int ntrkMin=5, bool useError=true, double zSeparation=0.05, bool wtAverage=true, int verbosity=0)
Definition:
DivisiveVertexFinder.cc:13
edm::RefVector< TrackCollection >
cms::cuda::bs
bs
Definition:
HistoContainer.h:76
pixeltemp::DivisiveClusterizer1D< reco::Track >
DivisiveVertexFinder::verbose_
int verbose_
Definition:
DivisiveVertexFinder.h:65
DivisiveVertexFinder
Definition:
DivisiveVertexFinder.h:34
jetsAK4_CHS_cff.vertexes
vertexes
Definition:
jetsAK4_CHS_cff.py:327
HLT_2022v12_cff.track_pt_min
track_pt_min
Definition:
HLT_2022v12_cff.py:175
DivisiveVertexFinder::~DivisiveVertexFinder
~DivisiveVertexFinder()
Definition:
DivisiveVertexFinder.cc:33
Track.h
DivisiveVertexFinder::zOffset_
double zOffset_
Cuts on vertex formation and other options.
Definition:
DivisiveVertexFinder.h:56
DivisiveVertexFinder::divmeth_
pixeltemp::DivisiveClusterizer1D< reco::Track > divmeth_
We use Wolfgang's templated class that implements the actual divisive method.
Definition:
DivisiveVertexFinder.h:61
DivisiveVertexFinder::wtAverage_
bool wtAverage_
Definition:
DivisiveVertexFinder.h:58
PVClusterComparer.h
DivisiveClusterizer1D.h
Generated for CMSSW Reference Manual by
1.8.14