LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
artg4tk::RunSettingsService Class Reference

#include "RunSettings_service.hh"

Public Member Functions

 RunSettingsService (fhicl::ParameterSet const &)
 
 ~RunSettingsService ()
 
fhicl::ParameterSet getSettings (std::string const &)
 

Private Attributes

fhicl::ParameterSet p_
 

Detailed Description

Definition at line 10 of file RunSettings_service.hh.

Constructor & Destructor Documentation

artg4tk::RunSettingsService::RunSettingsService ( fhicl::ParameterSet const &  p)

Definition at line 6 of file RunSettings.cc.

6  : p_(p)
7 {
8  mf::LogDebug("RunSettingService") << "RunSettingsService has been constructed!";
9 }
MaybeLogger_< ELseverityLevel::ELsev_success, false > LogDebug
artg4tk::RunSettingsService::~RunSettingsService ( )

Definition at line 12 of file RunSettings.cc.

12 {}

Member Function Documentation

fhicl::ParameterSet artg4tk::RunSettingsService::getSettings ( std::string const &  s)

Definition at line 15 of file RunSettings.cc.

References fhicl::ParameterSet::get(), and p_.

Referenced by artg4tk::RunSettingsBase::RunSettingsBase().

16 {
17 
19  return p;
20 }
T get(std::string const &key) const
Definition: ParameterSet.h:314

Member Data Documentation

fhicl::ParameterSet artg4tk::RunSettingsService::p_
private

Definition at line 18 of file RunSettings_service.hh.

Referenced by getSettings().


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