8#include <cdc/dataobjects/CDCDedxHit.h>
20 if (z < 0) doca = -doca;
31 double cross = wx * py - wy * px;
32 double dot = wx * px + wy * py;
34 return std::atan2(cross,
dot);
float m_dy
DOCA, y coordinate.
float m_dx
DOCA, x coordinate.
float m_py
POCA momentum, y coordinate.
float m_px
POCA momentum, x coordinate.
float m_y
POCA on track, y coordinate.
float m_x
POCA on track, x coordinate.
double getSignedDOCAXY() const
Returns signed distance-of-closest-approach in XY projection.
double getEntranceAngle() const
Returns entrance angle to the cell in XY projection.
T dot(GeneralVector< T > a, GeneralVector< T > b)
dot product of two general vectors
Abstract base class for different kinds of events.