LDMX Software
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Macros
Trigger
Algo_HLS
Ecal
src
data.h
1
#ifndef DATA_H
2
#define DATA_H
3
4
#include "ap_fixed.h"
5
#include "ap_int.h"
6
7
// HGCROC trigger ID and primitive
8
typedef
ap_uint<20>
tid_t
;
9
typedef
ap_uint<7>
tp_t
;
10
11
typedef
ap_uint<18>
lin_t
;
12
13
typedef
ap_ufixed<16, 14>
e_t
;
// [MeV] (Up to at least 8 GeV)
14
typedef
ap_fixed<10, 9>
xy_t
;
// [mm] (-250 to 250, resolution = a few mm)
15
typedef
ap_fixed<16, 14>
pxy_t
;
// [MeV/c]
16
17
struct
EcalTP
{
18
tid_t
tid;
19
tp_t
tp;
20
};
17
struct
EcalTP
{
…
};
21
22
struct
Ecal2dCluster
{
23
e_t
e;
24
xy_t
x;
25
xy_t
y;
26
};
22
struct
Ecal2dCluster
{
…
};
27
28
#endif
Ecal2dCluster
Definition
data.h:22
EcalTP
Definition
data.h:17
ap_fixed
Signed Arbitrary Precision Fixed-Point Type.
Definition
ap_fixed.h:29
ap_ufixed
Definition
ap_fixed.h:195
ap_uint
Unsigned Arbitrary Precision Type.
Definition
ap_int.h:166
Generated by
1.12.0