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 }
virtual Propagator * clone() const =0
virtual FreeTrajectoryState freeTrajectoryState() const
const GlobalTrajectoryParameters & parameters() const
const FreeTrajectoryState & theState() const
const CurvilinearTrajectoryError & curvilinearError() const
virtual double weight() const
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
virtual ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const
virtual AlgebraicVector3 momentumVector() const
ROOT::Math::SVector< double, 3 > AlgebraicVector3
virtual std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const
PerigeeRefittedTrackState(const TrajectoryStateClosestToPoint &tscp, const AlgebraicVector3 &aMomentumAtVertex, const double aWeight=1.)
TrajectoryStateClosestToPoint theState
const GlobalTrajectoryParameters & globalParameters() const
virtual TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const
reco::TransientTrack build(const FreeTrajectoryState &fts) const
virtual reco::TransientTrack transientTrack() const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:53
const MagneticField & magneticField() const