CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pfalgo2hgc.h
Go to the documentation of this file.
1 #ifndef L1Trigger_Phase2L1ParticleFlow_FIRMWARE_PFALGO2HGC_H
2 #define L1Trigger_Phase2L1ParticleFlow_FIRMWARE_PFALGO2HGC_H
3 
4 #include "pfalgo_common.h"
5 
6 void pfalgo2hgc(const HadCaloObj calo[NCALO],
7  const TkObj track[NTRACK],
8  const MuObj mu[NMU],
9  PFChargedObj outch[NTRACK],
10  PFNeutralObj outne[NSELCALO],
11  PFChargedObj outmu[NMU]);
12 
13 #if defined(PACKING_DATA_SIZE) && defined(PACKING_NCHANN)
14 void packed_pfalgo2hgc(const ap_uint<PACKING_DATA_SIZE> input[PACKING_NCHANN],
15  ap_uint<PACKING_DATA_SIZE> output[PACKING_NCHANN]);
16 void pfalgo2hgc_pack_in(const HadCaloObj calo[NCALO],
17  const TkObj track[NTRACK],
18  const MuObj mu[NMU],
19  ap_uint<PACKING_DATA_SIZE> input[PACKING_NCHANN]);
20 void pfalgo2hgc_unpack_in(const ap_uint<PACKING_DATA_SIZE> input[PACKING_NCHANN],
21  HadCaloObj calo[NCALO],
23  MuObj mu[NMU]);
24 void pfalgo2hgc_pack_out(const PFChargedObj outch[NTRACK],
25  const PFNeutralObj outne[NSELCALO],
26  const PFChargedObj outmu[NMU],
27  ap_uint<PACKING_DATA_SIZE> output[PACKING_NCHANN]);
28 void pfalgo2hgc_unpack_out(const ap_uint<PACKING_DATA_SIZE> output[PACKING_NCHANN],
29  PFChargedObj outch[NTRACK],
30  PFNeutralObj outne[NSELCALO],
31  PFChargedObj outmu[NMU]);
32 #endif
33 
34 #ifndef CMSSW_GIT_HASH
35 #define PFALGO_DR2MAX_TK_CALO 525
36 #define PFALGO_TK_MAXINVPT_LOOSE 40
37 #define PFALGO_TK_MAXINVPT_TIGHT 80
38 #endif
39 
40 #endif
Definition: data.h:158
#define NMU
Definition: data.h:93
static std::string const input
Definition: EdmProvDump.cc:47
#define NTRACK
Definition: data.h:90
const int mu
Definition: Constants.h:22
void pfalgo2hgc(const HadCaloObj calo[15], const TkObj track[22], const MuObj mu[2], PFChargedObj outch[22], PFNeutralObj outne[10], PFChargedObj outmu[2])
#define NCALO
Definition: data.h:91
Definition: data.h:143
#define NSELCALO
Definition: data.h:95