Project
Loading...
Searching...
No Matches
TPCClusterDecompressor.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 TPCCLUSTERDECOMPRESSOR_H
16#define TPCCLUSTERDECOMPRESSOR_H
17
18#include "GPUTPCCompression.h"
19#include <vector>
20#include <functional>
21
22namespace o2::tpc
23{
24struct ClusterNativeAccess;
25struct ClusterNative;
26} // namespace o2::tpc
27
28namespace o2::gpu
29{
30struct GPUParam;
31
33{
34 public:
35 static constexpr uint32_t NSECTORS = GPUCA_NSECTORS;
36 static int32_t decompress(const o2::tpc::CompressedClustersFlat* clustersCompressed, o2::tpc::ClusterNativeAccess& clustersNative, std::function<o2::tpc::ClusterNative*(size_t)> allocator, const GPUParam& param, bool deterministicRec);
37 static int32_t decompress(const o2::tpc::CompressedClusters* clustersCompressed, o2::tpc::ClusterNativeAccess& clustersNative, std::function<o2::tpc::ClusterNative*(size_t)> allocator, const GPUParam& param, bool deterministicRec);
38};
39} // namespace o2::gpu
40
41#endif
#define GPUCA_NSECTORS
static int32_t decompress(const o2::tpc::CompressedClusters *clustersCompressed, o2::tpc::ClusterNativeAccess &clustersNative, std::function< o2::tpc::ClusterNative *(size_t)> allocator, const GPUParam &param, bool deterministicRec)
static int32_t decompress(const o2::tpc::CompressedClustersFlat *clustersCompressed, o2::tpc::ClusterNativeAccess &clustersNative, std::function< o2::tpc::ClusterNative *(size_t)> allocator, const GPUParam &param, bool deterministicRec)
GLenum GLfloat param
Definition glcorearb.h:271
Global TPC definitions and constants.
Definition SimTraits.h:167