LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
MFConfig.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
7 
8 #include <string>
9 
10 using namespace std;
11 
12 namespace mf {
13 
14  MFConfig::Config::~Config() {}
15 
16  MFConfig::Config::Config()
17  : debugModules{fhicl::Name{"debugModules"},
19  "The 'debugModules' parameter is a sequence of strings.\n"
20  "Ignored. Accepted for backwards-compatibility only."s},
22  , suppressDebug{fhicl::Name{"suppressDebug"},
24  "The 'suppressDebug' parameter is a sequence of "
25  "strings.\n"
26  "Ignored. Accepted for backwards-compatibility only."s},
28  , suppressInfo{fhicl::Name{"suppressInfo"},
30  "The 'suppressInfo' parameter is a sequence of strings.\n"
31  "Ignored. Accepted for backwards-compatibility only."s},
33  , suppressWarning{fhicl::Name{"suppressWarning"},
35  "The 'suppressWarning' parameter is a sequence of "
36  "strings.\n"
37  "Ignored. Accepted for backwards-compatibility only."s},
39  , destinations{}
40  {}
41 
43 
45 
47 
49  : destinations{
50  fhicl::Name{"destinations"},
52  R"(The 'destinations' parameter represents a FHiCL table of named
53 destinations, each of which are configured to specify how messages
54 are logged to a given target. It has the general form of:
55 
56  destinations: {
57  // Ordinary destinations
58  dest1 : {...}
59  dest2 : {...}
60  ...
61  statistics: { // optional
62  // Statistics destinations
63  stat1: {...}
64  ...
65  }
66  }
67 
68 For a listing of allowed ordinary destinations, type:
69 
70  art --print-available mfPlugin
71 
72 The allowed configuration for a given destination type can be printed
73 by specifying:
74 
75  art --print-description mfPlugin:<destination type>
76 
77 It is permitted to specify an ordinary destination called
78 'statistics'. The 'statistics' destination is a FHiCL table that has
79 named statistics destinations, which can be used to encapsulate the
80 configuration related to statistics-tracking of messages logged to a
81 each ordinary destination. To print out the allowed statistics
82 destinations and the allowed configuration corresponding to a given
83 statistics destination, replace the 'mfPlugin' specification with
84 'mfStatsPlugin'.
85 
86 If a value for 'destinations' is not supplied, one will be provided for you.)"}}
87  {}
88 
89 } // namespace mf
fhicl::Sequence< std::string > suppressDebug
Definition: MFConfig.h:48
Float_t s
Definition: plot.C:23
fhicl::TableFragment< MFDestinationConfig::Config > destinations
Definition: MFConfig.h:53
fhicl::Sequence< std::string > suppressWarning
Definition: MFConfig.h:52
STL namespace.
fhicl::Sequence< std::string > suppressInfo
Definition: MFConfig.h:50