Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:36:15

0001 #ifndef L1T_PACKER_STAGE2_GTSETUP_H
0002 #define L1T_PACKER_STAGE2_GTSETUP_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 "GTCollections.h"
0011 #include "GTTokens.h"
0012 
0013 namespace l1t {
0014   namespace stage2 {
0015 
0016     namespace zdc {
0017       extern const unsigned int nOutputFramePerBX;
0018     }  // namespace zdc
0019 
0020     class GTSetup : public PackingSetup {
0021     public:
0022       ~GTSetup() override {}
0023       std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
0024       void fillDescription(edm::ParameterSetDescription& desc) override;
0025       PackerMap getPackers(int fed, unsigned int fw) override;
0026       void registerProducts(edm::ProducesCollector) override;
0027       std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
0028       UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
0029     };
0030   }  // namespace stage2
0031 }  // namespace l1t
0032 
0033 #endif