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.h
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
anyDirection
Definition: PropagationDirection.h:4
FreeTrajectoryState.h
PerigeeRefittedTrackState::momentumVector
AlgebraicVector3 momentumVector() const override
Definition: PerigeeRefittedTrackState.cc:8
PerigeeRefittedTrackState::freeTrajectoryState
FreeTrajectoryState freeTrajectoryState() const override
Definition: PerigeeRefittedTrackState.h:33
PerigeeRefittedTrackState::components
std::vector< ReferenceCountingPointer< RefittedTrackState< 5 > > > components() const override
Definition: PerigeeRefittedTrackState.cc:10
PerigeeRefittedTrackState::trajectoryStateOnSurface
TrajectoryStateOnSurface trajectoryStateOnSurface(const Surface &surface) const override
Definition: PerigeeRefittedTrackState.cc:22
Surface
Definition: Surface.h:36
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
PerigeeRefittedTrackState.h
TransientTrackFromFTSFactory.h
TrackCandidateProducer_cfi.propagator
propagator
Definition: TrackCandidateProducer_cfi.py:17
PerigeeRefittedTrackState::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
Definition: PerigeeRefittedTrackState.h:20
TransientTrackFromFTSFactory::build
reco::TransientTrack build(const FreeTrajectoryState &fts) const
Definition: TransientTrackFromFTSFactory.cc:7
FreeTrajectoryState::parameters
const GlobalTrajectoryParameters & parameters() const
Definition: FreeTrajectoryState.h:79
AnalyticalPropagator.h
PropagationDirection.h
AnalyticalPropagator
Definition: AnalyticalPropagator.h:22
reco::TransientTrack
Definition: TransientTrack.h:19
TrajectoryStateOnSurface::curvilinearError
const CurvilinearTrajectoryError & curvilinearError() const
Definition: TrajectoryStateOnSurface.h:72
PerigeeRefittedTrackState::theState
TrajectoryStateClosestToPoint theState
Definition: PerigeeRefittedTrackState.h:90
TransientTrackFromFTSFactory
Definition: TransientTrackFromFTSFactory.h:10
PerigeeRefittedTrackState::stateWithNewWeight
ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const override
Definition: PerigeeRefittedTrackState.cc:17
PerigeeRefittedTrackState::momentumAtVertex
AlgebraicVector3 momentumAtVertex
Definition: PerigeeRefittedTrackState.h:91
GlobalTrajectoryParameters::magneticField
const MagneticField & magneticField() const
Definition: GlobalTrajectoryParameters.h:106
PerigeeRefittedTrackState::weight
double weight() const override
Definition: PerigeeRefittedTrackState.h:77
mps_fire.result
result
Definition: mps_fire.py:311
TrajectoryStateOnSurface::globalParameters
const GlobalTrajectoryParameters & globalParameters() const
Definition: TrajectoryStateOnSurface.h:64
TrajectoryStateClosestToPoint::theState
const FreeTrajectoryState & theState() const
Definition: TrajectoryStateClosestToPoint.h:96
AnalyticalPropagator::propagate
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:50
PerigeeRefittedTrackState::transientTrack
reco::TransientTrack transientTrack() const override
Definition: PerigeeRefittedTrackState.cc:37