1 #ifndef TrajectoryStateOnSurface_H
2 #define TrajectoryStateOnSurface_H
90 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
112 return data().hasError();
116 return data().freeTrajectoryState();
126 return data().globalParameters();
129 return data().globalPosition();
132 return data().globalMomentum();
135 return data().globalDirection();
138 return data().charge();
141 return data().signedInverseMomentum();
144 return data().transverseCurvature();
147 return data().cartesianError();
150 return data().curvilinearError();
153 return data().localParameters();
156 return data().localPosition();
159 return data().localMomentum();
162 return data().localDirection();
165 return data().localError();
168 return data().surface();
178 return data().components();
193 return data().surfaceSide();
void swap(ora::Record &rh, ora::Record &lh)
void rescaleError(double factor)
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
GlobalPoint globalPosition() const
BasicTrajectoryState::Proxy Base
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const MagneticField * magneticField() const
void swap(ProxyBase &other)
LocalVector localMomentum() const
TrajectoryStateOnSurface(BasicTrajectoryState *p)
Constructor from one of the basic states.
void swap(TrajectoryStateOnSurface &rh)
FreeTrajectoryState * freeState(bool withErrors=true) const
const CartesianTrajectoryError & cartesianError() const
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
ProxyBase & operator=(const ProxyBase &other)
const Surface & surface() const
virtual ~TrajectoryStateOnSurface()
std::vector< TrajectoryStateOnSurface > components() const
GlobalVector globalDirection() const
double transverseCurvature() const