LDMX Software
Trigger
Algo_HLS
Ecal
src
TotalEnergy.h
1
#ifndef TOTALENERGY_H
2
#define TOTALENERGY_H
3
4
#include <cmath>
5
#include <iostream>
6
7
#include "ap_fixed.h"
8
#include "ap_int.h"
9
#include "data.h"
10
11
#define N_INPUT_TP 100
12
#define N_CLUSTER 10
13
14
void
TotalEnergy_hw(
EcalTP
Input_TPs[N_INPUT_TP],
e_t
&energy);
15
void
TotalEnergy_ref(
EcalTP
Input_TPs[N_INPUT_TP],
e_t
&energy);
16
17
#endif
EcalTP
Definition
data.h:17
ap_ufixed< 16, 14 >
Generated by
1.9.8