Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoPixelVertexing
PixelVertexFinding
interface
PVPositionBuilder.h
Go to the documentation of this file.
1
#ifndef RecoPixelVertexing_PVPositionBuilder_h
2
#define RecoPixelVertexing_PVPositionBuilder_h
3
14
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
15
#include "
DataFormats/TrackReco/interface/Track.h
"
16
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
17
#include <vector>
18
19
class
PVPositionBuilder
{
20
public
:
22
PVPositionBuilder
();
23
25
Measurement1D
average
(
const
reco::TrackRefVector
& trks)
const
;
26
28
Measurement1D
wtAverage
(
const
reco::TrackRefVector
& trks)
const
;
29
};
30
#endif
PVPositionBuilder::PVPositionBuilder
PVPositionBuilder()
Constructor does nothing, no data members.
Definition:
PVPositionBuilder.cc:5
TrackFwd.h
PVPositionBuilder
Definition:
PVPositionBuilder.h:19
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
Measurement1D.h
edm::RefVector< TrackCollection >
Measurement1D
Definition:
Measurement1D.h:11
Track.h
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
Generated for CMSSW Reference Manual by
1.8.5