CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiRefittedTS.h
Go to the documentation of this file.
1 #ifndef MultiRefittedTS_H
2 #define MultiRefittedTS_H
3 
8 
15 class Surface;
16 
18 
19 public:
20 
23 
28  MultiRefittedTS(const std::vector<RefCountedRefittedTrackState> & prtsComp,
29  const Surface & referenceSurface);
30 
36  MultiRefittedTS(const std::vector<RefCountedRefittedTrackState> & prtsComp,
37  const GlobalPoint & referencePosition);
38 
39  virtual ~MultiRefittedTS(){}
40 
47 
52  const Surface & surface) const;
53 
59  const Surface & surface, const Propagator & propagator) const;
60 
66  virtual reco::TransientTrack transientTrack() const;
67 
73  virtual AlgebraicVectorN parameters() const;
74 
80  virtual AlgebraicSymMatrixNN covariance() const;
81 
87  virtual GlobalPoint position() const;
88 
95  virtual AlgebraicVectorM momentumVector() const;
96 
97  virtual double weight() const;
98 
99  virtual std::vector<ReferenceCountingPointer<RefittedTrackState<5> > > components() const
100  {
101  return theComponents;
102  }
103 
113  (const double newWeight) const;
114 
115 
116 private:
117 
118  void computeFreeTrajectoryState() const;
119 
120 
121  typedef std::vector<RefCountedRefittedTrackState > RTSvector;
122 
125  mutable double totalWeight;
129  const bool surf;
130 
131 };
132 #endif
virtual TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const
virtual AlgebraicVectorM momentumVector() const
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
MultiRefittedTS(const std::vector< RefCountedRefittedTrackState > &prtsComp, const Surface &referenceSurface)
virtual double weight() const
virtual AlgebraicSymMatrixNN covariance() const
void computeFreeTrajectoryState() const
FreeTrajectoryState fts
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
virtual AlgebraicVectorN parameters() const
virtual ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const
ROOT::Math::SVector< double, N-2 > AlgebraicVectorM
const GlobalPoint refPosition
ROOT::Math::SVector< double, N > AlgebraicVectorN
virtual reco::TransientTrack transientTrack() const
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > AlgebraicSymMatrixNN
virtual ~MultiRefittedTS()
std::vector< RefCountedRefittedTrackState > RTSvector
virtual std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const
virtual FreeTrajectoryState freeTrajectoryState() const
virtual GlobalPoint position() const
RTSvector theComponents
ConstReferenceCountingPointer< Surface > refSurface