CMS 3D CMS Logo

PerigeeRefittedTrackState.cc
Go to the documentation of this file.
7 
9 
10 std::vector<PerigeeRefittedTrackState::RefCountedRefittedTrackState> PerigeeRefittedTrackState::components() const {
11  std::vector<RefCountedRefittedTrackState> result;
12  result.reserve(1);
13  result.push_back(RefCountedRefittedTrackState(const_cast<PerigeeRefittedTrackState*>(this)));
14  return result;
15 }
16 
18  const double newWeight) const {
20 }
21 
24  TrajectoryStateOnSurface tsos = thePropagator.propagate(freeTrajectoryState(), surface);
25  return TrajectoryStateOnSurface(weight(), tsos.globalParameters(), tsos.curvilinearError(), surface);
26 }
27 
29  const Propagator& propagator) const {
30  std::unique_ptr<Propagator> thePropagator(propagator.clone());
31  thePropagator->setPropagationDirection(anyDirection);
32 
33  TrajectoryStateOnSurface tsos = thePropagator->propagate(freeTrajectoryState(), surface);
34  return TrajectoryStateOnSurface(weight(), tsos.globalParameters(), tsos.curvilinearError(), surface);
35 }
36 
39  return factory.build(freeTrajectoryState());
40 }
reco::TransientTrack transientTrack() const override
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:50
reco::TransientTrack build(const FreeTrajectoryState &fts) const
std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const override
const GlobalTrajectoryParameters & globalParameters() const
const GlobalTrajectoryParameters & parameters() const
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const override
FreeTrajectoryState freeTrajectoryState() const override
PerigeeRefittedTrackState(const TrajectoryStateClosestToPoint &tscp, const AlgebraicVector3 &aMomentumAtVertex, const double aWeight=1.)
AlgebraicVector3 momentumVector() const override
TrajectoryStateClosestToPoint theState
const CurvilinearTrajectoryError & curvilinearError() const
const MagneticField & magneticField() const
const FreeTrajectoryState & theState() const
double weight() const override
ROOT::Math::SVector< double, 3 > AlgebraicVector3
ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const override