1 #ifndef TrajectoryStateOnSurface_H
2 #define TrajectoryStateOnSurface_H
95 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
127 return data().hasError();
131 return data().freeTrajectoryState();
141 return data().globalParameters();
144 return data().globalPosition();
147 return data().globalMomentum();
150 return data().globalDirection();
153 return data().charge();
156 return data().signedInverseMomentum();
159 return data().transverseCurvature();
162 return data().cartesianError();
165 return data().curvilinearError();
168 return data().localParameters();
171 return data().localPosition();
174 return data().localMomentum();
177 return data().localDirection();
180 return data().localError();
183 return data().surface();
193 return data().components();
208 return data().surfaceSide();
void swap(ora::Record &rh, ora::Record &lh)
void rescaleError(double factor)
~TrajectoryStateOnSurface()
TrackCharge charge() const
void update(const LocalTrajectoryParameters &p, const Surface &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
const LocalTrajectoryParameters & localParameters() const
LocalVector localDirection() const
LocalPoint localPosition() const
FreeTrajectoryState * freeTrajectoryState(bool withErrors=true) 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)
FreeTrajectoryState * freeState(bool withErrors=true) const
void swap(ProxyBase &other) noexcept
SurfaceSide surfaceSide() const
Position relative to material, defined relative to momentum vector.
const LocalTrajectoryError & localError() const
TrajectoryStateOnSurface()
BasicTrajectoryState::SurfaceSide SurfaceSide
const GlobalTrajectoryParameters & globalParameters() const
double signedInverseMomentum() const
GlobalVector globalMomentum() const
const Surface & surface() const
void swap(TrajectoryStateOnSurface &rh) noexcept
std::vector< TrajectoryStateOnSurface > components() const
GlobalVector globalDirection() const
double transverseCurvature() const