File indexing completed on 2024-04-06 12:10:49
0001 #ifndef L1T_PACKER_STAGE2_CALOSETUP_H
0002 #define L1T_PACKER_STAGE2_CALOSETUP_H
0003
0004 #include "EventFilter/L1TRawToDigi/interface/Packer.h"
0005 #include "EventFilter/L1TRawToDigi/interface/Unpacker.h"
0006
0007 #include "EventFilter/L1TRawToDigi/interface/PackingSetup.h"
0008 #include "FWCore/Framework/interface/ProducesCollector.h"
0009
0010 #include "CaloCollections.h"
0011 #include "CaloTokens.h"
0012
0013 namespace l1t {
0014 namespace stage2 {
0015 class CaloSetup : public PackingSetup {
0016 public:
0017 std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
0018 void fillDescription(edm::ParameterSetDescription& desc) override;
0019 PackerMap getPackers(int fed, unsigned int fw) override;
0020 void registerProducts(edm::ProducesCollector) override;
0021 std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
0022 UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
0023 };
0024 }
0025 }
0026
0027 #endif