CMS 3D CMS Logo

CaloLayer1Packer.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_CALOLAYER1PACKER_H
2 #define L1T_PACKER_STAGE2_CALOLAYER1PACKER_H
3 
5 #include "CaloLayer1Tokens.h"
6 #include "UCTCTP7RawData.h"
7 
8 namespace l1t {
9  namespace stage2 {
10  class CaloLayer1Packer : public Packer {
11  public:
12  Blocks pack(const edm::Event&, const PackerTokens*) override;
13 
14  private:
15  void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const EcalTrigPrimDigiCollection* ecalTPGs);
16  void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const HcalTrigPrimDigiCollection* hcalTPGs);
17  void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const HcalTrigPrimDigiCollection* hcalTPGs);
18  void makeRegions(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const L1CaloRegionCollection* regions);
19  };
20  } // namespace stage2
21 } // namespace l1t
22 
23 #endif
void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, const HcalTrigPrimDigiCollection *hcalTPGs)
delete x;
Definition: CaloConfig.h:22
void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, const EcalTrigPrimDigiCollection *ecalTPGs)
std::vector< Block > Blocks
Definition: Block.h:99
Blocks pack(const edm::Event &, const PackerTokens *) override
void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, const HcalTrigPrimDigiCollection *hcalTPGs)
void makeRegions(uint32_t lPhi, UCTCTP7RawData &ctp7Data, const L1CaloRegionCollection *regions)
std::vector< L1CaloRegion > L1CaloRegionCollection