4 #include "DataFormats/TestObjects/interface/ToyProducts.h" 18 offset_(iPSet.getParameter<unsigned
int>(
"offset")),
23 registerTransformAsync(
30 ret.thread_ = std::make_shared<std::thread>([iTask] { usleep(100000); });
31 ret.value_ = IntProduct(iFrom.value +
offset);
34 [](
auto const& iFrom) {
35 iFrom.thread_->join();
49 pset.add<
unsigned int>(
"offset", 0);
50 pset.add<
unsigned int>(
"transformOffset", 1);
51 pset.addUntracked<
bool>(
"checkTransformNotCalled",
false);
52 pset.add<
bool>(
"noPut",
false);
ret
prodAgent to be discontinued
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)