17#ifndef ALICEO2_GPUCOMMON_TPCFASTTRANSFORMATION_TPCFASTTRANSFORMGEOPOD_H
18#define ALICEO2_GPUCOMMON_TPCFASTTRANSFORMATION_TPCFASTTRANSFORMGEOPOD_H
40 inline static constexpr float getSectorSin(uint32_t sector) {
return GPUTPCGeometry::SectorSin(sector); }
41 inline static constexpr float getSectorCos(uint32_t sector) {
return GPUTPCGeometry::SectorCos(sector); }
44 inline static constexpr float getRowInfoX(uint32_t
row) {
return GPUTPCGeometry::Row2X(
row); }
49 inline static constexpr float getTPCzLength() {
return GPUTPCGeometry::TPCLength(); }
59 inline static constexpr void convLocalToGlobal(uint32_t sector,
float lx,
float ly,
float lz,
float& gx,
float& gy,
float& gz)
63 gx = lx * cosAlpha - ly * sinAlpha;
64 gy = lx * sinAlpha + ly * cosAlpha;
69 inline static constexpr void convGlobalToLocal(uint32_t sector,
float gx,
float gy,
float gz,
float& lx,
float& ly,
float& lz)
73 lx = gx * cosAlpha + gy * sinAlpha;
74 ly = -gx * sinAlpha + gy * cosAlpha;
83 const float u = (pad - 0.5f * maxPad) * padWidth;
119 pad = u / padWidth + 0.5f * maxPad;
static constexpr uint32_t NROWS
static constexpr uint32_t NSECTORS
GLdouble GLdouble GLdouble z