CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VertexTrack.cc
Go to the documentation of this file.
2 
3 
4 template <unsigned int N>
6  VertexState v,
7  float weight)
8  : theLinTrack(std::move(lt)), theVertexState(std::move(v)), theWeight(weight),
9  stAvailable(false), covAvailable(false), smoothedChi2_(-1.) {}
10 
11 
12 template <unsigned int N>
14  VertexState v, float weight,
15  const RefCountedRefittedTrackState & refittedState,
16  float smoothedChi2)
17  : theLinTrack(std::move(lt)), theVertexState(std::move(v)), theWeight(weight),
18  stAvailable(true), covAvailable(false), theRefittedState(refittedState),
19  smoothedChi2_(smoothedChi2) {}
20 
21 
22 template <unsigned int N>
24  VertexState v, float weight,
25  const RefCountedRefittedTrackState & refittedState,
26  float smoothedChi2, const AlgebraicSymMatrixOO & fullCov)
27  : theLinTrack(std::move(lt)), theVertexState(std::move(v)), theWeight(weight),
28  stAvailable(true), covAvailable(true),
29  theRefittedState(refittedState), fullCovariance_(fullCov),
30  smoothedChi2_(smoothedChi2) {}
31 
32 
33 template <unsigned int N>
35 {
36  return linearizedTrack()->refittedParamFromEquation(theRefittedState);
37 }
38 
39 template class VertexTrack<5>;
40 template class VertexTrack<6>;
41 
42 // /** Track to vertex covariance
43 // */
44 // template <unsigned int N>
45 // typename VertexTrack<N>::AlgebraicMatrix3M VertexTrack<N>::tkToVtxCovariance() const {
46 // if (!tkToVertexCovarianceAvailable()) {
47 // throw VertexException("VertexTrack::track to vertex covariance not available");
48 // }
49 // // if (N==5) {
50 // // ROOT::Math::SMatrix<double,6,6,ROOT::Math::MatRepSym<double,6> > b6 = fullCovariance_;
51 // // return b.Sub<AlgebraicMatrix3M>(3,0);
52 // // //a = b.Sub< ROOT::Math::SMatrix<double,3,N-2,ROOT::Math::MatRepStd<double,3,N-2> > >(3,0);
53 // // }
54 // ROOT::Math::SMatrix<double,3,N-2,ROOT::Math::MatRepStd<double,3,N-2> > a;
55 // return a;
56 // }
AlgebraicVectorN refittedParamFromEquation() const
Definition: VertexTrack.cc:34
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition: VertexTrack.h:26
VertexTrack(RefCountedLinearizedTrackState lt, VertexState v, float weight)
Definition: VertexTrack.cc:5
ROOT::Math::SVector< double, N > AlgebraicVectorN
Definition: VertexTrack.h:23
< trclass="colgroup">< tdclass="colgroup"colspan=5 > DT local reconstruction</td ></tr >< tr >< td >< ahref="classDTRecHit1DPair.html"> DTRecHit1DPair</a ></td >< td >< ahref="DataFormats_DTRecHit.html"> edm::RangeMap & lt
volatile std::atomic< bool > shutdown_flag false
int weight
Definition: histoStyle.py:50