22 unsigned int hint)
const {
24 std::vector<RefCountedVertexTrack>
tracks = vertex.
tracks();
25 std::vector<RefCountedVertexTrack>::iterator
pos = find_if(tracks.begin(), tracks.end(),
VertexTrackEqual<5>(tr));
26 if (pos != tracks.end()) {
27 return estimateFittedTrack(vertex, *pos);
29 return estimateNFittedTrack(vertex, tr);
35 unsigned int hint)
const {
37 return estimate(vertex, vertexTrack);
50 std::vector<RefCountedVertexTrack> initialTracks(1, vertexTrack);
56 return estimateFittedTrack(cachingVertex, vertexTrack);
58 return estimateNFittedTrack(cachingVertex, vertexTrack);
70 if (track->refittedStateAvailable())
71 return BDpair(
true, track->smoothedChi2());
72 throw VertexException(
"GsfVertexTrackCompatibilityEstimator::vertex has to be smoothed.");
std::vector< RefCountedVertexTrack > tracks() const
trackRef_iterator tracks_end() const
last iterator over tracks
TrackBaseRef trackBaseRef() const
VertexState const & vertexState() const
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const Point & position() const
position
float totalChiSquared() const
double chi2() const
chi-squares
trackRef_iterator tracks_begin() const
first iterator over tracks