Main Page
Namespaces
Classes
Package Documentation
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
}
28
}
29
30
#endif
l1t::stage2::IntermediateMuonUnpacker::unpackBx
void unpackBx(int bx, const std::vector< uint32_t > &payload, unsigned int startIdx=0)
Definition:
IntermediateMuonUnpacker.cc:108
l1t::stage2::IntermediateMuonUnpacker::res2_
MuonBxCollection * res2_
Definition:
IntermediateMuonUnpacker.h:22
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
constexpr
#define constexpr
l1t::UnpackerCollections
Definition:
UnpackerCollections.h:9
l1t::stage2::IntermediateMuonUnpacker::nWords_
static unsigned nWords_
Definition:
IntermediateMuonUnpacker.h:18
l1t::stage2::IntermediateMuonUnpacker::unpack
bool unpack(const Block &block, UnpackerCollections *coll) override
Definition:
IntermediateMuonUnpacker.cc:17
l1t::stage2::IntermediateMuonUnpacker::res1_
MuonBxCollection * res1_
Definition:
IntermediateMuonUnpacker.h:21
groupFilesInBlocks.block
block
Definition:
groupFilesInBlocks.py:148
jets_cff.payload
payload
Definition:
jets_cff.py:142
coll
JetCorrectorParametersCollection coll
Definition:
classes.h:10
l1t::stage2::IntermediateMuonUnpacker::bxzs_enable_shift_
static unsigned bxzs_enable_shift_
Definition:
IntermediateMuonUnpacker.h:19
l1t::stage2::IntermediateMuonUnpacker
Definition:
IntermediateMuonUnpacker.h:10
BXVector< Muon >
l1t::Block
Definition:
Block.h:48
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.11