LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::ProcessConfiguration Struct Reference

#include "ProcessConfiguration.h"

Public Member Functions

 ProcessConfiguration ()=default
 
 ProcessConfiguration (std::string const &procName, fhicl::ParameterSetID const &pSetID, ReleaseVersion const &relVersion)
 
std::string const & processName () const
 
fhicl::ParameterSetID const & parameterSetID () const
 
ReleaseVersion const & releaseVersion () const
 
ProcessConfigurationID id () const
 

Public Attributes

std::string processName_ {}
 
fhicl::ParameterSetID parameterSetID_ {}
 
ReleaseVersion releaseVersion_ {}
 

Detailed Description

Definition at line 18 of file ProcessConfiguration.h.

Constructor & Destructor Documentation

art::ProcessConfiguration::ProcessConfiguration ( )
default
art::ProcessConfiguration::ProcessConfiguration ( std::string const &  procName,
fhicl::ParameterSetID const &  pSetID,
ReleaseVersion const &  relVersion 
)
inline

Definition at line 21 of file ProcessConfiguration.h.

References parameterSetID_, and releaseVersion_.

24  : processName_{procName}
25  , parameterSetID_{pSetID}
26  , releaseVersion_{relVersion}
27  {}
fhicl::ParameterSetID parameterSetID_

Member Function Documentation

ProcessConfigurationID art::ProcessConfiguration::id ( ) const

Definition at line 11 of file ProcessConfiguration.cc.

Referenced by art::EventProcessor::EventProcessor(), art::ModuleDescription::processConfigurationID(), and releaseVersion().

12  {
13  // This implementation is ripe for optimization.
14  std::ostringstream oss;
15  oss << *this;
16  std::string stringrep = oss.str();
17  cet::MD5Digest md5alg(stringrep);
18  return ProcessConfigurationID(md5alg.digest().toString());
19  }
Hash< ProcessConfigurationType > ProcessConfigurationID
fhicl::ParameterSetID const& art::ProcessConfiguration::parameterSetID ( ) const
inline

Definition at line 35 of file ProcessConfiguration.h.

References parameterSetID_.

Referenced by art::Event::getProcessParameterSet(), and art::ModuleDescription::mainParameterSetID().

36  {
37  return parameterSetID_;
38  }
fhicl::ParameterSetID parameterSetID_
std::string const& art::ProcessConfiguration::processName ( ) const
inline
ReleaseVersion const& art::ProcessConfiguration::releaseVersion ( ) const
inline

Definition at line 40 of file ProcessConfiguration.h.

References id(), and releaseVersion_.

Referenced by art::ModuleDescription::releaseVersion().

41  {
42  return releaseVersion_;
43  }

Member Data Documentation

fhicl::ParameterSetID art::ProcessConfiguration::parameterSetID_ {}
std::string art::ProcessConfiguration::processName_ {}
ReleaseVersion art::ProcessConfiguration::releaseVersion_ {}

The documentation for this struct was generated from the following files: