7 template <
unsigned int N>
15 return estimateNFittedTrack(vertex, tr);
17 if (hint < tracks.size()) {
20 return estimateFittedTrack(vertex, tracks[hint]);
23 typename std::vector<RefCountedVertexTrack>::const_iterator pos =
25 if (pos != tracks.end()) {
26 return estimateFittedTrack(vertex, *pos);
28 return estimateNFittedTrack(vertex, tr);
32 template <
unsigned int N>
36 return estimate(vertex, vertexTrack, hint);
39 template <
unsigned int N>
51 std::vector<RefCountedVertexTrack> initialTracks(1, vertexTrack);
56 return estimateFittedTrack(cachingVertex, vertexTrack);
58 return estimateNFittedTrack(cachingVertex, vertexTrack);
65 template <
unsigned int N>
76 return BDpair(
true, newSmoothedTrack->smoothedChi2());
81 template <
unsigned int N>
93 template <
unsigned int N>
98 BDpair trackRes = helper.trackParameterChi2(track);
99 return BDpair(trackRes.first, trackRes.second + helper.vertexChi2(less, more));
RefCountedLinearizedTrackState linearizedTrackState(const GlobalPoint &linP, const reco::TransientTrack &track) const override
TrackBaseRef trackBaseRef() const
VertexState const & vertexState() const
const std::vector< RefCountedVertexTrack > & tracksRef() const
auto const & tracks
cannot be loose
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_end() const
last iterator over tracks
trackRef_iterator tracks_begin() const
first iterator over tracks