CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Unpacker.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_Unpacker_h
2 #define EventFilter_L1TRawToDigi_Unpacker_h
3 
5 
6 namespace l1t {
7  class UnpackerCollections;
8 
9  void getBXRange(int nbx, int& first, int& last);
10 
11  class Unpacker {
12  public:
14  virtual ~Unpacker() = default;
15  virtual bool unpack(const Block& block, UnpackerCollections* coll) = 0;
16 
17  // Modeled on plugins/implementations_stage2/MuonUnpacker.h
18  inline unsigned int getAlgoVersion() { return algoVersion_; };
19  inline void setAlgoVersion(const unsigned int version) { algoVersion_ = version; };
20 
21  private:
22  unsigned int algoVersion_;
23  };
24 } // namespace l1t
25 
26 #endif
unsigned int getAlgoVersion()
Definition: Unpacker.h:18
void getBXRange(int nbx, int &first, int &last)
virtual bool unpack(const Block &block, UnpackerCollections *coll)=0
unsigned int algoVersion_
Definition: Unpacker.h:19
virtual ~Unpacker()=default
void setAlgoVersion(const unsigned int version)
Definition: Unpacker.h:19
tuple last
Definition: dqmdumpme.py:56