LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ELstatistics.h
Go to the documentation of this file.
1 #ifndef messagefacility_MessageService_ELstatistics_h
2 #define messagefacility_MessageService_ELstatistics_h
3 // vim: set sw=2 expandtab :
4 
5 #include "cetlib/ostream_handle.h"
9 
10 namespace mf::service {
11 
12  class ELstatistics : public ELdestination {
13  public:
14  struct Config {
16  };
18 
19  ~ELstatistics();
20  ELstatistics(Parameters const&, std::ostream&);
21  ELstatistics(Config const&, cet::ostream_handle&&);
22  ELstatistics(ELstatistics const&) = delete;
23  ELstatistics(ELstatistics&&) = delete;
24  ELstatistics& operator=(ELstatistics const&) = delete;
25  ELstatistics& operator=(ELstatistics&&) = delete;
26 
27  private:
28  void log(mf::ErrorObj&) override;
29 
30  // Called only by MessageLoggerScribe::summarize()
31  // Called only by MessageLogger::LogStatistics()
32  void summary() override;
33 
34  cet::ostream_handle osh_;
35  };
36 
37 } // namespace mf::service
38 
39 #endif /* messagefacility_MessageService_ELstatistics_h */
40 
41 // Local variables:
42 // mode: c++
43 // End:
ELstatistics(Parameters const &, std::ostream &)
Definition: ELstatistics.cc:14
cet::ostream_handle osh_
Definition: ELstatistics.h:34
void log(mf::ErrorObj &) override
Definition: ELstatistics.cc:19
ELstatistics & operator=(ELstatistics const &)=delete
void summary() override
Definition: ELstatistics.cc:48
fhicl::TableFragment< ELdestination::Config > elDestConfig
Definition: ELstatistics.h:15