Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lardata
lardata
DetectorInfoServices
LArPropertiesServiceStandard.cc
Go to the documentation of this file.
1
#include "
lardata/DetectorInfoServices/LArPropertiesServiceStandard.h
"
2
3
#include "art/Framework/Principal/Run.h"
4
5
//------------------------------------------------
6
/// \todo these values should eventually come from a database
7
//-----------------------------------------------
8
detinfo::LArPropertiesServiceStandard::LArPropertiesServiceStandard
(
Parameters
const
& config,
9
art::ActivityRegistry& reg)
10
: fProp{config.get_PSet()}
11
{
12
reg.sPreBeginRun.watch(
this
, &
LArPropertiesServiceStandard::preBeginRun
);
13
}
14
15
//----------------------------------------------
16
void
17
detinfo::LArPropertiesServiceStandard::preBeginRun
(art::Run
const
& run)
18
{
19
fProp.Update(run.run());
20
}
21
detinfo::LArPropertiesServiceStandard::LArPropertiesServiceStandard
LArPropertiesServiceStandard(Parameters const ¶ms, art::ActivityRegistry ®)
Definition:
LArPropertiesServiceStandard.cc:8
detinfo::LArPropertiesServiceStandard::preBeginRun
void preBeginRun(art::Run const &run)
Definition:
LArPropertiesServiceStandard.cc:17
detinfo::LArPropertiesServiceStandard::Parameters
art::ServiceTable< detinfo::LArPropertiesStandard::ConfigurationParameters_t > Parameters
Definition:
LArPropertiesServiceStandard.h:26
LArPropertiesServiceStandard.h
Generated by
1.8.5