19#ifndef AliceO2_TPC_Defs_H
20#define AliceO2_TPC_Defs_H
24#ifndef GPUCA_GPUCODE_DEVICE
29#ifndef GPUCA_ALIGPUCODE
61GPUglobalconstexpr()
unsigned short GEMSTACKSPERSIDE = GEMSTACKSPERSECTOR * SECTORSPERSIDE;
62GPUglobalconstexpr()
unsigned short GEMSTACKS = GEMSTACKSPERSECTOR * SECTORSPERSIDE * SIDES;
86 return sector +
type * SECTORSPERSIDE * SIDES;
90 sector =
index % (SECTORSPERSIDE * SIDES);
91 type =
static_cast<GEMstack>((
index / (SECTORSPERSIDE * SIDES)) % GEMSTACKSPERSECTOR);
bool operator!=(Iterator rhs)
GLsizei const GLfloat * value
GLint GLint GLsizei GLint GLenum GLenum type
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
Global TPC definitions and constants.
GEMstack
TPC GEM stack types.
GPUglobalconstexpr() unsigned char SECTORSPERSIDE
math_utils::Point2D< float > LocalPosition2D
math_utils::Point3D< float > LocalPosition3D
StatisticsType
Statistics type.
@ GausFitFast
Use fast gaus fit (less accurate error treatment)
@ MeanStdDev
Use mean and standard deviation.
@ GausFit
Use slow gaus fit (better fit stability)
math_utils::Point2D< float > PadCentre
Pad centres as 2D float.
Enum< T >::Iterator begin(Enum< T >)
math_utils::Point3D< float > GlobalPosition3D
PadSubset
Definition of the different pad subsets.
@ Partition
Partitions (up to 36*5)
@ Region
Regions (up to 36*10)
unsigned short GlobalPadNumber
global pad number
unsigned int TimeBin
global time bin
math_utils::Point2D< float > GlobalPosition2D
GEM stack identification.
GPUdi() int getIndex() const
Single number identification for the stacks.
GPUdi() void setIndex(int index)