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 }
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
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:50
reco::TransientTrack transientTrack() const override
ROOT::Math::SVector< double, 3 > AlgebraicVector3
const MagneticField & magneticField() const