CMS 3D CMS Logo

pfalgo3.h
Go to the documentation of this file.
1 #ifndef L1Trigger_Phase2L1ParticleFlow_FIRMWARE_PFALGO3_H
2 #define L1Trigger_Phase2L1ParticleFlow_FIRMWARE_PFALGO3_H
3 
4 #include "pfalgo_common.h"
5 
6 void pfalgo3(const EmCaloObj emcalo[NEMCALO],
7  const HadCaloObj hadcalo[NCALO],
8  const TkObj track[NTRACK],
9  const MuObj mu[NMU],
10  PFChargedObj outch[NTRACK],
11  PFNeutralObj outpho[NPHOTON],
12  PFNeutralObj outne[NSELCALO],
13  PFChargedObj outmu[NMU]);
14 
15 #if defined(PACKING_DATA_SIZE) && defined(PACKING_NCHANN)
16 void packed_pfalgo3(const ap_uint<PACKING_DATA_SIZE> input[PACKING_NCHANN],
17  ap_uint<PACKING_DATA_SIZE> output[PACKING_NCHANN]);
18 void pfalgo3_pack_in(const EmCaloObj emcalo[NEMCALO],
19  const HadCaloObj hadcalo[NCALO],
20  const TkObj track[NTRACK],
21  const MuObj mu[NMU],
22  ap_uint<PACKING_DATA_SIZE> input[PACKING_NCHANN]);
23 void pfalgo3_unpack_in(const ap_uint<PACKING_DATA_SIZE> input[PACKING_NCHANN],
24  EmCaloObj emcalo[NEMCALO],
25  HadCaloObj hadcalo[NCALO],
27  MuObj mu[NMU]);
28 void pfalgo3_pack_out(const PFChargedObj outch[NTRACK],
29  const PFNeutralObj outpho[NPHOTON],
30  const PFNeutralObj outne[NSELCALO],
31  const PFChargedObj outmu[NMU],
32  ap_uint<PACKING_DATA_SIZE> output[PACKING_NCHANN]);
33 void pfalgo3_unpack_out(const ap_uint<PACKING_DATA_SIZE> output[PACKING_NCHANN],
34  PFChargedObj outch[NTRACK],
35  PFNeutralObj outpho[NPHOTON],
36  PFNeutralObj outne[NSELCALO],
37  PFChargedObj outmu[NMU]);
38 #endif
39 
40 void pfalgo3_set_debug(bool debug);
41 
42 #ifndef CMSSW_GIT_HASH
43 #define PFALGO_DR2MAX_TK_CALO 1182
44 #define PFALGO_DR2MAX_EM_CALO 525
45 #define PFALGO_DR2MAX_TK_EM 84
46 #define PFALGO_TK_MAXINVPT_LOOSE 40
47 #define PFALGO_TK_MAXINVPT_TIGHT 80
48 #endif
49 
50 #endif
input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
NPHOTON
#define NPHOTON
Definition: data.h:94
NTRACK
#define NTRACK
Definition: data.h:90
debug
#define debug
Definition: HDRShower.cc:19
pfalgo3
void pfalgo3(const EmCaloObj emcalo[13], const HadCaloObj hadcalo[15], const TkObj track[22], const MuObj mu[2], PFChargedObj outch[22], PFNeutralObj outpho[13], PFNeutralObj outne[10], PFChargedObj outmu[2])
NMU
#define NMU
Definition: data.h:93
EmCaloObj
Definition: data.h:132
PFChargedObj
Definition: data.h:169
PFNeutralObj
Definition: data.h:183
TkObj
Definition: data.h:143
NEMCALO
#define NEMCALO
Definition: data.h:92
pfalgo_common.h
pfalgo3_set_debug
void pfalgo3_set_debug(bool debug)
MuObj
Definition: data.h:158
NSELCALO
#define NSELCALO
Definition: data.h:95
NCALO
#define NCALO
Definition: data.h:91
HadCaloObj
Definition: data.h:120
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352