src
EventFilter
L1TRawToDigi
plugins
implementations_stage2
IntermediateMuonUnpacker.h
Go to the documentation of this file.
1
#ifndef EventFilter_L1TRawToDigi_stage2_IntermediateMuonUnpacker_h
2
#define EventFilter_L1TRawToDigi_stage2_IntermediateMuonUnpacker_h
3
4
#include "
EventFilter/L1TRawToDigi/interface/Unpacker.h
"
5
#include <map>
6
#include "
DataFormats/L1Trigger/interface/Muon.h
"
7
8
namespace
l1t
{
9
namespace
stage2
{
10
class
IntermediateMuonUnpacker
:
public
Unpacker
{
11
public
:
12
IntermediateMuonUnpacker
();
13
~IntermediateMuonUnpacker
()
override
{};
14
15
bool
unpack
(
const
Block
&
block
,
UnpackerCollections
* coll)
override
;
16
17
private
:
18
static
constexpr
unsigned
nWords_
= 6;
// every link transmits 6 words (3 muons) per bx
19
static
constexpr
unsigned
bxzs_enable_shift_
= 1;
20
21
MuonBxCollection
*
res1_
;
22
MuonBxCollection
*
res2_
;
23
unsigned
int
coll1Cnt_
;
24
25
void
unpackBx
(
int
bx
,
const
std::vector<uint32_t>&
payload
,
unsigned
int
startIdx = 0);
26
};
27
}
// namespace stage2
28
}
// namespace l1t
29
30
#endif
l1t::stage2::IntermediateMuonUnpacker::bxzs_enable_shift_
static constexpr unsigned bxzs_enable_shift_
Definition:
IntermediateMuonUnpacker.h:19
l1t::stage2::IntermediateMuonUnpacker::unpackBx
void unpackBx(int bx, const std::vector< uint32_t > &payload, unsigned int startIdx=0)
Definition:
IntermediateMuonUnpacker.cc:103
l1t::stage2::IntermediateMuonUnpacker::res2_
MuonBxCollection * res2_
Definition:
IntermediateMuonUnpacker.h:22
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
Unpacker.h
l1t::stage2::IntermediateMuonUnpacker::~IntermediateMuonUnpacker
~IntermediateMuonUnpacker() override
Definition:
IntermediateMuonUnpacker.h:13
l1t
delete x;
Definition:
CaloConfig.h:22
Muon.h
l1t::Unpacker
Definition:
Unpacker.h:11
l1t::UnpackerCollections
Definition:
UnpackerCollections.h:9
l1t::stage2::IntermediateMuonUnpacker::unpack
bool unpack(const Block &block, UnpackerCollections *coll) override
Definition:
IntermediateMuonUnpacker.cc:14
l1t::stage2::IntermediateMuonUnpacker::res1_
MuonBxCollection * res1_
Definition:
IntermediateMuonUnpacker.h:21
groupFilesInBlocks.block
block
Definition:
groupFilesInBlocks.py:150
jetsAK4_Puppi_cff.payload
payload
Definition:
jetsAK4_Puppi_cff.py:17
SiStripSourceConfigTier0_cff.stage2
stage2
Definition:
SiStripSourceConfigTier0_cff.py:74
l1t::stage2::IntermediateMuonUnpacker
Definition:
IntermediateMuonUnpacker.h:10
l1t::stage2::IntermediateMuonUnpacker::nWords_
static constexpr unsigned nWords_
Definition:
IntermediateMuonUnpacker.h:18
BXVector
Definition:
BXVector.h:15
l1t::Block
Definition:
Block.h:70
l1t::stage2::IntermediateMuonUnpacker::IntermediateMuonUnpacker
IntermediateMuonUnpacker()
Definition:
IntermediateMuonUnpacker.cc:12
l1t::stage2::IntermediateMuonUnpacker::coll1Cnt_
unsigned int coll1Cnt_
Definition:
IntermediateMuonUnpacker.h:23
Generated for CMSSW Reference Manual by
1.8.14