00001 #ifndef RecoPixelVertexing_PVPositionBuilder_h 00002 #define RecoPixelVertexing_PVPositionBuilder_h 00003 00014 #include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h" 00015 #include "DataFormats/TrackReco/interface/Track.h" 00016 #include "DataFormats/TrackReco/interface/TrackFwd.h" 00017 #include <vector> 00018 00019 class PVPositionBuilder { 00020 public: 00022 PVPositionBuilder(); 00023 00025 Measurement1D average(const reco::TrackRefVector& trks) const; 00026 00028 Measurement1D wtAverage(const reco::TrackRefVector& trks) const; 00029 }; 00030 #endif