InputSourceDescription.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_InputSourceDescription_h
2 #define art_Framework_Core_InputSourceDescription_h
3 
4 /*----------------------------------------------------------------------
5 
6 InputSourceDescription: This is an "argument pack" structure, used to
7 pass a collection of related arguments to the constructors of InputSources.
8 InputSourceDescriptions should *not* be kept as data members, or stored
9 in any way.
10 
11 InputSourceDescriptions should generally be passed by non-const reference,
12 so that the non-const reference data members can be used correctly.
13 
14 ----------------------------------------------------------------------*/
15 
16 namespace art {
17  class ActivityRegistry;
18  class MasterProductRegistry;
19  class ModuleDescription;
20 
27  bool const parentageEnabled,
28  bool const rangesEnabled);
29 
33  bool const parentageEnabled_{true};
34  bool const rangesEnabled_{true};
35  };
36 
38  ModuleDescription const& md,
40  ActivityRegistry& areg,
41  bool const parentageEnabled,
42  bool const rangesEnabled)
43  : moduleDescription(md)
44  , productRegistry(preg)
45  , activityRegistry(areg)
46  , parentageEnabled_(parentageEnabled)
47  , rangesEnabled_(rangesEnabled)
48  {}
49 
50 } // art
51 
52 #endif /* art_Framework_Core_InputSourceDescription_h */
53 
54 // Local Variables:
55 // mode: c++
56 // End:
MasterProductRegistry & productRegistry
InputSourceDescription(InputSourceDescription const &)=delete
ModuleDescription const & moduleDescription
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8