Project
Loading...
Searching...
No Matches
GPUTPCSectorOutCluster.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 GPUTPCSECTOROUTCLUSTER_H
16#define GPUTPCSECTOROUTCLUSTER_H
17
18#include "GPUTPCDef.h"
19
20namespace o2::gpu
21{
28{
29 public:
30 GPUhd() void Set(uint32_t id, uint8_t row, uint8_t flags, uint16_t amp, float x, float y, float z)
31 {
32 mRow = row;
36 mX = x;
37 mY = y;
38 mZ = z;
39 }
40
41 GPUhd() float GetX() const { return mX; }
42 GPUhd() float GetY() const { return mY; }
43 GPUhd() float GetZ() const { return mZ; }
44 GPUhd() uint16_t GetAmp() const { return mAmp; }
45 GPUhd() uint32_t GetId() const { return mId; }
46 GPUhd() uint8_t GetRow() const { return mRow; }
47 GPUhd() uint8_t GetFlags() const { return mFlags; }
48
49 private:
50 uint32_t mId; // Id
51 uint8_t mRow; // row
52 uint8_t mFlags; // flags
53 uint16_t mAmp; // amplitude
54 float mX; // coordinates
55 float mY; // coordinates
56 float mZ; // coordinates
57
58#ifdef GPUCA_TPC_RAW_PROPAGATE_PAD_ROW_TIME
59 public:
60 float mPad;
61 float mTime;
62#endif
63};
64} // namespace o2::gpu
65
66#endif
uint8_t uint8_t uint16_t float x
uint8_t uint8_t uint16_t float float float z
GPUhd() void Set(uint32_t id
uint8_t uint8_t uint16_t float float y
GLint GLenum GLint x
Definition glcorearb.h:403
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLbitfield flags
Definition glcorearb.h:1570
GLuint id
Definition glcorearb.h:650
GLdouble GLdouble GLdouble z
Definition glcorearb.h:843