#include <PerigeeRefittedTrackState.h>
Definition at line 18 of file PerigeeRefittedTrackState.h.
typedef ReferenceCountingPointer<RefittedTrackState<5> > PerigeeRefittedTrackState::RefCountedRefittedTrackState |
Definition at line 22 of file PerigeeRefittedTrackState.h.
PerigeeRefittedTrackState::PerigeeRefittedTrackState | ( | const TrajectoryStateClosestToPoint & | tscp, |
const AlgebraicVector3 & | aMomentumAtVertex, | ||
const double | aWeight = 1. |
||
) | [inline] |
Definition at line 24 of file PerigeeRefittedTrackState.h.
Referenced by stateWithNewWeight().
: theState(tscp), momentumAtVertex(aMomentumAtVertex), theWeight(aWeight) {}
virtual PerigeeRefittedTrackState::~PerigeeRefittedTrackState | ( | ) | [inline, virtual] |
Definition at line 29 of file PerigeeRefittedTrackState.h.
{}
std::vector< PerigeeRefittedTrackState::RefCountedRefittedTrackState > PerigeeRefittedTrackState::components | ( | ) | const [virtual] |
Implements RefittedTrackState< 5 >.
Definition at line 14 of file PerigeeRefittedTrackState.cc.
References query::result.
{ std::vector<RefCountedRefittedTrackState> result; result.reserve(1); result.push_back(RefCountedRefittedTrackState( const_cast<PerigeeRefittedTrackState*>(this))); return result; }
virtual AlgebraicSymMatrix55 PerigeeRefittedTrackState::covariance | ( | void | ) | const [inline, virtual] |
The covariance matrix
Implements RefittedTrackState< 5 >.
Definition at line 64 of file PerigeeRefittedTrackState.h.
References PerigeeTrajectoryError::covarianceMatrix(), TrajectoryStateClosestToPoint::perigeeError(), and theState.
{return theState.perigeeError().covarianceMatrix();}
virtual FreeTrajectoryState PerigeeRefittedTrackState::freeTrajectoryState | ( | ) | const [inline, virtual] |
Transformation into a FreeTrajectoryState
Implements RefittedTrackState< 5 >.
Definition at line 35 of file PerigeeRefittedTrackState.h.
References TrajectoryStateClosestToPoint::theState(), and theState.
Referenced by trajectoryStateOnSurface(), and transientTrack().
AlgebraicVector3 PerigeeRefittedTrackState::momentumVector | ( | ) | const [virtual] |
Vector containing the parameters describing the momentum as the vertex. These are (signed transverse curvature, theta, phi)
Implements RefittedTrackState< 5 >.
Definition at line 8 of file PerigeeRefittedTrackState.cc.
References momentumAtVertex.
{ return momentumAtVertex; }
virtual AlgebraicVector5 PerigeeRefittedTrackState::parameters | ( | void | ) | const [inline, virtual] |
Vector containing the refitted track parameters.
These are (signed transverse curvature, theta, phi, (signed) transverse , longitudinal impact parameter)
Implements RefittedTrackState< 5 >.
Definition at line 57 of file PerigeeRefittedTrackState.h.
References TrajectoryStateClosestToPoint::perigeeParameters(), theState, and PerigeeTrajectoryParameters::vector().
{return theState.perigeeParameters().vector();}
virtual GlobalPoint PerigeeRefittedTrackState::position | ( | void | ) | const [inline, virtual] |
Position at which the momentum is defined.
Implements RefittedTrackState< 5 >.
Definition at line 71 of file PerigeeRefittedTrackState.h.
References TrajectoryStateClosestToPoint::referencePoint(), and theState.
{return theState.referencePoint();}
PerigeeRefittedTrackState::RefCountedRefittedTrackState PerigeeRefittedTrackState::stateWithNewWeight | ( | const double | newWeight | ) | const [virtual] |
Returns a new refitted state of the same type, but with another weight. The current state is unchanged.
Implements RefittedTrackState< 5 >.
Definition at line 23 of file PerigeeRefittedTrackState.cc.
References momentumAtVertex, PerigeeRefittedTrackState(), and theState.
{ return RefCountedRefittedTrackState( new PerigeeRefittedTrackState(theState, momentumAtVertex, newWeight) ); }
TrajectoryStateOnSurface PerigeeRefittedTrackState::trajectoryStateOnSurface | ( | const Surface & | surface, |
const Propagator & | propagator | ||
) | const [virtual] |
Transformation into a TSOS at a given surface, with a given propagator
Implements RefittedTrackState< 5 >.
Definition at line 39 of file PerigeeRefittedTrackState.cc.
References anyDirection, Propagator::clone(), TrajectoryStateOnSurface::curvilinearError(), freeTrajectoryState(), TrajectoryStateOnSurface::globalParameters(), and weight().
{ std::auto_ptr<Propagator> thePropagator( propagator.clone()); thePropagator->setPropagationDirection(anyDirection); TrajectoryStateOnSurface tsos = thePropagator->propagate(freeTrajectoryState(), surface); return TrajectoryStateOnSurface (tsos.globalParameters(), tsos.curvilinearError(), surface ,weight()) ; }
TrajectoryStateOnSurface PerigeeRefittedTrackState::trajectoryStateOnSurface | ( | const Surface & | surface | ) | const [virtual] |
Transformation into a TSOS at a given surface
Implements RefittedTrackState< 5 >.
Definition at line 30 of file PerigeeRefittedTrackState.cc.
References anyDirection, TrajectoryStateOnSurface::curvilinearError(), freeTrajectoryState(), TrajectoryStateOnSurface::globalParameters(), GlobalTrajectoryParameters::magneticField(), FreeTrajectoryState::parameters(), AnalyticalPropagator::propagate(), TrajectoryStateClosestToPoint::theState(), theState, and weight().
{ AnalyticalPropagator thePropagator(&(theState.theState().parameters().magneticField()), anyDirection); TrajectoryStateOnSurface tsos = thePropagator.propagate(freeTrajectoryState(), surface); return TrajectoryStateOnSurface (tsos.globalParameters(), tsos.curvilinearError(), surface ,weight()) ; }
reco::TransientTrack PerigeeRefittedTrackState::transientTrack | ( | ) | const [virtual] |
Implements RefittedTrackState< 5 >.
Definition at line 50 of file PerigeeRefittedTrackState.cc.
References TransientTrackFromFTSFactory::build(), and freeTrajectoryState().
{ TransientTrackFromFTSFactory factory; return factory.build(freeTrajectoryState()); }
virtual double PerigeeRefittedTrackState::weight | ( | void | ) | const [inline, virtual] |
The weight of this component in a mixture
Implements RefittedTrackState< 5 >.
Definition at line 84 of file PerigeeRefittedTrackState.h.
References theWeight.
Referenced by trajectoryStateOnSurface().
{return theWeight;}
Definition at line 100 of file PerigeeRefittedTrackState.h.
Referenced by momentumVector(), and stateWithNewWeight().
Definition at line 99 of file PerigeeRefittedTrackState.h.
Referenced by covariance(), freeTrajectoryState(), parameters(), position(), stateWithNewWeight(), and trajectoryStateOnSurface().
double PerigeeRefittedTrackState::theWeight [private] |
Definition at line 101 of file PerigeeRefittedTrackState.h.
Referenced by weight().