23 class TH1DataProducer;
35 std::unique_ptr<arttest::TH1Data>
data_{std::make_unique<arttest::TH1Data>()};
41 data_->data = TH1D(
"name",
"title", 101, -.5, 100.5);
42 produces<arttest::TH1Data, art::InRun>();
EventNumber_t event() const
void beginRun(art::Run &r) override
void produce(art::Event &e) override
TH1DataProducer(fhicl::ParameterSet const &p)
constexpr auto runFragment()
#define DEFINE_ART_MODULE(klass)
void endRun(art::Run &r) override
std::unique_ptr< arttest::TH1Data > data_
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)