CMS 3D CMS Logo

IntermediateMuonUnpacker.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_stage2_IntermediateMuonUnpacker_h
2 #define EventFilter_L1TRawToDigi_stage2_IntermediateMuonUnpacker_h
3 
5 #include <map>
7 
8 namespace l1t {
9  namespace stage2 {
11  public:
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 
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::coll1Cnt_
unsigned int coll1Cnt_
Definition: IntermediateMuonUnpacker.h:23
l1t::stage2::IntermediateMuonUnpacker::res2_
MuonBxCollection * res2_
Definition: IntermediateMuonUnpacker.h:22
l1t::stage2::IntermediateMuonUnpacker::~IntermediateMuonUnpacker
~IntermediateMuonUnpacker() override
Definition: IntermediateMuonUnpacker.h:13
Muon.h
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
l1t::stage2::IntermediateMuonUnpacker
Definition: IntermediateMuonUnpacker.h:10
BXVector
Definition: BXVector.h:15
l1t::stage2::IntermediateMuonUnpacker::res1_
MuonBxCollection * res1_
Definition: IntermediateMuonUnpacker.h:21
jets_cff.payload
payload
Definition: jets_cff.py:32
l1t::stage2::IntermediateMuonUnpacker::unpack
bool unpack(const Block &block, UnpackerCollections *coll) override
Definition: IntermediateMuonUnpacker.cc:14
l1t::Unpacker
Definition: Unpacker.h:11
l1t
delete x;
Definition: CaloConfig.h:22
groupFilesInBlocks.block
block
Definition: groupFilesInBlocks.py:150
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
l1t::stage2::IntermediateMuonUnpacker::nWords_
static constexpr unsigned nWords_
Definition: IntermediateMuonUnpacker.h:18
Unpacker.h
l1t::stage2::IntermediateMuonUnpacker::IntermediateMuonUnpacker
IntermediateMuonUnpacker()
Definition: IntermediateMuonUnpacker.cc:12
l1t::UnpackerCollections
Definition: UnpackerCollections.h:9
l1t::Block
Definition: Block.h:70
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::bxzs_enable_shift_
static constexpr unsigned bxzs_enable_shift_
Definition: IntermediateMuonUnpacker.h:19