L1Trigger
Phase2L1ParticleFlow
src
firmware
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
],
26
TkObj
track
[
NTRACK
],
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
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
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])
input
static std::string const input
Definition:
EdmProvDump.cc:47
NTRACK
#define NTRACK
Definition:
data.h:90
HadCaloObj
Definition:
data.h:120
NPHOTON
#define NPHOTON
Definition:
data.h:94
HLT_2022v12_cff.track
track
Definition:
HLT_2022v12_cff.py:9241
NEMCALO
#define NEMCALO
Definition:
data.h:92
debug
#define debug
Definition:
HDRShower.cc:19
EmCaloObj
Definition:
data.h:132
pfalgo3_set_debug
void pfalgo3_set_debug(bool debug)
PFNeutralObj
Definition:
data.h:183
PFChargedObj
Definition:
data.h:169
NCALO
#define NCALO
Definition:
data.h:91
pfalgo_common.h
TkObj
Definition:
data.h:143
NSELCALO
#define NSELCALO
Definition:
data.h:95
Generated for CMSSW Reference Manual by
1.8.14