CMS 3D CMS Logo

VertexTrack.cc

Go to the documentation of this file.
00001 #include "RecoVertex/VertexPrimitives/interface/VertexTrack.h"
00002 
00003 
00004 template <unsigned int N>
00005 VertexTrack<N>::VertexTrack(const RefCountedLinearizedTrackState lt, 
00006                          const VertexState v, 
00007                          float weight) 
00008   : theLinTrack(lt), theVertexState(v), theWeight(weight),
00009     stAvailable(false), covAvailable(false), smoothedChi2_(-1.) {}
00010 
00011 
00012 template <unsigned int N>
00013 VertexTrack<N>::VertexTrack(const RefCountedLinearizedTrackState lt, 
00014                          const VertexState v, float weight,
00015                          const RefCountedRefittedTrackState & refittedState,
00016                          float smoothedChi2)
00017   : theLinTrack(lt), theVertexState(v), theWeight(weight),
00018     stAvailable(true), covAvailable(false), theRefittedState(refittedState),
00019     smoothedChi2_(smoothedChi2) {}
00020 
00021 
00022 template <unsigned int N>
00023 VertexTrack<N>::VertexTrack(const RefCountedLinearizedTrackState lt, 
00024                          const VertexState v, float weight, 
00025                          const RefCountedRefittedTrackState & refittedState,
00026                          float smoothedChi2, const AlgebraicMatrix3M & tVCov) 
00027   : theLinTrack(lt), theVertexState(v), theWeight(weight),
00028     stAvailable(true), covAvailable(true), 
00029     theRefittedState(refittedState), tkTVCovariance(tVCov),
00030     smoothedChi2_(smoothedChi2) {}
00031 
00032 
00033 template <unsigned int N>
00034 typename VertexTrack<N>::AlgebraicVectorN VertexTrack<N>::refittedParamFromEquation() const 
00035 {
00036   return linearizedTrack()->refittedParamFromEquation(theRefittedState);
00037 }
00038 
00039 template class VertexTrack<5>;
00040 template class VertexTrack<6>;

Generated on Tue Jun 9 17:46:13 2009 for CMSSW by  doxygen 1.5.4