2 #include "DataFormats/TestObjects/interface/ToyProducts.h" 37 for (
auto const&
tag :
pset.getParameter<std::vector<edm::InputTag>>(
"tags")) {
38 m_getTokens.emplace_back(consumes<IntProduct>(
tag));
40 m_tokenForProduce = consumes<IntProduct>(
pset.getParameter<
edm::InputTag>(
"produceTag"));
41 produces<IntProduct>();
50 cache->retrieved().clear();
51 cache->processed().clear();
64 for (
auto v :
cache->processed()) {
67 event.put(std::make_unique<IntProduct>(sum));
~AcquireIntStreamProducer() override
void produce(edm::Event &, edm::EventSetup const &) override
TEMPL(T2) struct Divides void
void acquire(edm::Event const &, edm::EventSetup const &, edm::WaitingTaskWithArenaHolder) override
test_acquire::Token m_token
std::vector< edm::EDGetTokenT< IntProduct > > m_getTokens
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< IntProduct > m_tokenForProduce
AcquireIntStreamProducer(edm::ParameterSet const &pset)