Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:49

0001 #ifndef L1T_PACKER_STAGE2_CALOLAYER1PACKER_H
0002 #define L1T_PACKER_STAGE2_CALOLAYER1PACKER_H
0003 
0004 #include "EventFilter/L1TRawToDigi/interface/Packer.h"
0005 #include "CaloLayer1Tokens.h"
0006 #include "UCTCTP7RawData.h"
0007 
0008 namespace l1t {
0009   namespace stage2 {
0010     class CaloLayer1Packer : public Packer {
0011     public:
0012       Blocks pack(const edm::Event&, const PackerTokens*) override;
0013 
0014     private:
0015       void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const EcalTrigPrimDigiCollection* ecalTPGs);
0016       void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const HcalTrigPrimDigiCollection* hcalTPGs);
0017       void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const HcalTrigPrimDigiCollection* hcalTPGs);
0018       void makeRegions(uint32_t lPhi, UCTCTP7RawData& ctp7Data, const L1CaloRegionCollection* regions);
0019     };
0020   }  // namespace stage2
0021 }  // namespace l1t
0022 
0023 #endif