CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PVPositionBuilder.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_PVPositionBuilder_h
2 #define RecoPixelVertexing_PVPositionBuilder_h
3 
17 #include <vector>
18 
20  public:
23 
25  Measurement1D average(const reco::TrackRefVector& trks) const;
26 
28  Measurement1D wtAverage(const reco::TrackRefVector& trks) const;
29 };
30 #endif
PVPositionBuilder()
Constructor does nothing, no data members.
Measurement1D average(const reco::TrackRefVector &trks) const
Calculate unweighted average of Z of tracks from const collection of track pointers.
Measurement1D wtAverage(const reco::TrackRefVector &trks) const
Calculate Error-Weighted average of Z of tracks from const collection of track pointers.