CbmRoot
|
Contains necessary data to calculate hit residuals and pulls. More...
#include <CbmCaHitQaData.h>
Public Member Functions | |
HitQaData ()=default | |
Default constructor. | |
~HitQaData ()=default | |
Destructor. | |
HitQaData (const HitQaData &)=default | |
Copy constructor. | |
HitQaData (HitQaData &&)=default | |
Move constructor. | |
HitQaData & | operator= (const HitQaData &)=default |
Copy assignment operator. | |
HitQaData & | operator= (HitQaData &&)=default |
Move assignment operator. | |
double | GetHitDu () const |
Gets hit u-coordinate error. | |
double | GetHitDv () const |
Gets hit v-coordinate error. | |
double | GetHitDuv () const |
Gets hit u- and v-coordinate covariance. | |
double | GetHitDx () const |
Gets hit x-coordinate error. | |
double | GetHitDxy () const |
Gets hit x- and y-coordinate covariance. | |
double | GetHitDy () const |
Gets hit y-coordinate error. | |
int | GetHitIndex () const |
Gets hit index. | |
double | GetHitRuv () const |
Gets Pearson correlation coefficient for u- and v-coordinates. | |
double | GetHitTime () const |
Gets hit time. | |
double | GetHitTimeError () const |
Gets hit time error. | |
double | GetHitU () const |
Gets hit u-coordinate. | |
double | GetHitV () const |
Gets hit v-coordinate. | |
double | GetHitX () const |
Gets hit x-coordinate. | |
double | GetHitY () const |
Gets hit y-coordinate. | |
double | GetHitZ () const |
Gets hit z-coordinate. | |
bool | GetIfTrackHasHits () const |
Gets Flag: if track has hits. | |
bool | GetIfTrackSelected () const |
Gets Flag: if track selected. | |
double | GetResidualTime () const |
Gets residual of time. | |
double | GetResidualU () const |
Gets residual of u-coordinate. | |
double | GetResidualV () const |
Gets residual of v-coordinate. | |
double | GetResidualX () const |
Gets residual of x-coordinate. | |
double | GetResidualY () const |
Gets residual of y-coordinate. | |
double | GetPhiU () const |
Gets front strips stereo angle. | |
double | GetPhiV () const |
Gets back strips stereo angle. | |
std::tuple< int, int, int > | GetPointID () const |
Gets point index. | |
double | GetPointTime () const |
Gets point time. | |
double | GetPointU () const |
Gets point u-coordinate. | |
double | GetPointV () const |
Gets point v-coordinate. | |
double | GetPointX () const |
Gets point x-coordinate. | |
double | GetPointY () const |
Gets point y-coordinate. | |
double | GetPointZ () const |
Gets point z-coordinate. | |
double | GetPullTime () const |
Gets pull of time. | |
double | GetPullU () const |
Gets pull of u-coordinate. | |
double | GetPullV () const |
Gets pull of v-coordinate. | |
double | GetPullX () const |
Gets pull of x-coordinate. | |
double | GetPullY () const |
Gets pull of y-coordinate. | |
int | GetStationID () const |
Gets station local index. | |
void | Reset () |
Resets data fields. | |
void | SetHitDx (double hitDx) |
Sets hit x-coordinate error. | |
void | SetHitDxy (double hitDxy) |
Sets hit x- and y-coordinate covariance. | |
void | SetHitDy (double hitDy) |
Sets hit y-coordinate error. | |
void | SetHitIndex (int hitID) |
Sets hit index. | |
void | SetHitTime (double hitTime) |
Sets hit time. | |
void | SetHitTimeError (double hitTimeError) |
Sets hit time error. | |
void | SetHitX (double hitX) |
Sets hit x-coordinate. | |
void | SetHitY (double hitY) |
Sets hit y-coordinate. | |
void | SetHitZ (double hitZ) |
Sets hit z-coordinate. | |
void | SetIfTrackHasHits (bool ifTrackHasHits) |
Sets Flag: if track has hits. | |
void | SetIfTrackSelected (bool ifTrackSelected) |
Sets Flag: if track selected. | |
void | SetPhiU (double phiU) |
Sets front strips stereo angle. | |
void | SetPhiV (double phiV) |
Sets back strips stereo angle. | |
void | SetPointID (int pointID, int eventID, int fileID) |
Sets point index. | |
void | SetPointTime (double pointTime) |
Sets point time. | |
void | SetPointX (double pointX) |
Sets point x-coordinate. | |
void | SetPointY (double pointY) |
Sets point y-coordinate. | |
void | SetPointZ (double pointZ) |
Sets point z-coordinate. | |
void | SetStationID (int iStLoc) |
Sets station local index. | |
Private Attributes | |
double | fPhiU = kNAN |
Stereo angle for front strips [rad]. | |
double | fPhiV = kNAN |
Stereo anele for back strips [rad]. | |
double | fHitX = kNAN |
Hit x-coordinate [cm]. | |
double | fHitY = kNAN |
Hit y-coordinate [cm]. | |
double | fHitZ = kNAN |
Hit z-coordinate [cm]. | |
double | fHitTime = kNAN |
Hit time [ns]. | |
double | fHitDx = kNAN |
Hit x-coordinate error [cm]. | |
double | fHitDy = kNAN |
Hit y-coordinate error [cm]. | |
double | fHitDxy = kNAN |
Hit x- and y-coordinate covariance [cm2]. | |
double | fHitTimeError = kNAN |
Hit time error [ns]. | |
double | fPointX = kNAN |
Point x-coordinate [cm]. | |
double | fPointY = kNAN |
Point y-coordinate [cm]. | |
double | fPointZ = kNAN |
Point z-coordinate [cm]. | |
double | fPointTime = kNAN |
Point time [ns]. | |
int | fStationID = -1 |
Local index of tracking station. | |
int | fHitID = -1 |
Index of hit. | |
int | fPointID = -1 |
Index of MC point. | |
int | fMCEventID = -1 |
Index of MC event. | |
int | fMCFileID = -1 |
Index of MC file id. | |
bool | fbTrackSelected = false |
Flag: if track selected. | |
bool | fbTrackHasHits = false |
Flag: if track has hits. | |
Static Private Attributes | |
static constexpr double | kNAN = std::numeric_limits<double>::signaling_NaN() |
Contains necessary data to calculate hit residuals and pulls.
Definition at line 21 of file CbmCaHitQaData.h.
|
default |
Default constructor.
Referenced by Reset().
|
default |
Destructor.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
Gets hit u-coordinate error.
Definition at line 43 of file CbmCaHitQaData.h.
References cos(), fPhiU, GetHitDx(), GetHitDxy(), GetHitDy(), sin(), and sqrt().
Referenced by GetHitRuv(), and GetPullU().
|
inline |
Gets hit u- and v-coordinate covariance.
Definition at line 61 of file CbmCaHitQaData.h.
References cos(), fPhiU, fPhiV, GetHitDx(), GetHitDxy(), GetHitDy(), and sin().
Referenced by GetHitRuv().
|
inline |
Gets hit v-coordinate error.
Definition at line 52 of file CbmCaHitQaData.h.
References cos(), fPhiV, GetHitDx(), GetHitDxy(), GetHitDy(), sin(), and sqrt().
Referenced by GetHitRuv(), and GetPullV().
|
inline |
Gets hit x-coordinate error.
Definition at line 72 of file CbmCaHitQaData.h.
References fHitDx.
Referenced by GetHitDu(), GetHitDuv(), GetHitDv(), and GetPullX().
|
inline |
Gets hit x- and y-coordinate covariance.
Definition at line 76 of file CbmCaHitQaData.h.
References fHitDxy.
Referenced by GetHitDu(), GetHitDuv(), and GetHitDv().
|
inline |
Gets hit y-coordinate error.
Definition at line 80 of file CbmCaHitQaData.h.
References fHitDy.
Referenced by GetHitDu(), GetHitDuv(), GetHitDv(), and GetPullY().
|
inline |
Gets hit index.
Definition at line 84 of file CbmCaHitQaData.h.
References fHitID.
Referenced by CbmCaInputQaSts::FillHistogramsPerHit(), and CbmCaInputQaTof::FillHistogramsPerHit().
|
inline |
Gets Pearson correlation coefficient for u- and v-coordinates.
Definition at line 88 of file CbmCaHitQaData.h.
References GetHitDu(), GetHitDuv(), and GetHitDv().
|
inline |
Gets hit time.
Definition at line 92 of file CbmCaHitQaData.h.
References fHitTime.
Referenced by GetResidualTime().
|
inline |
Gets hit time error.
Definition at line 96 of file CbmCaHitQaData.h.
References fHitTimeError.
Referenced by GetPullTime().
|
inline |
Gets hit u-coordinate.
Definition at line 100 of file CbmCaHitQaData.h.
References cos(), fPhiU, GetHitX(), GetHitY(), and sin().
Referenced by GetResidualU().
|
inline |
Gets hit v-coordinate.
Definition at line 104 of file CbmCaHitQaData.h.
References cos(), fPhiV, GetHitX(), GetHitY(), and sin().
Referenced by GetResidualV().
|
inline |
Gets hit x-coordinate.
Definition at line 108 of file CbmCaHitQaData.h.
References fHitX.
Referenced by GetHitU(), GetHitV(), and GetResidualX().
|
inline |
Gets hit y-coordinate.
Definition at line 112 of file CbmCaHitQaData.h.
References fHitY.
Referenced by GetHitU(), GetHitV(), and GetResidualY().
|
inline |
Gets hit z-coordinate.
Definition at line 116 of file CbmCaHitQaData.h.
References fHitZ.
|
inline |
Gets Flag: if track has hits.
Definition at line 120 of file CbmCaHitQaData.h.
References fbTrackHasHits.
|
inline |
Gets Flag: if track selected.
Definition at line 124 of file CbmCaHitQaData.h.
References fbTrackSelected.
|
inline |
Gets front strips stereo angle.
Definition at line 148 of file CbmCaHitQaData.h.
References fPhiU.
|
inline |
Gets back strips stereo angle.
Definition at line 152 of file CbmCaHitQaData.h.
References fPhiV.
|
inline |
Gets point index.
Definition at line 156 of file CbmCaHitQaData.h.
References fMCEventID, fMCFileID, and fPointID.
|
inline |
Gets point time.
Definition at line 160 of file CbmCaHitQaData.h.
References fPointTime.
Referenced by GetResidualTime().
|
inline |
Gets point u-coordinate.
Definition at line 164 of file CbmCaHitQaData.h.
References cos(), fPhiU, GetPointX(), GetPointY(), and sin().
Referenced by GetResidualU().
|
inline |
Gets point v-coordinate.
Definition at line 168 of file CbmCaHitQaData.h.
References cos(), fPhiV, GetPointX(), GetPointY(), and sin().
Referenced by GetResidualV().
|
inline |
Gets point x-coordinate.
Definition at line 172 of file CbmCaHitQaData.h.
References fPointX.
Referenced by GetPointU(), GetPointV(), and GetResidualX().
|
inline |
Gets point y-coordinate.
Definition at line 176 of file CbmCaHitQaData.h.
References fPointY.
Referenced by GetPointU(), GetPointV(), and GetResidualY().
|
inline |
Gets point z-coordinate.
pointZ | Point z-coordinate [cm] |
Definition at line 180 of file CbmCaHitQaData.h.
References fPointZ.
|
inline |
Gets pull of time.
Definition at line 184 of file CbmCaHitQaData.h.
References GetHitTimeError(), and GetResidualTime().
|
inline |
Gets pull of u-coordinate.
Definition at line 188 of file CbmCaHitQaData.h.
References GetHitDu(), and GetResidualU().
Referenced by CbmCaInputQaSts::FillHistogramsPerHit().
|
inline |
Gets pull of v-coordinate.
Definition at line 192 of file CbmCaHitQaData.h.
References GetHitDv(), and GetResidualV().
Referenced by CbmCaInputQaSts::FillHistogramsPerHit().
|
inline |
Gets pull of x-coordinate.
Definition at line 196 of file CbmCaHitQaData.h.
References GetHitDx(), and GetResidualX().
|
inline |
Gets pull of y-coordinate.
Definition at line 200 of file CbmCaHitQaData.h.
References GetHitDy(), and GetResidualY().
|
inline |
Gets residual of time.
Definition at line 128 of file CbmCaHitQaData.h.
References GetHitTime(), and GetPointTime().
Referenced by GetPullTime().
|
inline |
Gets residual of u-coordinate.
Definition at line 132 of file CbmCaHitQaData.h.
References GetHitU(), and GetPointU().
Referenced by GetPullU().
|
inline |
Gets residual of v-coordinate.
Definition at line 136 of file CbmCaHitQaData.h.
References GetHitV(), and GetPointV().
Referenced by GetPullV().
|
inline |
Gets residual of x-coordinate.
Definition at line 140 of file CbmCaHitQaData.h.
References GetHitX(), and GetPointX().
Referenced by GetPullX().
|
inline |
Gets residual of y-coordinate.
Definition at line 144 of file CbmCaHitQaData.h.
References GetHitY(), and GetPointY().
Referenced by GetPullY().
|
inline |
Gets station local index.
Definition at line 204 of file CbmCaHitQaData.h.
References fStationID.
Copy assignment operator.
Referenced by Reset().
|
inline |
Resets data fields.
Definition at line 207 of file CbmCaHitQaData.h.
References HitQaData(), and operator=().
|
inline |
Sets hit x-coordinate error.
hitDx | Hit x-coordinate error [cm] |
Definition at line 211 of file CbmCaHitQaData.h.
References fHitDx.
|
inline |
Sets hit x- and y-coordinate covariance.
hitDxy | Hit x- and y-coordinate covariance [cm2] |
Definition at line 215 of file CbmCaHitQaData.h.
References fHitDxy.
|
inline |
Sets hit y-coordinate error.
hitDy | Hit y-coordinate error [cm] |
Definition at line 219 of file CbmCaHitQaData.h.
References fHitDy.
|
inline |
Sets hit index.
hitID | Hit index |
Definition at line 223 of file CbmCaHitQaData.h.
References fHitID.
|
inline |
Sets hit time.
hitTime | Hit time [ns] |
Definition at line 227 of file CbmCaHitQaData.h.
References fHitTime.
|
inline |
Sets hit time error.
hitTimeError | Hit time error [ns] |
Definition at line 231 of file CbmCaHitQaData.h.
References fHitTimeError.
|
inline |
Sets hit x-coordinate.
hitX | Hit x-coordinate [cm] |
Definition at line 235 of file CbmCaHitQaData.h.
References fHitX.
|
inline |
Sets hit y-coordinate.
hitY | Hit y-coordinate [cm] |
Definition at line 239 of file CbmCaHitQaData.h.
References fHitY.
|
inline |
Sets hit z-coordinate.
hitZ | Hit z-coordinate [cm] |
Definition at line 243 of file CbmCaHitQaData.h.
References fHitZ.
|
inline |
Sets Flag: if track has hits.
ifTrackHasHits | Flag: if track has hits |
Definition at line 247 of file CbmCaHitQaData.h.
References fbTrackHasHits.
|
inline |
Sets Flag: if track selected.
ifTrackSelected | Flag: if track selected |
Definition at line 251 of file CbmCaHitQaData.h.
References fbTrackSelected.
|
inline |
Sets front strips stereo angle.
phiU | Front strips stereo angle [rad] |
Definition at line 255 of file CbmCaHitQaData.h.
References fPhiU.
|
inline |
Sets back strips stereo angle.
phiV | Back strips stereo angle [rad] |
Definition at line 259 of file CbmCaHitQaData.h.
References fPhiV.
|
inline |
Sets point index.
pointID | Index of point |
eventID | Index of MC event |
fileID | Index of MC file |
Definition at line 265 of file CbmCaHitQaData.h.
References fMCEventID, fMCFileID, and fPointID.
|
inline |
Sets point time.
pointTime | Point time [ns] |
Definition at line 274 of file CbmCaHitQaData.h.
References fPointTime.
|
inline |
Sets point x-coordinate.
pointX | Point x-coordinate [cm] |
Definition at line 278 of file CbmCaHitQaData.h.
References fPointX.
|
inline |
Sets point y-coordinate.
pointY | Point y-coordinate [cm] |
Definition at line 282 of file CbmCaHitQaData.h.
References fPointY.
|
inline |
Sets point z-coordinate.
pointZ | Point z-coordinate [cm] |
Definition at line 286 of file CbmCaHitQaData.h.
References fPointZ.
|
inline |
Sets station local index.
Definition at line 290 of file CbmCaHitQaData.h.
References fStationID.
|
private |
Flag: if track has hits.
Definition at line 315 of file CbmCaHitQaData.h.
Referenced by GetIfTrackHasHits(), and SetIfTrackHasHits().
|
private |
Flag: if track selected.
Definition at line 314 of file CbmCaHitQaData.h.
Referenced by GetIfTrackSelected(), and SetIfTrackSelected().
|
private |
Hit x-coordinate error [cm].
Definition at line 301 of file CbmCaHitQaData.h.
Referenced by GetHitDx(), and SetHitDx().
|
private |
Hit x- and y-coordinate covariance [cm2].
Definition at line 303 of file CbmCaHitQaData.h.
Referenced by GetHitDxy(), and SetHitDxy().
|
private |
Hit y-coordinate error [cm].
Definition at line 302 of file CbmCaHitQaData.h.
Referenced by GetHitDy(), and SetHitDy().
|
private |
Index of hit.
Definition at line 310 of file CbmCaHitQaData.h.
Referenced by GetHitIndex(), and SetHitIndex().
|
private |
Hit time [ns].
Definition at line 300 of file CbmCaHitQaData.h.
Referenced by GetHitTime(), and SetHitTime().
|
private |
Hit time error [ns].
Definition at line 304 of file CbmCaHitQaData.h.
Referenced by GetHitTimeError(), and SetHitTimeError().
|
private |
Hit x-coordinate [cm].
Definition at line 297 of file CbmCaHitQaData.h.
|
private |
Hit y-coordinate [cm].
Definition at line 298 of file CbmCaHitQaData.h.
|
private |
Hit z-coordinate [cm].
Definition at line 299 of file CbmCaHitQaData.h.
|
private |
Index of MC event.
Definition at line 312 of file CbmCaHitQaData.h.
Referenced by GetPointID(), and SetPointID().
|
private |
Index of MC file id.
Definition at line 313 of file CbmCaHitQaData.h.
Referenced by GetPointID(), and SetPointID().
|
private |
Stereo angle for front strips [rad].
Definition at line 295 of file CbmCaHitQaData.h.
Referenced by GetHitDu(), GetHitDuv(), GetHitU(), GetPhiU(), GetPointU(), and SetPhiU().
|
private |
Stereo anele for back strips [rad].
Definition at line 296 of file CbmCaHitQaData.h.
Referenced by GetHitDuv(), GetHitDv(), GetHitV(), GetPhiV(), GetPointV(), and SetPhiV().
|
private |
Index of MC point.
Definition at line 311 of file CbmCaHitQaData.h.
Referenced by GetPointID(), and SetPointID().
|
private |
Point time [ns].
Definition at line 308 of file CbmCaHitQaData.h.
Referenced by GetPointTime(), and SetPointTime().
|
private |
Point x-coordinate [cm].
Definition at line 305 of file CbmCaHitQaData.h.
Referenced by GetPointX(), and SetPointX().
|
private |
Point y-coordinate [cm].
Definition at line 306 of file CbmCaHitQaData.h.
Referenced by GetPointY(), and SetPointY().
|
private |
Point z-coordinate [cm].
Definition at line 307 of file CbmCaHitQaData.h.
Referenced by GetPointZ(), and SetPointZ().
|
private |
Local index of tracking station.
Definition at line 309 of file CbmCaHitQaData.h.
Referenced by GetStationID(), and SetStationID().
|
staticconstexprprivate |
Definition at line 293 of file CbmCaHitQaData.h.