CMS 3D CMS Logo

CaloSummaryUnpacker.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_CaloSummaryUnpacker_H
2 #define L1T_PACKER_STAGE2_CaloSummaryUnpacker_H
3 
5 
6 namespace l1t {
7  namespace stage2 {
8  class CaloSummaryUnpacker : public Unpacker {
9  public:
10  CaloSummaryUnpacker() = default;
11  ~CaloSummaryUnpacker() override = default;
12 
13  bool unpack(const Block& block, UnpackerCollections* coll) override;
14  static constexpr unsigned int nFramesPerEvent =
15  6; //Calo Summary outputs 6 32 bit words (or frames in uGT parlance) per event.
16  static constexpr unsigned int cicadaBitsPattern =
17  0xF0000000; //first 4 bits of the first 4 words/frames are CICADA
18  };
19  } // namespace stage2
20 } // namespace l1t
21 #endif
bool unpack(const Block &block, UnpackerCollections *coll) override
delete x;
Definition: CaloConfig.h:22
static constexpr unsigned int cicadaBitsPattern
~CaloSummaryUnpacker() override=default
static constexpr unsigned int nFramesPerEvent