CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
21 
26  MultiRefittedTS(const std::vector<RefCountedRefittedTrackState>& prtsComp, const Surface& referenceSurface);
27 
33  MultiRefittedTS(const std::vector<RefCountedRefittedTrackState>& prtsComp, const GlobalPoint& referencePosition);
34 
35  ~MultiRefittedTS() override {}
36 
43 
47  TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface& surface) const override;
48 
54  const Propagator& propagator) const override;
55 
61  reco::TransientTrack transientTrack() const override;
62 
68  AlgebraicVectorN parameters() const override;
69 
75  AlgebraicSymMatrixNN covariance() const override;
76 
82  GlobalPoint position() const override;
83 
90  AlgebraicVectorM momentumVector() const override;
91 
92  double weight() const override;
93 
94  std::vector<ReferenceCountingPointer<RefittedTrackState<5> > > components() const override { return theComponents; }
95 
104  ReferenceCountingPointer<RefittedTrackState<5> > stateWithNewWeight(const double newWeight) const override;
105 
106 private:
107  void computeFreeTrajectoryState() const;
108 
109  typedef std::vector<RefCountedRefittedTrackState> RTSvector;
110 
113  mutable double totalWeight;
117  const bool surf;
118 };
119 #endif
AlgebraicVectorN parameters() const override
tuple propagator
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
AlgebraicSymMatrixNN covariance() const override
MultiRefittedTS(const std::vector< RefCountedRefittedTrackState > &prtsComp, const Surface &referenceSurface)
ROOT::Math::SVector< double, N-2 > AlgebraicVectorM
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > AlgebraicSymMatrixNN
void computeFreeTrajectoryState() const
FreeTrajectoryState fts
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
std::vector< RefCountedRefittedTrackState > RTSvector
const GlobalPoint refPosition
TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const override
ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const override
FreeTrajectoryState freeTrajectoryState() const override
GlobalPoint position() const override
std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const override
ROOT::Math::SVector< double, N > AlgebraicVectorN
~MultiRefittedTS() override
AlgebraicVectorM momentumVector() const override
RTSvector theComponents
ConstReferenceCountingPointer< Surface > refSurface
reco::TransientTrack transientTrack() const override
double weight() const override