10#ifndef CbmCaHitQaData_h
11#define CbmCaHitQaData_h 1
293 static constexpr double kNAN = std::numeric_limits<double>::signaling_NaN();
friend fvec sqrt(const fvec &a)
friend fvec cos(const fvec &a)
friend fvec sin(const fvec &a)
Contains necessary data to calculate hit residuals and pulls.
double GetHitDx() const
Gets hit x-coordinate error.
double GetHitV() const
Gets hit v-coordinate.
void SetPhiU(double phiU)
Sets front strips stereo angle.
bool fbTrackSelected
Flag: if track selected.
void SetHitDxy(double hitDxy)
Sets hit x- and y-coordinate covariance.
void SetHitX(double hitX)
Sets hit x-coordinate.
double GetHitX() const
Gets hit x-coordinate.
int fPointID
Index of MC point.
double GetHitRuv() const
Gets Pearson correlation coefficient for u- and v-coordinates.
void SetHitIndex(int hitID)
Sets hit index.
static constexpr double kNAN
int fMCFileID
Index of MC file id.
double GetHitDy() const
Gets hit y-coordinate error.
double fHitDy
Hit y-coordinate error [cm].
double GetPullX() const
Gets pull of x-coordinate.
double GetPointU() const
Gets point u-coordinate.
double fHitDxy
Hit x- and y-coordinate covariance [cm2].
bool GetIfTrackSelected() const
Gets Flag: if track selected.
double GetHitDu() const
Gets hit u-coordinate error.
double GetResidualV() const
Gets residual of v-coordinate.
double GetPhiU() const
Gets front strips stereo angle.
void SetPointTime(double pointTime)
Sets point time.
double fPointZ
Point z-coordinate [cm].
int fMCEventID
Index of MC event.
double fPointX
Point x-coordinate [cm].
void SetStationID(int iStLoc)
Sets station local index.
HitQaData(HitQaData &&)=default
Move constructor.
void SetPhiV(double phiV)
Sets back strips stereo angle.
double GetResidualY() const
Gets residual of y-coordinate.
void SetIfTrackSelected(bool ifTrackSelected)
Sets Flag: if track selected.
double fHitZ
Hit z-coordinate [cm].
double GetResidualU() const
Gets residual of u-coordinate.
double fHitTime
Hit time [ns].
double GetPullTime() const
Gets pull of time.
double GetPullU() const
Gets pull of u-coordinate.
double GetPointY() const
Gets point y-coordinate.
double fHitTimeError
Hit time error [ns].
bool fbTrackHasHits
Flag: if track has hits.
void SetHitZ(double hitZ)
Sets hit z-coordinate.
void SetPointY(double pointY)
Sets point y-coordinate.
double GetHitDuv() const
Gets hit u- and v-coordinate covariance.
void SetPointZ(double pointZ)
Sets point z-coordinate.
HitQaData()=default
Default constructor.
HitQaData & operator=(HitQaData &&)=default
Move assignment operator.
double fHitDx
Hit x-coordinate error [cm].
double GetHitTimeError() const
Gets hit time error.
double GetHitTime() const
Gets hit time.
double GetPhiV() const
Gets back strips stereo angle.
~HitQaData()=default
Destructor.
double fHitY
Hit y-coordinate [cm].
double GetPointTime() const
Gets point time.
void SetHitDx(double hitDx)
Sets hit x-coordinate error.
HitQaData & operator=(const HitQaData &)=default
Copy assignment operator.
double GetPullY() const
Gets pull of y-coordinate.
double GetPullV() const
Gets pull of v-coordinate.
bool GetIfTrackHasHits() const
Gets Flag: if track has hits.
double GetResidualTime() const
Gets residual of time.
double fPointTime
Point time [ns].
double GetHitDxy() const
Gets hit x- and y-coordinate covariance.
double GetPointV() const
Gets point v-coordinate.
int fStationID
Local index of tracking station.
double fHitX
Hit x-coordinate [cm].
void SetPointID(int pointID, int eventID, int fileID)
Sets point index.
double GetHitDv() const
Gets hit v-coordinate error.
void SetHitTime(double hitTime)
Sets hit time.
double fPhiU
Stereo angle for front strips [rad].
double GetPointX() const
Gets point x-coordinate.
void SetHitY(double hitY)
Sets hit y-coordinate.
double GetHitY() const
Gets hit y-coordinate.
int GetStationID() const
Gets station local index.
void SetHitTimeError(double hitTimeError)
Sets hit time error.
double GetResidualX() const
Gets residual of x-coordinate.
HitQaData(const HitQaData &)=default
Copy constructor.
double GetPointZ() const
Gets point z-coordinate.
void SetHitDy(double hitDy)
Sets hit y-coordinate error.
double GetHitZ() const
Gets hit z-coordinate.
double fPhiV
Stereo anele for back strips [rad].
int GetHitIndex() const
Gets hit index.
void SetPointX(double pointX)
Sets point x-coordinate.
std::tuple< int, int, int > GetPointID() const
Gets point index.
void Reset()
Resets data fields.
void SetIfTrackHasHits(bool ifTrackHasHits)
Sets Flag: if track has hits.
double fPointY
Point y-coordinate [cm].
double GetHitU() const
Gets hit u-coordinate.