#include <TrackResiduals.h>
Public Types | |
using | StorageType = unsigned short |
Public Member Functions | |
float | pullX (int i) const |
float | pullY (int i) const |
float | residualX (int i) const |
get the residual of the ith hit More... | |
float | residualY (int i) const |
void | resize (unsigned int nHits) |
void | setPullXY (int idx, float pullX, float pullY) |
void | setResidualXY (int idx, float residualX, float residualY) |
TrackResiduals () | |
Static Private Member Functions | |
static StorageType | pack_pull (float) |
static StorageType | pack_residual (float) |
static float | unpack_pull (StorageType) |
static float | unpack_residual (StorageType) |
Private Attributes | |
std::vector< StorageType > | m_storage |
Definition at line 8 of file TrackResiduals.h.
using reco::TrackResiduals::StorageType = unsigned short |
Definition at line 11 of file TrackResiduals.h.
|
inline |
Definition at line 13 of file TrackResiduals.h.
|
staticprivate |
Definition at line 26 of file TrackResiduals.cc.
References timeUnitHelper::pack().
Referenced by setPullXY().
|
staticprivate |
Definition at line 28 of file TrackResiduals.cc.
References timeUnitHelper::pack().
Referenced by setResidualXY().
|
inline |
Definition at line 20 of file TrackResiduals.h.
References mps_fire::i, m_storage, and unpack_pull().
Referenced by setPullXY().
|
inline |
Definition at line 21 of file TrackResiduals.h.
References mps_fire::i, m_storage, and unpack_pull().
Referenced by setPullXY().
|
inline |
get the residual of the ith hit
Definition at line 18 of file TrackResiduals.h.
References mps_fire::i, m_storage, and unpack_residual().
Referenced by setResidualXY().
|
inline |
Definition at line 19 of file TrackResiduals.h.
References mps_fire::i, m_storage, and unpack_residual().
Referenced by setResidualXY().
|
inline |
Definition at line 14 of file TrackResiduals.h.
References m_storage.
Referenced by trajectoryToResiduals().
void reco::TrackResiduals::setPullXY | ( | int | idx, |
float | pullX, | ||
float | pullY | ||
) |
Definition at line 34 of file TrackResiduals.cc.
References heavyIonCSV_trainingSettings::idx, m_storage, pack_pull(), pullX(), and pullY().
Referenced by trajectoryToResiduals().
void reco::TrackResiduals::setResidualXY | ( | int | idx, |
float | residualX, | ||
float | residualY | ||
) |
Definition at line 30 of file TrackResiduals.cc.
References heavyIonCSV_trainingSettings::idx, m_storage, pack_residual(), residualX(), and residualY().
Referenced by trajectoryToResiduals().
|
staticprivate |
|
staticprivate |
Definition at line 27 of file TrackResiduals.cc.
References BeamSpotPI::unpack().
Referenced by residualX(), and residualY().
|
private |
Definition at line 30 of file TrackResiduals.h.
Referenced by pullX(), pullY(), residualX(), residualY(), resize(), setPullXY(), and setResidualXY().