CMS 3D CMS Logo

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
MultiRefittedTS::momentumVector
AlgebraicVectorM momentumVector() const override
Definition: MultiRefittedTS.cc:81
MultiRefittedTS::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition: MultiRefittedTS.h:20
RefittedTrackState< 5 >::AlgebraicVectorM
ROOT::Math::SVector< double, N - 2 > AlgebraicVectorM
Definition: RefittedTrackState.h:25
RefittedTrackState< 5 >::AlgebraicSymMatrixNN
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > AlgebraicSymMatrixNN
Definition: RefittedTrackState.h:28
MultiRefittedTS::RTSvector
std::vector< RefCountedRefittedTrackState > RTSvector
Definition: MultiRefittedTS.h:109
MultiRefittedTS::weight
double weight() const override
Definition: MultiRefittedTS.cc:85
MultiRefittedTS::fts
FreeTrajectoryState fts
Definition: MultiRefittedTS.h:114
MultiRefittedTS::theComponents
RTSvector theComponents
Definition: MultiRefittedTS.h:111
ConstReferenceCountingPointer< Surface >
Surface
Definition: Surface.h:36
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TrackCandidateProducer_cfi.propagator
propagator
Definition: TrackCandidateProducer_cfi.py:17
Surface.h
MultiRefittedTS::~MultiRefittedTS
~MultiRefittedTS() override
Definition: MultiRefittedTS.h:35
MultiRefittedTS
Definition: MultiRefittedTS.h:17
Point3DBase< float, GlobalTag >
MultiRefittedTS::parameters
AlgebraicVectorN parameters() const override
Definition: MultiRefittedTS.cc:56
MultiRefittedTS::transientTrack
reco::TransientTrack transientTrack() const override
Definition: MultiRefittedTS.cc:140
MultiRefittedTS::covariance
AlgebraicSymMatrixNN covariance() const override
Definition: MultiRefittedTS.cc:64
MultiRefittedTS::freeTrajectoryState
FreeTrajectoryState freeTrajectoryState() const override
Definition: MultiRefittedTS.cc:23
MultiRefittedTS::surf
const bool surf
Definition: MultiRefittedTS.h:117
RefittedTrackState
Definition: RefittedTrackState.h:21
MultiRefittedTS::components
std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const override
Definition: MultiRefittedTS.h:94
MultiRefittedTS::totalWeight
double totalWeight
Definition: MultiRefittedTS.h:113
RefittedTrackState< 5 >::AlgebraicVectorN
ROOT::Math::SVector< double, N > AlgebraicVectorN
Definition: RefittedTrackState.h:24
MultiRefittedTS::position
GlobalPoint position() const override
Definition: MultiRefittedTS.cc:72
MultiRefittedTS::refPosition
const GlobalPoint refPosition
Definition: MultiRefittedTS.h:115
ReferenceCounted.h
reco::TransientTrack
Definition: TransientTrack.h:19
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
MultiRefittedTS::computeFreeTrajectoryState
void computeFreeTrajectoryState() const
Definition: MultiRefittedTS.cc:29
MultiRefittedTS::refSurface
ConstReferenceCountingPointer< Surface > refSurface
Definition: MultiRefittedTS.h:116
MultiRefittedTS::stateWithNewWeight
ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const override
Definition: MultiRefittedTS.cc:98
MultiRefittedTS::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
Definition: MultiRefittedTS.h:19
MultiRefittedTS::trajectoryStateOnSurface
TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const override
Definition: MultiRefittedTS.cc:121
LinearizedTrackState.h
MultiRefittedTS::totalWeightAvailable
bool totalWeightAvailable
Definition: MultiRefittedTS.h:112
MultiRefittedTS::MultiRefittedTS
MultiRefittedTS(const std::vector< RefCountedRefittedTrackState > &prtsComp, const Surface &referenceSurface)
Definition: MultiRefittedTS.cc:11
RefittedTrackState.h
MultiRefittedTS::ftsAvailable
bool ftsAvailable
Definition: MultiRefittedTS.h:112