Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Unpacker.h
l1t::stage2::IntermediateMuonUnpacker::~IntermediateMuonUnpacker
~IntermediateMuonUnpacker() override
Definition:
IntermediateMuonUnpacker.h:13
Muon.h
l1t::Unpacker
Definition:
Unpacker.h:11
createPayload.block
list block
Definition:
createPayload.py:221
l1t::UnpackerCollections
Definition:
UnpackerCollections.h:9
jetCorrFactors_cfi.payload
string payload
Definition:
jetCorrFactors_cfi.py:50
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
l1t::stage2::IntermediateMuonUnpacker
Definition:
IntermediateMuonUnpacker.h:10
l1t::stage2::IntermediateMuonUnpacker::nWords_
static constexpr unsigned nWords_
Definition:
IntermediateMuonUnpacker.h:18
makePileupJSON.bx
tuple bx
Definition:
makePileupJSON.py:40
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.5