LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ProducingService.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_ProducingService_h
2 #define art_Framework_Core_ProducingService_h
3 
9 
10 namespace art {
11 
12  class ProducingServiceSignals;
13 
15  public:
16  static constexpr bool service_handle_allowed{false};
17 
18  virtual ~ProducingService() noexcept;
19 
22 
24 
26 
27  private:
28  void doPostReadRun(RunPrincipal& rp);
31 
32  virtual void postReadRun(Run& r);
33  virtual void postReadSubRun(SubRun& sr);
34  virtual void postReadEvent(Event& e);
35 
37  };
38 }
39 
40 #define DEFINE_ART_PRODUCING_SERVICE(klass) \
41  DECLARE_ART_SERVICE(klass, LEGACY) \
42  DEFINE_ART_SERVICE(klass)
43 
44 #endif /* art_Framework_Core_ProducingService_h */
45 
46 // Local Variables:
47 // mode: c++
48 // End:
void registerProducts(MasterProductRegistry &mpr, ProductDescriptions &productsToRegister, ModuleDescription const &md)
virtual void postReadSubRun(SubRun &sr)
virtual ~ProducingService() noexcept
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
static constexpr bool service_handle_allowed
virtual void postReadEvent(Event &e)
Definition: Run.h:30
void doPostReadSubRun(SubRunPrincipal &srp)
void setModuleDescription(ModuleDescription const &md)
void doPostReadEvent(EventPrincipal &ep)
ModuleDescription md_
HLT enums.
void registerCallbacks(ProducingServiceSignals &)
virtual void postReadRun(Run &r)
Float_t e
Definition: plot.C:34
void doPostReadRun(RunPrincipal &rp)