1 #ifndef L1Trigger_Phase2L1ParticleFlow_FIRMWARE_DATA_H
2 #define L1Trigger_Phase2L1ParticleFlow_FIRMWARE_DATA_H
6 typedef ap_int<16>
pt_t;
19 #if defined(REG_HGCal)
24 #define NALLNEUTRALS NSELCALO
27 #define NPHOTON NEMCALO
31 #elif defined(REG_HGCalNoTK)
34 #define NALLNEUTRALS NCALO
39 #define NPHOTON NEMCALO
45 #define NALLNEUTRALS NCALO
50 #define NPHOTON NEMCALO
55 #ifndef CMSSW_GIT_HASH
56 #warning "No region defined, assuming it's barrel (#define REG_Barrel to suppress this)"
59 #if defined(BOARD_MP7)
60 #warning "MP7 NOT SUPPORTED ANYMORE"
65 #define NPHOTON NEMCALO
67 #define NALLNEUTRALS (NPHOTON + NSELCALO)
69 #elif defined(BOARD_CTP7)
70 #error "NOT SUPPORTED ANYMORE"
71 #elif defined(BOARD_KU15P)
76 #define NPHOTON NEMCALO
78 #define NALLNEUTRALS (NPHOTON + NSELCALO)
80 #elif defined(BOARD_VCU118)
85 #define NPHOTON NEMCALO
87 #define NALLNEUTRALS (NPHOTON + NSELCALO)
94 #define NPHOTON NEMCALO
96 #define NALLNEUTRALS (NPHOTON + NSELCALO)
102 #if defined(BOARD_MP7)
103 #define PACKING_DATA_SIZE 32
104 #define PACKING_NCHANN 72
105 #elif defined(BOARD_KU15P)
106 #define PACKING_DATA_SIZE 64
107 #define PACKING_NCHANN 42
108 #elif defined(BOARD_VCU118)
109 #define PACKING_DATA_SIZE 64
110 #define PACKING_NCHANN 96
111 #elif defined(BOARD_APD1)
112 #define PACKING_DATA_SIZE 64
113 #define PACKING_NCHANN 96
204 #define NTRACK_TMUX (NTRACK * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
205 #define NCALO_TMUX (NCALO * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
206 #define NEMCALO_TMUX (NEMCALO * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
207 #define NMU_TMUX (NMU * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
const edm::EventSetup & c
ap_uint< 3 > particleid_t
ap_uint< 10 > em2calo_dr_t
ap_uint< 14 > tk2calo_dr_t
ap_uint< 13 > tk2calo_dq_t