CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ,weight()) ;
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 ,weight()) ;
48 }
49 
51 {
53  return factory.build(freeTrajectoryState());
54 }
virtual FreeTrajectoryState freeTrajectoryState() const
const GlobalTrajectoryParameters & parameters() const
const FreeTrajectoryState & theState() const
const CurvilinearTrajectoryError & curvilinearError() const
virtual double weight() const
virtual Propagator * clone() const =0
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
virtual ReferenceCountingPointer< RefittedTrackState< 5 > > stateWithNewWeight(const double newWeight) const
virtual AlgebraicVector3 momentumVector() const
tuple result
Definition: query.py:137
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
const MagneticField & magneticField() const