1 #ifndef TrajectoryStateOnSurface_H
2 #define TrajectoryStateOnSurface_H
58 template<
typename...
Args>
73 return data().hasError();
77 return data().freeTrajectoryState();
87 return data().globalParameters();
90 return data().globalPosition();
93 return data().globalMomentum();
96 return data().globalDirection();
99 return data().charge();
102 return data().signedInverseMomentum();
105 return data().transverseCurvature();
108 return data().cartesianError();
111 return data().curvilinearError();
114 return data().localParameters();
117 return data().localPosition();
120 return data().localMomentum();
123 return data().localDirection();
126 return data().localError();
129 return data().surface();
139 return data().components();
154 return data().surfaceSide();
void swap(ora::Record &rh, ora::Record &lh)
void rescaleError(double factor)
~TrajectoryStateOnSurface()
void update(const LocalTrajectoryParameters &p, SurfaceSide side)
TrackCharge charge() const
const LocalTrajectoryParameters & localParameters() const
CurvilinearTrajectoryError & setCurvilinearError()
LocalVector localDirection() const
LocalPoint localPosition() const
const CurvilinearTrajectoryError & curvilinearError() const
const CartesianTrajectoryError cartesianError() const
GlobalPoint globalPosition() const
BasicTrajectoryState::Proxy Base
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const MagneticField * magneticField() const
BasicTrajectoryState BTSOS
LocalVector localMomentum() const
TrajectoryStateOnSurface(BasicTrajectoryState *p)
Constructor from one of the basic states.
const SurfaceType & surface() const
void swap(TrajectoryStateOnSurface &rh)
FreeTrajectoryState const * freeTrajectoryState(bool withErrors=true) const
BasicTrajectoryState::SurfaceType SurfaceType
SurfaceSide surfaceSide() const
Position relative to material, defined relative to momentum vector.
FreeTrajectoryState const * freeState(bool withErrors=true) const
void update(const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
const LocalTrajectoryError & localError() const
void swap(ProxyBase11 &other)
TrajectoryStateOnSurface()
BasicTrajectoryState::SurfaceSide SurfaceSide
const GlobalTrajectoryParameters & globalParameters() const
double signedInverseMomentum() const
GlobalVector globalMomentum() const
void update(const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, SurfaceSide side)
TrajectoryStateOnSurface(BasicSingleTrajectoryState *p)
std::vector< TrajectoryStateOnSurface > components() const
GlobalVector globalDirection() const
double transverseCurvature() const
ProxyBase11 & operator=(const ProxyBase11 &other)