LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
artg4tk::DummyService Class Reference

#include "Dummy_service.hh"

Public Member Functions

 DummyService (fhicl::ParameterSet const &)
 
 ~DummyService ()
 
void notifyArtOfProduction (art::ProducesCollector &prod)
 

Detailed Description

Definition at line 11 of file Dummy_service.hh.

Constructor & Destructor Documentation

artg4tk::DummyService::DummyService ( fhicl::ParameterSet const &  )

Definition at line 9 of file Dummy.cc.

10 {
11  std::cout << "DummyService has been constructed!" << std::endl;
12 }
artg4tk::DummyService::~DummyService ( )

Definition at line 15 of file Dummy.cc.

15 {}

Member Function Documentation

void artg4tk::DummyService::notifyArtOfProduction ( art::ProducesCollector prod)

Definition at line 18 of file Dummy.cc.

References art::ProducesCollector::produces().

19 {
20  mf::LogDebug("DummyService") << "running produces<int>()...";
21  prod.produces<int>();
22  mf::LogDebug("DummyService") << "done!";
23 }
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
MaybeLogger_< ELseverityLevel::ELsev_success, false > LogDebug

The documentation for this class was generated from the following files: