LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RunSettings.cc
Go to the documentation of this file.
1
// Common materials used throughout the simulation
2
3
#include "
artg4tk/services/RunSettings_service.hh
"
4
#include "
messagefacility/MessageLogger/MessageLogger.h
"
5
6
artg4tk::RunSettingsService::RunSettingsService
(
fhicl::ParameterSet
const
& p) : p_(p)
7
{
8
mf::LogDebug
(
"RunSettingService"
) <<
"RunSettingsService has been constructed!"
;
9
}
10
11
// Destructor
12
artg4tk::RunSettingsService::~RunSettingsService
() {}
13
14
fhicl::ParameterSet
15
artg4tk::RunSettingsService::getSettings
(std::string
const
& s)
16
{
17
18
fhicl::ParameterSet
p =
p_
.
get
<
fhicl::ParameterSet
>(s,
fhicl::ParameterSet
());
19
return
p;
20
}
artg4tk::RunSettingsService::~RunSettingsService
~RunSettingsService()
Definition:
RunSettings.cc:12
MessageLogger.h
artg4tk::RunSettingsService::getSettings
fhicl::ParameterSet getSettings(std::string const &)
Definition:
RunSettings.cc:15
artg4tk::RunSettingsService::RunSettingsService
RunSettingsService(fhicl::ParameterSet const &)
Definition:
RunSettings.cc:6
fhicl::ParameterSet::get
T get(std::string const &key) const
Definition:
ParameterSet.h:314
RunSettings_service.hh
mf::LogDebug
MaybeLogger_< ELseverityLevel::ELsev_success, false > LogDebug
Definition:
MessageLogger.h:208
artg4tk::RunSettingsService::p_
fhicl::ParameterSet p_
Definition:
RunSettings_service.hh:18
fhicl::ParameterSet
Definition:
ParameterSet.h:36
artg4tk
v12_00_03
source
artg4tk
services
RunSettings.cc
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11