ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrackMlData.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrackMlData.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2019 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
11
12
#pragma once
13
14
#include <cstdint>
15
#include <
dfe/dfe_namedtuple.hpp
>
16
17
namespace
FW {
18
19
struct
ParticleData
{
21
uint64_t
particle_id
;
23
int32_t
particle_type
;
25
uint32_t
process
= 0
u
;
27
float
vx
,
vy
,
vz
;
28
// Production time in ns. Not available in the TrackML datasets.
29
float
vt
= 0.0f;
31
float
px
,
py
,
pz
;
33
float
m
= 0.0f;
35
float
q
;
36
37
DFE_NAMEDTUPLE
(
ParticleData
,
particle_id
,
particle_type
,
process
,
vx
,
vy
,
vz
,
38
vt
,
px
,
py
,
pz
,
m
,
q
);
39
};
40
41
struct
TruthHitData
{
45
uint64_t
hit_id
;
47
uint64_t
geometry_id
= 0
u
;
49
uint64_t
particle_id
;
51
float
tx
,
ty
,
tz
;
52
// True global hit time in ns. Not available in the TrackML datasets.
53
float
tt
= 0.0f;
55
float
tpx
,
tpy
,
tpz
;
58
float
te
= 0.0f;
61
float
deltapx
= 0.0f;
62
float
deltapy
= 0.0f;
63
float
deltapz
= 0.0f;
64
float
deltae
= 0.0f;
65
// Hit index along the trajectory. Not available in the TrackML datasets.
66
int32_t
index
= -1;
67
68
DFE_NAMEDTUPLE
(
TruthHitData
,
hit_id
,
particle_id
,
geometry_id
,
tx
,
ty
,
tz
,
tt
,
69
tpx
,
tpy
,
tpz
,
te
,
deltapx
,
deltapy
,
deltapz
,
deltae
,
index
);
70
};
71
72
struct
HitData
{
74
uint64_t
hit_id
;
76
uint64_t
geometry_id
= 0
u
;
78
uint32_t
volume_id
,
layer_id
,
module_id
;
80
float
x
,
y
,
z
;
82
float
t
= 0.0f;
83
84
DFE_NAMEDTUPLE
(
HitData
,
hit_id
,
geometry_id
,
volume_id
,
layer_id
,
module_id
,
85
x
,
y
,
z
,
t
);
86
};
87
88
struct
CellData
{
92
uint64_t
hit_id
;
96
int32_t
ch0
,
ch1
;
98
int32_t
timestamp
= 0;
100
int32_t
value
;
101
102
DFE_NAMEDTUPLE
(
CellData
,
hit_id
,
ch0
,
ch1
,
timestamp
,
value
);
103
};
104
105
struct
SurfaceData
{
107
uint64_t
geometry_id
;
109
uint32_t
volume_id
,
layer_id
,
module_id
;
111
float
cx
,
cy
,
cz
;
113
float
rot_xu
,
rot_xv
,
rot_xw
;
114
float
rot_yu
,
rot_yv
,
rot_yw
;
115
float
rot_zu
,
rot_zv
,
rot_zw
;
117
float
module_t
= -1;
118
float
module_minhu
= -1;
119
float
module_maxhu
= -1;
120
float
module_hv
= -1;
121
float
pitch_u
= -1;
122
float
pitch_v
= -1;
123
124
DFE_NAMEDTUPLE
(
SurfaceData
,
geometry_id
,
volume_id
,
layer_id
,
module_id
,
cx
,
125
cy
,
cz
,
rot_xu
,
rot_xv
,
rot_xw
,
rot_yu
,
rot_yv
,
rot_yw
,
rot_zu
,
126
rot_zv
,
rot_zw
,
module_t
,
module_minhu
,
module_maxhu
,
127
module_hv
,
pitch_u
,
pitch_v
);
128
};
129
130
}
// namespace FW
acts
blob
master
Examples
Io
Csv
src
TrackMlData.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:24
using
1.8.2 with
ECCE GitHub integration