Project
Loading...
Searching...
No Matches
TrackTRD.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 O2_DATAFORMATS_TRACK_TRD_H
16
#define O2_DATAFORMATS_TRACK_TRD_H
17
18
#include "
GPUTRDTrack.h
"
19
20
namespace
o2
21
{
22
namespace
trd
23
{
24
using
TrackTRD
=
o2::gpu::GPUTRDTrack
;
25
}
// namespace trd
26
namespace
framework
27
{
28
template
<
typename
T>
29
struct
is_messageable
;
30
template
<>
31
struct
is_messageable
<
o2
::
trd::TrackTRD
> : std::true_type {
32
};
33
}
// namespace framework
34
namespace
gpu
35
{
36
static_assert
(
sizeof
(
o2::dataformats::GlobalTrackID
) ==
sizeof
(
unsigned
int
));
37
template
<>
38
GPUdi
()
o2
::dataformats::GlobalTrackID
GPUTRDTrack_t
<
trackInterface
<
o2
::track::
TrackParCov
>>::getRefGlobalTrackId()
const
39
{
40
return
o2::dataformats::GlobalTrackID
{mRefGlobalTrackId};
41
}
42
template
<>
43
GPUdi
()
void
GPUTRDTrack_t<trackInterface<
o2
::track::
TrackParCov
>>::setRefGlobalTrackId(
o2
::dataformats::GlobalTrackID
id
)
44
{
45
setRefGlobalTrackIdRaw(
id
.getRaw());
46
}
47
}
// namespace gpu
48
}
// namespace o2
49
50
#endif
// O2_DATAFORMATS_TRACK_TRD_H
GPUTRDTrack.h
TrackParCov
o2::track::TrackParCov TrackParCov
Definition
Recon.h:39
o2::dataformats::GlobalTrackID
Definition
GlobalTrackID.h:36
o2::gpu::GPUTRDTrack_t
Definition
GPUTRDTrack.h:43
o2::gpu::trackInterface
Definition
GPUTRDDef.h:44
void
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
framework
Definition
BunchFilling.h:113
o2::gpu::GPUTRDTrack
GPUTRDTrack_t< trackInterface< TRDBaseTrack > > GPUTRDTrack
Definition
GPUTRDDef.h:50
o2::gpu::GPUdi
GPUdi() o2
Definition
TrackTRD.h:38
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::framework::is_messageable
Definition
TypeTraits.h:49
DataFormats
Detectors
TRD
include
DataFormatsTRD
TrackTRD.h
Generated on Tue Feb 25 2025 17:02:53 for Project by
1.9.8