21 std::pair<bool, double>
26 std::vector<RefCountedVertexTrack>
tracks = vertex.
tracks();
27 std::vector<RefCountedVertexTrack>::iterator pos
29 if (pos != tracks.end()) {
30 return estimateFittedTrack(vertex,*pos);
32 return estimateNFittedTrack(vertex,tr);
37 std::pair<bool, double>
40 unsigned int hint)
const
44 return estimate(vertex, vertexTrack);
48 std::pair<bool, double>
56 lTrackFactory.linearizedTrackState(linP, track);
58 VertexState vState(linP, err);
61 std::vector<RefCountedVertexTrack> initialTracks(1, vertexTrack);
69 return estimateFittedTrack(cachingVertex, vertexTrack);
71 return estimateNFittedTrack(cachingVertex, vertexTrack);
80 std::pair<bool, double>
87 if (track->refittedStateAvailable())
return BDpair(
true, track->smoothedChi2());
89 (
"GsfVertexTrackCompatibilityEstimator::vertex has to be smoothed.");
98 std::pair<bool, double>
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
std::vector< RefCountedVertexTrack > const & tracks() const
float totalChiSquared() const
double chi2() const
chi-squares
trackRef_iterator tracks_begin() const
first iterator over tracks