23 using Parameters = EDProducer::Table<Config>;
24 explicit AssembleProducts(Parameters
const&
config)
25 : EDProducer{config}, particlesTag_{
config().particlesTag()}
27 produces<unsigned, art::InSubRun>(
"seenParticles");
34 auto const& particles =
36 seenParticles_ += particles->size();
42 sr.
put(std::make_unique<unsigned>(seenParticles_),
49 std::atomic<unsigned> seenParticles_{};
#define DEFINE_ART_MODULE(klass)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
constexpr auto subRunFragment()
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)