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 { attachAttached = 0x40000000,
25 attachGood = 0x20000000,
26 attachGoodLeg = 0x10000000,
27 attachTube = 0x08000000,
28 attachHighIncl = 0x04000000,
29 attachTrackMask = 0x03FFFFFF,
30 attachFlagMask = 0xFC000000,
32
37
41
42struct GPUResolveSharedMemory : public GPUKernelTemplate::GPUSharedMemoryScan64<int16_t, GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)> {
43 int32_t iTrack1[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)];
44 int32_t iTrack2[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)];
45};
46
48 int32_t fId;
49 float fMin, fMax;
50};
51
53 float X, alpha;
54 float P[5];
55 float C[15];
56};
57
58} // namespace o2::gpu::gputpcgmmergertypes
59
60#endif
#define GPUCA_MERGER_MAX_TRACK_CLUSTERS
#define GPUCA_GET_THREAD_COUNT(...)
#define GPUCA_MERGER_INTERPOLATION_ERROR_TYPE
int32_t iTrack1[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)]
int32_t iTrack2[GPUCA_GET_THREAD_COUNT(GPUCA_LB_GPUTPCGMMergerResolve_step3)]
InterpolationErrorHit hit[GPUCA_MERGER_MAX_TRACK_CLUSTERS]