1 #ifndef TrajectoryStateOnSurface_H
2 #define TrajectoryStateOnSurface_H
96 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
128 return data().hasError();
132 return data().freeTrajectoryState();
142 return data().globalParameters();
145 return data().globalPosition();
148 return data().globalMomentum();
151 return data().globalDirection();
154 return data().charge();
157 return data().signedInverseMomentum();
160 return data().transverseCurvature();
163 return data().cartesianError();
166 return data().curvilinearError();
169 return data().localParameters();
172 return data().localPosition();
175 return data().localMomentum();
178 return data().localDirection();
181 return data().localError();
184 return data().surface();
194 return data().components();
209 return data().surfaceSide();
void swap(ora::Record &rh, ora::Record &lh)
void rescaleError(double factor)
~TrajectoryStateOnSurface()
TrackCharge charge() const
const LocalTrajectoryParameters & localParameters() const
LocalVector localDirection() const
LocalPoint localPosition() const
const CurvilinearTrajectoryError & curvilinearError() const
const CartesianTrajectoryError cartesianError() const
ProxyBase & operator=(const ProxyBase &other) noexcept
GlobalPoint globalPosition() const
BasicTrajectoryState::Proxy Base
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const MagneticField * magneticField() const
LocalVector localMomentum() const
TrajectoryStateOnSurface(BasicTrajectoryState *p)
const SurfaceType & surface() const
FreeTrajectoryState const * freeTrajectoryState(bool withErrors=true) const
void update(const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
BasicTrajectoryState::SurfaceType SurfaceType
void swap(ProxyBase &other) noexcept
SurfaceSide surfaceSide() const
Position relative to material, defined relative to momentum vector.
FreeTrajectoryState const * freeState(bool withErrors=true) const
const LocalTrajectoryError & localError() const
TrajectoryStateOnSurface()
BasicTrajectoryState::SurfaceSide SurfaceSide
const GlobalTrajectoryParameters & globalParameters() const
double signedInverseMomentum() const
GlobalVector globalMomentum() const
void swap(TrajectoryStateOnSurface &rh) noexcept
std::vector< TrajectoryStateOnSurface > components() const
GlobalVector globalDirection() const
double transverseCurvature() const