CMS 3D CMS Logo

TestAlpakaGlobalProducerNoOutput.cc
Go to the documentation of this file.
10 
17  public:
19  : getToken_(consumes(config.getParameter<edm::InputTag>("source"))) {}
20 
21  void produce(edm::StreamID, device::Event& iEvent, device::EventSetup const& iSetup) const override {
22  [[maybe_unused]] auto const& input = iEvent.get(getToken_);
23  }
24 
25  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
27  desc.add("source", edm::InputTag{});
28 
29  descriptions.addWithDefaultLabel(desc);
30  }
31 
32  private:
34  };
35 } // namespace ALPAKA_ACCELERATOR_NAMESPACE
36 
38 DEFINE_FWK_ALPAKA_MODULE(TestAlpakaGlobalProducerNoOutput);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
Definition: config.py:1
const device::EDGetToken< portabletest::TestDeviceCollection > getToken_
static std::string const input
Definition: EdmProvDump.cc:50
int iEvent
Definition: GenABIO.cc:224
void produce(edm::StreamID, device::Event &iEvent, device::EventSetup const &iSetup) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLT enums.
#define DEFINE_FWK_ALPAKA_MODULE(name)
Definition: MakerMacros.h:16