Project
Loading...
Searching...
No Matches
GPUTPCGMMergerTypes.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
14
15#ifndef GPUTPCGMMERGERTYPES_H
16#define GPUTPCGMMERGERTYPES_H
17
18#include "GPUTPCDef.h"
19#include "GPUGeneralKernels.h"
20
22{
23
24enum attachTypes { attachProtect = 0x80000000,
25 attachAttached = 0x40000000,
26 attachGood = 0x20000000,
27 attachGoodLeg = 0x10000000,
28 attachTube = 0x08000000,
29 attachHighIncl = 0x04000000,
30 attachTrackMask = 0x03FFFFFF,
31 attachFlagMask = 0xFC000000,
33
38
42
43struct GPUResolveSharedMemory : public GPUKernelTemplate::GPUSharedMemoryScan64<int16_t, GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)> {
44 int32_t iTrack1[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)];
45 int32_t iTrack2[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)];
46};
47
49 int32_t fId;
50 float fMin, fMax;
51};
52
54 float X, alpha;
55 float P[5];
56 float C[15];
57};
58
59} // namespace o2::gpu::gputpcgmmergertypes
60
61#endif
#define GPUCA_MERGER_MAX_TRACK_CLUSTERS
#define GPUCA_GET_THREAD_COUNT(...)
#define GPUCA_PAR_MERGER_INTERPOLATION_ERROR_TYPE_A
int32_t iTrack1[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)]
int32_t iTrack2[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)]
GPUCA_PAR_MERGER_INTERPOLATION_ERROR_TYPE_A errorZ
GPUCA_PAR_MERGER_INTERPOLATION_ERROR_TYPE_A errorY
InterpolationErrorHit hit[GPUCA_MERGER_MAX_TRACK_CLUSTERS]