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"
8 #include "UCTCTP7RawData5BX.h"
10 
11 namespace l1t {
12  namespace stage2 {
13  class CaloLayer1Unpacker : public Unpacker {
14  public:
15  bool unpack(const Block& block, UnpackerCollections* coll) override;
16 
17  private:
18  void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, EcalTrigPrimDigiCollection* ecalTPGs);
19  void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, HcalTrigPrimDigiCollection* hcalTPGs);
20  void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, HcalTrigPrimDigiCollection* hcalTPGs);
21  void makeRegions(uint32_t lPhi, UCTCTP7RawData& ctp7Data, L1CaloRegionCollection* regions);
22  void makeECalTPGs_HCALFB(uint32_t lPhi,
23  UCTCTP7RawData_HCALFB& ctp7Data_HCALFB,
24  EcalTrigPrimDigiCollection* ecalTPGs);
25  void makeHCalTPGs_HCALFB(uint32_t lPhi,
26  UCTCTP7RawData_HCALFB& ctp7Data_HCALFB,
27  HcalTrigPrimDigiCollection* hcalTPGs);
28  void makeHFTPGs_HCALFB(uint32_t lPhi,
29  UCTCTP7RawData_HCALFB& ctp7Data_HCALFB,
30  HcalTrigPrimDigiCollection* hcalTPGs);
31  void makeRegions_HCALFB(uint32_t lPhi, UCTCTP7RawData_HCALFB& ctp7Data_HCALFB, L1CaloRegionCollection* regions);
32  void makeECalTPGs5BX(uint32_t lPhi,
33  UCTCTP7RawData5BX& ctp7Data5BX,
35  uint32_t BX_n);
36  void makeHCalTPGs5BX(uint32_t lPhi,
37  UCTCTP7RawData5BX& ctp7Data5BX,
39  uint32_t BX_n);
40  void makeHFTPGs5BX(uint32_t lPhi,
41  UCTCTP7RawData5BX& ctp7Data5BX,
43  uint32_t BX_n);
44  void makeRegions5BX(uint32_t lPhi, UCTCTP7RawData5BX& ctp7Data5BX, L1CaloRegionCollection* regions, uint32_t BX_n);
45  void makeECalTPGs5BX_HCALFB(uint32_t lPhi,
46  UCTCTP7RawData5BX_HCALFB& ctp7Data5BX_HCALFB,
48  uint32_t BX_n);
49  void makeHCalTPGs5BX_HCALFB(uint32_t lPhi,
50  UCTCTP7RawData5BX_HCALFB& ctp7Data5BX_HCALFB,
52  uint32_t BX_n);
53  void makeHFTPGs5BX_HCALFB(uint32_t lPhi,
54  UCTCTP7RawData5BX_HCALFB& ctp7Data5BX_HCALFB,
56  uint32_t BX_n);
57  void makeRegions5BX_HCALFB(uint32_t lPhi,
58  UCTCTP7RawData5BX_HCALFB& ctp7Data5BX_HCALFB,
60  uint32_t BX_n);
61  };
62  } // namespace stage2
63 } // namespace l1t
64 
65 #endif
void makeRegions(uint32_t lPhi, UCTCTP7RawData &ctp7Data, L1CaloRegionCollection *regions)
void makeHCalTPGs5BX(uint32_t lPhi, UCTCTP7RawData5BX &ctp7Data5BX, HcalTrigPrimDigiCollection *hcalTPGs, uint32_t BX_n)
void makeHFTPGs_HCALFB(uint32_t lPhi, UCTCTP7RawData_HCALFB &ctp7Data_HCALFB, HcalTrigPrimDigiCollection *hcalTPGs)
void makeHFTPGs5BX_HCALFB(uint32_t lPhi, UCTCTP7RawData5BX_HCALFB &ctp7Data5BX_HCALFB, 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 makeHCalTPGs_HCALFB(uint32_t lPhi, UCTCTP7RawData_HCALFB &ctp7Data_HCALFB, HcalTrigPrimDigiCollection *hcalTPGs)
void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, HcalTrigPrimDigiCollection *hcalTPGs)
void makeECalTPGs5BX_HCALFB(uint32_t lPhi, UCTCTP7RawData5BX_HCALFB &ctp7Data5BX_HCALFB, EcalTrigPrimDigiCollection *ecalTPGs, uint32_t BX_n)
void makeECalTPGs_HCALFB(uint32_t lPhi, UCTCTP7RawData_HCALFB &ctp7Data_HCALFB, EcalTrigPrimDigiCollection *ecalTPGs)
bool unpack(const Block &block, UnpackerCollections *coll) override
void makeRegions_HCALFB(uint32_t lPhi, UCTCTP7RawData_HCALFB &ctp7Data_HCALFB, L1CaloRegionCollection *regions)
void makeHCalTPGs5BX_HCALFB(uint32_t lPhi, UCTCTP7RawData5BX_HCALFB &ctp7Data5BX_HCALFB, HcalTrigPrimDigiCollection *hcalTPGs, uint32_t BX_n)
void makeRegions5BX_HCALFB(uint32_t lPhi, UCTCTP7RawData5BX_HCALFB &ctp7Data5BX_HCALFB, L1CaloRegionCollection *regions, uint32_t BX_n)
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)