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
6
namespace
l1t
{
7
namespace
stage2 {
8
class
IntermediateMuonUnpacker
:
public
Unpacker
{
9
public
:
10
IntermediateMuonUnpacker
();
11
~IntermediateMuonUnpacker
()
override
{};
12
13
bool
unpack
(
const
Block
&
block
,
UnpackerCollections
*
coll
)
override
;
14
15
inline
unsigned
int
getAlgoVersion
() {
return
algoVersion_
; };
16
inline
void
setAlgoVersion
(
const
unsigned
int
version
) {
algoVersion_
=
version
; };
17
18
private
:
19
static
constexpr
unsigned
nWords_
= 6;
// every link transmits 6 words (3 muons) per bx
20
static
constexpr
unsigned
bxzs_enable_shift_
= 1;
21
22
MuonBxCollection
*
res1_
;
23
MuonBxCollection
*
res2_
;
24
unsigned
int
algoVersion_
;
25
unsigned
int
coll1Cnt_
;
26
27
void
unpackBx
(
int
bx,
const
std::vector<uint32_t>&
payload
,
unsigned
int
startIdx=0);
28
};
29
}
30
}
31
32
#endif
l1t::stage2::IntermediateMuonUnpacker::bxzs_enable_shift_
static constexpr unsigned bxzs_enable_shift_
Definition:
IntermediateMuonUnpacker.h:20
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:23
Unpacker.h
l1t::stage2::IntermediateMuonUnpacker::~IntermediateMuonUnpacker
~IntermediateMuonUnpacker() override
Definition:
IntermediateMuonUnpacker.h:11
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::Unpacker
Definition:
Unpacker.h:11
constexpr
#define constexpr
l1t::UnpackerCollections
Definition:
UnpackerCollections.h:9
jets_cff.version
version
Definition:
jets_cff.py:20
l1t::stage2::IntermediateMuonUnpacker::setAlgoVersion
void setAlgoVersion(const unsigned int version)
Definition:
IntermediateMuonUnpacker.h:16
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:22
groupFilesInBlocks.block
block
Definition:
groupFilesInBlocks.py:148
jets_cff.payload
payload
Definition:
jets_cff.py:80
coll
JetCorrectorParametersCollection coll
Definition:
classes.h:10
l1t::stage2::IntermediateMuonUnpacker
Definition:
IntermediateMuonUnpacker.h:8
l1t::stage2::IntermediateMuonUnpacker::nWords_
static constexpr unsigned nWords_
Definition:
IntermediateMuonUnpacker.h:19
l1t::stage2::IntermediateMuonUnpacker::algoVersion_
unsigned int algoVersion_
Definition:
IntermediateMuonUnpacker.h:24
BXVector< Muon >
l1t::stage2::IntermediateMuonUnpacker::getAlgoVersion
unsigned int getAlgoVersion()
Definition:
IntermediateMuonUnpacker.h:15
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:25
Generated for CMSSW Reference Manual by
1.8.11