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
Definition: data.h:158
#define NMU
Definition: data.h:93
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])
static std::string const input
Definition: EdmProvDump.cc:47
#define NTRACK
Definition: data.h:90
#define NPHOTON
Definition: data.h:94
#define NEMCALO
Definition: data.h:92
#define debug
Definition: HDRShower.cc:19
void pfalgo3_set_debug(bool debug)
#define NCALO
Definition: data.h:91
Definition: data.h:143
#define NSELCALO
Definition: data.h:95