L1Trigger
Phase2L1ParticleFlow
src
firmware
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
],
22
TkObj
track
[
NTRACK
],
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
MuObj
Definition:
data.h:158
NMU
#define NMU
Definition:
data.h:93
amptDefaultParameters_cff.mu
mu
Definition:
amptDefaultParameters_cff.py:16
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
input
static std::string const input
Definition:
EdmProvDump.cc:47
NTRACK
#define NTRACK
Definition:
data.h:90
HadCaloObj
Definition:
data.h:120
HLT_2022v12_cff.track
track
Definition:
HLT_2022v12_cff.py:9241
PFNeutralObj
Definition:
data.h:183
PFChargedObj
Definition:
data.h:169
pfalgo2hgc
void pfalgo2hgc(const HadCaloObj calo[15], const TkObj track[22], const MuObj mu[2], PFChargedObj outch[22], PFNeutralObj outne[10], PFChargedObj outmu[2])
NCALO
#define NCALO
Definition:
data.h:91
pfalgo_common.h
calo
Definition:
Common.h:9
TkObj
Definition:
data.h:143
NSELCALO
#define NSELCALO
Definition:
data.h:95
Generated for CMSSW Reference Manual by
1.8.14