17#ifndef ALICEO2_GPUCOMMON_TPCFASTTRANSFORMATION_TPCFASTSPACECHARGECORRECTIONMAP_H
18#define ALICEO2_GPUCOMMON_TPCFASTTRANSFORMATION_TPCFASTSPACECHARGECORRECTIONMAP_H
61 void init(int32_t nRocs, int32_t nRows)
65 int32_t
n = mNrocs * mNrows;
66 fDataPoints.resize(
n);
67 for (uint32_t
i = 0;
i < fDataPoints.size(); ++
i) {
68 fDataPoints[
i].clear();
75 double dx,
double dy,
double dz)
77 int32_t ind = mNrows * iRoc + iRow;
82 const std::vector<CorrectionPoint>&
getPoints(int32_t iRoc, int32_t iRow)
const
84 int32_t ind = mNrows * iRoc + iRow;
85 return fDataPoints.at(ind);
98 std::vector<std::vector<CorrectionPoint>> fDataPoints;
100 ClassDefNV(TPCFastSpaceChargeCorrectionMap, 0);
void addCorrectionPoint(int32_t iRoc, int32_t iRow, double y, double z, double dx, double dy, double dz)
Starts the construction procedure, reserves temporary memory.
bool isInitialized() const
~TPCFastSpaceChargeCorrectionMap()=default
Destructor.
const std::vector< CorrectionPoint > & getPoints(int32_t iRoc, int32_t iRow) const
void init(int32_t nRocs, int32_t nRows)
(re-)init the map
TPCFastSpaceChargeCorrectionMap(int32_t nRocs, int32_t nRows)
_____________ Constructors / destructors __________________________
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
The struct contains necessary info for TPC padrow.