CMS 3D CMS Logo

PerigeeRefittedTrackState.h
Go to the documentation of this file.
1 #ifndef PerigeeRefittedTrackState_H
2 #define PerigeeRefittedTrackState_H
3 
7 
15 class Surface;
16 class Propagator;
17 
19 public:
21 
23  const AlgebraicVector3& aMomentumAtVertex,
24  const double aWeight = 1.)
25  : theState(tscp), momentumAtVertex(aMomentumAtVertex), theWeight(aWeight) {}
26 
28 
34 
38  TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface& surface) const override;
39 
45  const Propagator& propagator) const override;
46 
53  AlgebraicVector5 parameters() const override { return theState.perigeeParameters().vector(); }
54 
60 
65  GlobalPoint position() const override { return theState.referencePoint(); }
66 
72  AlgebraicVector3 momentumVector() const override;
73 
77  double weight() const override { return theWeight; }
78 
83  ReferenceCountingPointer<RefittedTrackState<5> > stateWithNewWeight(const double newWeight) const override;
84 
85  std::vector<ReferenceCountingPointer<RefittedTrackState<5> > > components() const override;
86 
87  reco::TransientTrack transientTrack() const override;
88 
89 private:
92  double theWeight;
93 };
94 #endif
AlgebraicVector3
ROOT::Math::SVector< double, 3 > AlgebraicVector3
Definition: AlgebraicROOTObjects.h:12
PerigeeRefittedTrackState::PerigeeRefittedTrackState
PerigeeRefittedTrackState(const TrajectoryStateClosestToPoint &tscp, const AlgebraicVector3 &aMomentumAtVertex, const double aWeight=1.)
Definition: PerigeeRefittedTrackState.h:22
PerigeeRefittedTrackState::momentumVector
AlgebraicVector3 momentumVector() const override
Definition: PerigeeRefittedTrackState.cc:8
PerigeeRefittedTrackState::theWeight
double theWeight
Definition: PerigeeRefittedTrackState.h:92
PerigeeRefittedTrackState::freeTrajectoryState
FreeTrajectoryState freeTrajectoryState() const override
Definition: PerigeeRefittedTrackState.h:33
PerigeeRefittedTrackState::components
std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const override
Definition: PerigeeRefittedTrackState.cc:10
TrajectoryStateClosestToPoint.h
PerigeeRefittedTrackState::trajectoryStateOnSurface
TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const override
Definition: PerigeeRefittedTrackState.cc:22
PerigeeRefittedTrackState::position
GlobalPoint position() const override
Definition: PerigeeRefittedTrackState.h:65
Surface
Definition: Surface.h:36
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
PerigeeRefittedTrackState::covariance
AlgebraicSymMatrix55 covariance() const override
Definition: PerigeeRefittedTrackState.h:59
PerigeeRefittedTrackState
Definition: PerigeeRefittedTrackState.h:18
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TrackCandidateProducer_cfi.propagator
propagator
Definition: TrackCandidateProducer_cfi.py:17
PerigeeRefittedTrackState::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
Definition: PerigeeRefittedTrackState.h:20
TrajectoryStateClosestToPoint::perigeeError
const PerigeeTrajectoryError & perigeeError() const
Definition: TrajectoryStateClosestToPoint.h:84
Point3DBase< float, GlobalTag >
TrajectoryStateClosestToPoint::perigeeParameters
const PerigeeTrajectoryParameters & perigeeParameters() const
Definition: TrajectoryStateClosestToPoint.h:73
RefittedTrackState
Definition: RefittedTrackState.h:21
PerigeeTrajectoryParameters::vector
const AlgebraicVector5 & vector() const
Definition: PerigeeTrajectoryParameters.h:82
TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18
AlgebraicVector5
ROOT::Math::SVector< double, 5 > AlgebraicVector5
Definition: AlgebraicROOTObjects.h:14
PerigeeTrajectoryError::covarianceMatrix
const AlgebraicSymMatrix55 & covarianceMatrix() const
Definition: PerigeeTrajectoryError.h:29
PerigeeRefittedTrackState::parameters
AlgebraicVector5 parameters() const override
Definition: PerigeeRefittedTrackState.h:53
ReferenceCounted.h
reco::TransientTrack
Definition: TransientTrack.h:19
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
PerigeeRefittedTrackState::theState
TrajectoryStateClosestToPoint theState
Definition: PerigeeRefittedTrackState.h:90
PerigeeRefittedTrackState::stateWithNewWeight
ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const override
Definition: PerigeeRefittedTrackState.cc:17
PerigeeRefittedTrackState::~PerigeeRefittedTrackState
~PerigeeRefittedTrackState() override
Definition: PerigeeRefittedTrackState.h:27
PerigeeRefittedTrackState::momentumAtVertex
AlgebraicVector3 momentumAtVertex
Definition: PerigeeRefittedTrackState.h:91
PerigeeRefittedTrackState::weight
double weight() const override
Definition: PerigeeRefittedTrackState.h:77
TrajectoryStateClosestToPoint::referencePoint
const GlobalPoint & referencePoint() const
Definition: TrajectoryStateClosestToPoint.h:67
TrajectoryStateClosestToPoint::theState
const FreeTrajectoryState & theState() const
Definition: TrajectoryStateClosestToPoint.h:96
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition: AlgebraicROOTObjects.h:23
RefittedTrackState.h
PerigeeRefittedTrackState::transientTrack
reco::TransientTrack transientTrack() const override
Definition: PerigeeRefittedTrackState.cc:37