LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ProcessConfiguration.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Provenance_ProcessConfiguration_h
2 #define canvas_Persistency_Provenance_ProcessConfiguration_h
3 
4 // ======================================================================
5 //
6 // ProcessConfiguration
7 //
8 // ======================================================================
9 
13 #include <iosfwd>
14 #include <string>
15 
16 namespace art {
17 
19  ProcessConfiguration() = default;
20 
21  ProcessConfiguration(std::string const& procName,
22  fhicl::ParameterSetID const& pSetID,
23  ReleaseVersion const& relVersion)
24  : processName_{procName}
25  , parameterSetID_{pSetID}
26  , releaseVersion_{relVersion}
27  {}
28 
29  std::string const&
30  processName() const
31  {
32  return processName_;
33  }
36  {
37  return parameterSetID_;
38  }
39  ReleaseVersion const&
41  {
42  return releaseVersion_;
43  }
44  ProcessConfigurationID id() const;
45 
46  std::string processName_{};
49  };
50 
51  bool operator<(ProcessConfiguration const& a, ProcessConfiguration const& b);
52 
53  bool operator==(ProcessConfiguration const& a, ProcessConfiguration const& b);
54 
55  inline bool
57  {
58  return !(a == b);
59  }
60 
61  std::ostream& operator<<(std::ostream& os, ProcessConfiguration const& pc);
62 
63 } // art
64 
65  // ======================================================================
66 
67 #endif /* canvas_Persistency_Provenance_ProcessConfiguration_h */
68 
69 // Local Variables:
70 // mode: c++
71 // End:
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
Definition: EDAnalyzer.h:184
ReleaseVersion const & releaseVersion() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
ProcessConfigurationID id() const
bool operator<(ProductInfo const &a, ProductInfo const &b)
Definition: ProductInfo.h:44
std::string ReleaseVersion
Definition: ReleaseVersion.h:6
fhicl::ParameterSetID parameterSetID_
std::string const & processName() const
ProcessConfiguration(std::string const &procName, fhicl::ParameterSetID const &pSetID, ReleaseVersion const &relVersion)
HLT enums.
bool operator==(Provenance const &a, Provenance const &b)
Definition: Provenance.h:168
Definition: Hash.h:32
fhicl::ParameterSetID const & parameterSetID() const