CMS 3D CMS Logo

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
Block.h
l1t::Unpacker::setAlgoVersion
void setAlgoVersion(const unsigned int version)
Definition: Unpacker.h:19
dqmdumpme.last
last
Definition: dqmdumpme.py:56
l1t::Unpacker
Definition: Unpacker.h:11
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
l1t::Unpacker::unpack
virtual bool unpack(const Block &block, UnpackerCollections *coll)=0
l1t
delete x;
Definition: CaloConfig.h:22
l1t::Unpacker::algoVersion_
unsigned int algoVersion_
Definition: Unpacker.h:19
groupFilesInBlocks.block
block
Definition: groupFilesInBlocks.py:150
l1t::UnpackerCollections
Definition: UnpackerCollections.h:9
l1t::Unpacker::Unpacker
Unpacker()
Definition: Unpacker.h:13
l1t::getBXRange
void getBXRange(int nbx, int &first, int &last)
Definition: UnpackerFactory.cc:12
l1t::Block
Definition: Block.h:70
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
l1t::Unpacker::getAlgoVersion
unsigned int getAlgoVersion()
Definition: Unpacker.h:18
l1t::Unpacker::~Unpacker
virtual ~Unpacker()=default