ModuleDescription.h
Go to the documentation of this file.
1 #ifndef art_Persistency_Provenance_ModuleDescription_h
2 #define art_Persistency_Provenance_ModuleDescription_h
3 // vim: set sw=2 expandtab :
4 
9 #include <iosfwd>
10 #include <string>
11 
12 namespace art {
13 
15  public:
17  explicit ModuleDescription();
19  std::string const& modName,
20  std::string const& modLabel,
23  bool isEmulated = false);
24 
25  void write(std::ostream& os) const;
26 
28  std::string const& moduleName() const;
29  std::string const& moduleLabel() const;
30  bool isEmulatedModule() const;
31 
33 
36  std::string const& processName() const;
37  std::string const& releaseVersion() const;
39 
40  bool operator<(ModuleDescription const& rh) const;
41  bool operator==(ModuleDescription const& rh) const;
42  bool operator!=(ModuleDescription const& rh) const;
43 
44  private:
45  // Properties of the product creator
47  std::string moduleName_{}; // class name
50  bool isEmulated_{false};
51 
52  // Process-wide configuration
55  ReleaseVersion{}};
56  };
57 
58  std::ostream& operator<<(std::ostream& os, ModuleDescription const& p);
59 
60 } // namespace art
61 
62 #endif /* art_Persistency_Provenance_ModuleDescription_h */
63 
64 // Local Variables:
65 // mode: c++
66 // End:
fhicl::ParameterSetID const & mainParameterSetID() const
TH2 * rh
Definition: drawXsec.C:5
const char * p
Definition: xmltok.h:285
bool operator<(ModuleDescription const &rh) const
ModuleThreadingType moduleThreadingType_
bool operator==(ModuleDescription const &rh) const
std::string ReleaseVersion
Definition: ReleaseVersion.h:6
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
std::string const & releaseVersion() const
std::string const & moduleName() const
bool isEmulatedModule() const
fhicl::ParameterSetID const & parameterSetID() const
std::string const & processName() const
std::string const & moduleLabel() const
ModuleThreadingType moduleThreadingType() const
ModuleThreadingType
Definition: ModuleType.h:19
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8
ProcessConfiguration processConfiguration_
ProcessConfigurationID const processConfigurationID() const
fhicl::ParameterSetID parameterSetID_
void write(std::ostream &os) const
bool operator!=(ModuleDescription const &rh) const
ProcessConfiguration const & processConfiguration() const
Definition: Hash.h:34
enum BeamMode string