8 template <
unsigned int N>
12 unsigned int hint)
const
18 if ( tracks.size()==0)
19 return estimateNFittedTrack(vertex,tr);
21 if (hint<tracks.size() ) {
24 return estimateFittedTrack(vertex,tracks[hint]);
27 typename std::vector<RefCountedVertexTrack>::const_iterator
pos
29 if(pos != tracks.end()) {
30 return estimateFittedTrack(vertex,*pos);
32 return estimateNFittedTrack(vertex,tr);
37 template <
unsigned int N>
41 unsigned int hint)
const
45 return estimate(vertex, vertexTrack,hint);
49 template <
unsigned int N>
64 std::vector<RefCountedVertexTrack> initialTracks(1, vertexTrack);
71 return estimateFittedTrack(cachingVertex, vertexTrack);
73 return estimateNFittedTrack(cachingVertex, vertexTrack);
82 template <
unsigned int N>
94 return BDpair(
true, newSmoothedTrack->smoothedChi2());
99 template <
unsigned int N>
113 template <
unsigned int N>
119 BDpair trackRes = helper.trackParameterChi2(track);
120 return BDpair(trackRes.first, trackRes.second + helper.vertexChi2(less, more)) ;
VertexState vertexState() const
trackRef_iterator tracks_end() const
last iterator over tracks
TrackBaseRef trackBaseRef() const
const std::vector< RefCountedVertexTrack > & tracksRef() 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
RefCountedLinearizedTrackState linearizedTrackState(const GlobalPoint &linP, const reco::TransientTrack &track) const
float totalChiSquared() const
double chi2() const
chi-squares
trackRef_iterator tracks_begin() const
first iterator over tracks