LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SpaceChargeServiceStandard.cc
Go to the documentation of this file.
1
// \file SpaceChargeStandard.cxx
3
//
4
// \brief implementation of class for storing/accessing space charge distortions
5
//
6
// \author mrmooney@bnl.gov
7
//
9
10
// C++ language includes
11
12
// LArSoft includes
13
#include "
larevt/SpaceChargeServices/SpaceChargeServiceStandard.h
"
14
15
// Framework includes
16
#include "
art/Framework/Principal/Run.h
"
// for Run
17
#include "
art/Framework/Services/Registry/ActivityRegistry.h
"
18
#include "
art/Framework/Services/Registry/GlobalSignal.h
"
19
#include "
canvas/Persistency/Provenance/RunID.h
"
20
#include "
fhiclcpp/ParameterSet.h
"
21
22
//-----------------------------------------------
23
spacecharge::SpaceChargeServiceStandard::SpaceChargeServiceStandard
(
fhicl::ParameterSet
const
& pset,
24
art::ActivityRegistry
& reg)
25
: fProp{pset}
26
{
27
reg.sPreBeginRun.watch(
this
, &
SpaceChargeServiceStandard::preBeginRun
);
28
}
29
30
//----------------------------------------------
31
void
spacecharge::SpaceChargeServiceStandard::preBeginRun
(
const
art::Run
& run)
32
{
33
fProp
.
Update
(run.
run
());
34
}
35
36
//------------------------------------------------
37
void
spacecharge::SpaceChargeServiceStandard::reconfigure
(
fhicl::ParameterSet
const
& pset)
38
{
39
fProp
.
Configure
(pset);
40
}
spacecharge::SpaceChargeServiceStandard::fProp
spacecharge::SpaceChargeStandard fProp
Definition:
SpaceChargeServiceStandard.h:40
spacecharge::SpaceChargeServiceStandard::reconfigure
void reconfigure(fhicl::ParameterSet const &pset)
Definition:
SpaceChargeServiceStandard.cc:37
SpaceChargeServiceStandard.h
RunID.h
art::Run::run
RunNumber_t run() const
Definition:
Run.cc:27
art::Run
Definition:
Run.h:37
ParameterSet.h
spacecharge::SpaceChargeStandard::Update
bool Update(uint64_t ts=0)
Definition:
SpaceChargeStandard.cxx:149
spacecharge::SpaceChargeServiceStandard::SpaceChargeServiceStandard
SpaceChargeServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Definition:
SpaceChargeServiceStandard.cc:23
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
spacecharge::SpaceChargeServiceStandard::preBeginRun
void preBeginRun(const art::Run &run)
Definition:
SpaceChargeServiceStandard.cc:31
Run.h
spacecharge::SpaceChargeStandard::Configure
bool Configure(fhicl::ParameterSet const &pset)
Definition:
SpaceChargeStandard.cxx:32
GlobalSignal.h
fhicl::ParameterSet
Definition:
ParameterSet.h:36
larevt
v09_10_03
source
larevt
SpaceChargeServices
SpaceChargeServiceStandard.cc
Generated on Thu May 2 2024 20:59:39 for LArSoft by
1.8.11