CMS 3D CMS Logo

PerigeeRefittedTrackState.cc
Go to the documentation of this file.
7 
9 {
10  return momentumAtVertex;
11 }
12 
13 std::vector< PerigeeRefittedTrackState::RefCountedRefittedTrackState >
15 {
16  std::vector<RefCountedRefittedTrackState> result; result.reserve(1);
17  result.push_back(RefCountedRefittedTrackState(
18  const_cast<PerigeeRefittedTrackState*>(this)));
19  return result;
20 }
21 
23 PerigeeRefittedTrackState::stateWithNewWeight (const double newWeight) const
24 {
27 }
28 
31 {
33  TrajectoryStateOnSurface tsos = thePropagator.propagate(freeTrajectoryState(), surface);
35  tsos.curvilinearError(), surface) ;
36 }
37 
40  const Propagator & propagator) const
41 {
42  std::auto_ptr<Propagator> thePropagator( propagator.clone());
43  thePropagator->setPropagationDirection(anyDirection);
44 
45  TrajectoryStateOnSurface tsos = thePropagator->propagate(freeTrajectoryState(), surface);
47  tsos.curvilinearError(), surface) ;
48 }
49 
51 {
53  return factory.build(freeTrajectoryState());
54 }
TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const override
double weight() const override
virtual Propagator * clone() const =0
AlgebraicVector3 momentumVector() const override
const GlobalTrajectoryParameters & parameters() const
const FreeTrajectoryState & theState() const
const CurvilinearTrajectoryError & curvilinearError() const
FreeTrajectoryState freeTrajectoryState() const override
ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const override
std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const override
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
ROOT::Math::SVector< double, 3 > AlgebraicVector3
PerigeeRefittedTrackState(const TrajectoryStateClosestToPoint &tscp, const AlgebraicVector3 &aMomentumAtVertex, const double aWeight=1.)
TrajectoryStateClosestToPoint theState
const GlobalTrajectoryParameters & globalParameters() const
reco::TransientTrack build(const FreeTrajectoryState &fts) const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:53
reco::TransientTrack transientTrack() const override
const MagneticField & magneticField() const