4 #include "DataFormats/TestObjects/interface/ToyProducts.h" 19 offset_(iPSet.getParameter<unsigned
int>(
"offset")),
24 registerTransformAsync(
32 ret.thread_ = std::make_shared<std::thread>([iTask] { std::this_thread::sleep_for(100ms); });
33 ret.value_ = IntProduct(iFrom.value +
offset);
36 [](
auto const& iFrom) {
37 iFrom.thread_->join();
51 pset.add<
unsigned int>(
"offset", 0);
52 pset.add<
unsigned int>(
"transformOffset", 1);
53 pset.addUntracked<
bool>(
"checkTransformNotCalled",
false);
54 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)