@@ -39,11 +39,11 @@ struct GPUSettingsRec;
3939struct GPUSettingsGTP ;
4040struct GPURecoStepConfiguration ;
4141
42- struct GPUParamSlice {
43- float Alpha; // slice angle
44- float CosAlpha, SinAlpha; // sign and cosine of the slice angle
42+ struct GPUParamSector {
43+ float Alpha; // sector angle
44+ float CosAlpha, SinAlpha; // sign and cosine of the sector angle
4545 float AngleMin, AngleMax; // minimal and maximal angle
46- float ZMin, ZMax; // slice Z range
46+ float ZMin, ZMax; // sector Z range
4747};
4848
4949namespace internal
@@ -66,7 +66,7 @@ struct GPUParam_t {
6666 const uint32_t * occupancyMap; // Ptr to TPC occupancy map
6767 uint32_t occupancyTotal; // Total occupancy in the TPC (nCl / nHbf)
6868
69- GPUParamSlice SliceParam[GPUCA_NSLICES ];
69+ GPUParamSector SectorParam[GPUCA_NSECTORS ];
7070
7171 protected:
7272#ifdef GPUCA_TPC_GEOMETRY_O2
@@ -88,15 +88,15 @@ struct GPUParam : public internal::GPUParam_t<GPUSettingsRec, GPUSettingsParam>
8888 void UpdateRun3ClusterErrors (const float * yErrorParam, const float * zErrorParam);
8989#endif
9090
91- GPUd () float Alpha (int32_t iSlice ) const
91+ GPUd () float Alpha (int32_t iSector ) const
9292 {
93- if (iSlice >= GPUCA_NSLICES / 2 ) {
94- iSlice -= GPUCA_NSLICES / 2 ;
93+ if (iSector >= GPUCA_NSECTORS / 2 ) {
94+ iSector -= GPUCA_NSECTORS / 2 ;
9595 }
96- if (iSlice >= GPUCA_NSLICES / 4 ) {
97- iSlice -= GPUCA_NSLICES / 2 ;
96+ if (iSector >= GPUCA_NSECTORS / 4 ) {
97+ iSector -= GPUCA_NSECTORS / 2 ;
9898 }
99- return 0 .174533f + par.dAlpha * iSlice ;
99+ return 0 .174533f + par.dAlpha * iSector ;
100100 }
101101 GPUd () float GetClusterErrorSeeding (int32_t yz, int32_t type, float zDiff, float angle2, float unscaledMult) const ;
102102 GPUd () void GetClusterErrorsSeeding2 (uint8_t sector, int32_t row, float z, float sinPhi, float DzDs, float time, float & ErrY2, float & ErrZ2) const ;
@@ -108,8 +108,8 @@ struct GPUParam : public internal::GPUParam_t<GPUSettingsRec, GPUSettingsParam>
108108 GPUd () void UpdateClusterError2ByState (int16_t clusterState, float & ErrY2, float & ErrZ2) const ;
109109 GPUd () float GetUnscaledMult (float time) const ;
110110
111- GPUd () void Slice2Global (int32_t iSlice , float x, float y, float z, float * X, float * Y, float * Z) const ;
112- GPUd () void Global2Slice (int32_t iSlice , float x, float y, float z, float * X, float * Y, float * Z) const ;
111+ GPUd () void Sector2Global (int32_t iSector , float x, float y, float z, float * X, float * Y, float * Z) const ;
112+ GPUd () void Global2Sector (int32_t iSector , float x, float y, float z, float * X, float * Y, float * Z) const ;
113113
114114 GPUd () bool rejectEdgeClusterByY (float uncorrectedY, int32_t iRow, float trackSigmaY) const ;
115115};
0 commit comments