EventFilter
L1TRawToDigi
plugins
implementations_stage2
BMTFPackerInputs.h
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/Event.h
"
2
3
#include "
EventFilter/L1TRawToDigi/interface/Packer.h
"
4
#include "
EventFilter/L1TRawToDigi/plugins/PackerFactory.h
"
5
6
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h
"
7
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h
"
8
9
#include "
BMTFTokens.h
"
10
11
namespace
l1t
{
12
namespace
stage2
{
13
class
BMTFPackerInputs
:
public
Packer
{
14
public
:
15
Blocks
pack
(
const
edm::Event
&,
const
PackerTokens
*)
override
;
16
17
private
:
18
std::map<unsigned int, std::vector<uint32_t> >
payloadMap_
;
19
20
uint32_t
wordPhMaker
(
const
L1MuDTChambPhDigi
& phInput);
21
uint32_t
wordThMaker
(
const
L1MuDTChambThDigi
& thInput,
const
bool
& qualFlag);
22
23
static
const
unsigned
int
phiMask
= 0xFFF;
24
static
const
unsigned
int
phiShift
= 0;
25
static
const
unsigned
int
phiBMask
= 0x3FF;
26
static
const
unsigned
int
phiBShift
= 12;
27
static
const
unsigned
int
qualMask
= 0x7;
28
static
const
unsigned
int
qualShift
= 22;
29
static
const
unsigned
int
rpcMask
= 0x1;
30
static
const
unsigned
int
rpcShift
= 26;
31
static
const
unsigned
int
bxCntMask
= 0x3;
32
static
const
unsigned
int
bxCntShift
= 30;
33
34
static
const
int
ownLinks_
[];
35
};
36
}
// namespace stage2
37
}
// namespace l1t
l1t::Blocks
std::vector< Block > Blocks
Definition:
Block.h:99
PackerFactory.h
BMTFTokens.h
l1t::stage2::BMTFPackerInputs
Definition:
BMTFPackerInputs.h:13
L1MuDTChambThContainer.h
l1t::stage2::BMTFPackerInputs::ownLinks_
static const int ownLinks_[]
Definition:
BMTFPackerInputs.h:34
l1t::stage2::BMTFPackerInputs::qualShift
static const unsigned int qualShift
Definition:
BMTFPackerInputs.h:28
l1t::stage2::BMTFPackerInputs::bxCntMask
static const unsigned int bxCntMask
Definition:
BMTFPackerInputs.h:31
Event.h
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::stage2::BMTFPackerInputs::phiBShift
static const unsigned int phiBShift
Definition:
BMTFPackerInputs.h:26
l1t::stage2::BMTFPackerInputs::phiBMask
static const unsigned int phiBMask
Definition:
BMTFPackerInputs.h:25
l1t::stage2::BMTFPackerInputs::phiMask
static const unsigned int phiMask
Definition:
BMTFPackerInputs.h:23
l1t::stage2::BMTFPackerInputs::bxCntShift
static const unsigned int bxCntShift
Definition:
BMTFPackerInputs.h:32
l1t::stage2::BMTFPackerInputs::payloadMap_
std::map< unsigned int, std::vector< uint32_t > > payloadMap_
Definition:
BMTFPackerInputs.h:18
L1MuDTChambPhContainer.h
l1t::PackerTokens
Definition:
PackerTokens.h:10
SiStripSourceConfigTier0_cff.stage2
stage2
Definition:
SiStripSourceConfigTier0_cff.py:71
Packer.h
l1t::stage2::BMTFPackerInputs::rpcShift
static const unsigned int rpcShift
Definition:
BMTFPackerInputs.h:30
L1MuDTChambThDigi
Definition:
L1MuDTChambThDigi.h:33
l1t::stage2::BMTFPackerInputs::phiShift
static const unsigned int phiShift
Definition:
BMTFPackerInputs.h:24
l1t::stage2::BMTFPackerInputs::pack
Blocks pack(const edm::Event &, const PackerTokens *) override
Definition:
BMTFPackerInputs.cc:11
l1t::stage2::BMTFPackerInputs::wordPhMaker
uint32_t wordPhMaker(const L1MuDTChambPhDigi &phInput)
Definition:
BMTFPackerInputs.cc:299
l1t::stage2::BMTFPackerInputs::wordThMaker
uint32_t wordThMaker(const L1MuDTChambThDigi &thInput, const bool &qualFlag)
Definition:
BMTFPackerInputs.cc:310
l1t::stage2::BMTFPackerInputs::qualMask
static const unsigned int qualMask
Definition:
BMTFPackerInputs.h:27
edm::Event
Definition:
Event.h:73
l1t::stage2::BMTFPackerInputs::rpcMask
static const unsigned int rpcMask
Definition:
BMTFPackerInputs.h:29
L1MuDTChambPhDigi
Definition:
L1MuDTChambPhDigi.h:31
l1t::Packer
Definition:
Packer.h:14
Generated for CMSSW Reference Manual by
1.8.16