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 
6 namespace l1t {
7  namespace stage2 {
9  public:
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 
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
void unpackBx(int bx, const std::vector< uint32_t > &payload, unsigned int startIdx=0)
delete x;
Definition: CaloConfig.h:22
#define constexpr
void setAlgoVersion(const unsigned int version)
bool unpack(const Block &block, UnpackerCollections *coll) override
JetCorrectorParametersCollection coll
Definition: classes.h:10