RecoPixelVertexing
PixelVertexFinding
interface
PVPositionBuilder.h
Go to the documentation of this file.
1
#ifndef RecoPixelVertexing_PVPositionBuilder_h
2
#define RecoPixelVertexing_PVPositionBuilder_h
3
12
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
13
#include "
DataFormats/TrackReco/interface/Track.h
"
14
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
15
#include <vector>
16
17
class
PVPositionBuilder
{
18
public
:
20
PVPositionBuilder
();
21
23
Measurement1D
average
(
const
reco::TrackRefVector
&
trks
)
const
;
24
26
Measurement1D
wtAverage
(
const
reco::TrackRefVector
&
trks
)
const
;
27
};
28
#endif
Measurement1D
Definition:
Measurement1D.h:11
Measurement1D.h
edm::RefVector< TrackCollection >
PVPositionBuilder::PVPositionBuilder
PVPositionBuilder()
Constructor does nothing, no data members.
Definition:
PVPositionBuilder.cc:5
PVPositionBuilder::average
Measurement1D average(const reco::TrackRefVector &trks) const
Calculate unweighted average of Z of tracks from const collection of track pointers.
Definition:
PVPositionBuilder.cc:7
PVPositionBuilder::wtAverage
Measurement1D wtAverage(const reco::TrackRefVector &trks) const
Calculate Error-Weighted average of Z of tracks from const collection of track pointers.
Definition:
PVPositionBuilder.cc:21
Track.h
TrackFwd.h
PVPositionBuilder
Definition:
PVPositionBuilder.h:17
hltEgammaHLTExtra_cfi.trks
trks
Definition:
hltEgammaHLTExtra_cfi.py:43
Generated for CMSSW Reference Manual by
1.8.16