CMS 3D CMS Logo

CaloLayer1Unpacker.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_LAYER1UNPACKER_H
2 #define L1T_PACKER_STAGE2_LAYER1UNPACKER_H
3 
6 #include "UCTCTP7RawData.h"
7 #include "UCTCTP7RawData5BX.h"
8 
9 namespace l1t {
10  namespace stage2 {
11  class CaloLayer1Unpacker : public Unpacker {
12  public:
13  bool unpack(const Block& block, UnpackerCollections* coll) override;
14 
15  private:
16  void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, EcalTrigPrimDigiCollection* ecalTPGs);
17  void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, HcalTrigPrimDigiCollection* hcalTPGs);
18  void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, HcalTrigPrimDigiCollection* hcalTPGs);
19  void makeRegions(uint32_t lPhi, UCTCTP7RawData& ctp7Data, L1CaloRegionCollection* regions);
20  void makeECalTPGs5BX(uint32_t lPhi,
21  UCTCTP7RawData5BX& ctp7Data5BX,
23  uint32_t BX_n);
24  void makeHCalTPGs5BX(uint32_t lPhi,
25  UCTCTP7RawData5BX& ctp7Data5BX,
27  uint32_t BX_n);
28  void makeHFTPGs5BX(uint32_t lPhi,
29  UCTCTP7RawData5BX& ctp7Data5BX,
31  uint32_t BX_n);
32  void makeRegions5BX(uint32_t lPhi, UCTCTP7RawData5BX& ctp7Data5BX, L1CaloRegionCollection* regions, uint32_t BX_n);
33  };
34  } // namespace stage2
35 } // namespace l1t
36 
37 #endif
void makeRegions(uint32_t lPhi, UCTCTP7RawData &ctp7Data, L1CaloRegionCollection *regions)
void makeHCalTPGs5BX(uint32_t lPhi, UCTCTP7RawData5BX &ctp7Data5BX, HcalTrigPrimDigiCollection *hcalTPGs, uint32_t BX_n)
void makeHFTPGs5BX(uint32_t lPhi, UCTCTP7RawData5BX &ctp7Data5BX, HcalTrigPrimDigiCollection *hcalTPGs, uint32_t BX_n)
delete x;
Definition: CaloConfig.h:22
void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, HcalTrigPrimDigiCollection *hcalTPGs)
bool unpack(const Block &block, UnpackerCollections *coll) override
void makeECalTPGs5BX(uint32_t lPhi, UCTCTP7RawData5BX &ctp7Data5BX, EcalTrigPrimDigiCollection *ecalTPGs, uint32_t BX_n)
void makeRegions5BX(uint32_t lPhi, UCTCTP7RawData5BX &ctp7Data5BX, L1CaloRegionCollection *regions, uint32_t BX_n)
std::vector< L1CaloRegion > L1CaloRegionCollection
void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, EcalTrigPrimDigiCollection *ecalTPGs)
void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, HcalTrigPrimDigiCollection *hcalTPGs)