LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SpaceChargeServiceStandard.h
Go to the documentation of this file.
1
// \file SpaceChargeServiceStandard.h
3
//
4
// \brief header of service for storing/accessing space charge distortions
5
//
6
// \author mrmooney@bnl.gov
7
//
9
#ifndef SPACECHARGESERVICESTANDARD_H
10
#define SPACECHARGESERVICESTANDARD_H
11
12
#include "
art/Framework/Services/Registry/ServiceDeclarationMacros.h
"
13
#include "
larevt/SpaceCharge/SpaceChargeStandard.h
"
14
#include "
larevt/SpaceChargeServices/SpaceChargeService.h
"
15
16
namespace
art
{
17
class
ActivityRegistry;
18
class
Run
;
19
}
20
21
namespace
fhicl
{
22
class
ParameterSet;
23
}
24
25
namespace
spacecharge
{
26
class
SpaceChargeServiceStandard
:
public
SpaceChargeService
{
27
public
:
28
// this enables art to print the configuration help:
29
// using Parameters =
30
// art::ServiceTable<spacecharge::SpaceChargeStandard::ConfigurationParameters_t>;
31
32
SpaceChargeServiceStandard
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
& reg);
33
34
private
:
35
void
reconfigure(
fhicl::ParameterSet
const
& pset);
36
void
preBeginRun(
const
art::Run
& run);
37
38
const
provider_type
*
provider
()
const override
{
return
&fProp; }
39
40
spacecharge::SpaceChargeStandard
fProp
;
41
42
};
// class SpaceChargeServiceStandard
43
}
// namespace spacecharge
44
45
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
spacecharge::SpaceChargeServiceStandard
,
46
spacecharge::SpaceChargeService
,
47
SHARED
)
48
49
#endif // SPACECHARGESERVICESTANDARD_H
spacecharge::SpaceChargeServiceStandard::fProp
spacecharge::SpaceChargeStandard fProp
Definition:
SpaceChargeServiceStandard.h:40
SpaceChargeStandard.h
spacecharge::SpaceChargeStandard
Definition:
SpaceChargeStandard.h:32
spacecharge::SpaceCharge
Definition:
SpaceCharge.h:17
SpaceChargeService.h
art::Run
Definition:
Run.h:37
ServiceDeclarationMacros.h
spacecharge::SpaceChargeServiceStandard
Definition:
SpaceChargeServiceStandard.h:26
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
spacecharge
Definition:
SpaceCharge.h:15
spacecharge::SpaceChargeService
Definition:
SpaceChargeService.h:17
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
spacecharge::SpaceChargeServiceStandard::provider
const provider_type * provider() const override
Definition:
SpaceChargeServiceStandard.h:38
art
Definition:
MVAAlg.h:12
art::Level::Run
art::ServiceScope::SHARED
DECLARE_ART_SERVICE_INTERFACE_IMPL
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
Definition:
ServiceDeclarationMacros.h:94
fhicl::ParameterSet
Definition:
ParameterSet.h:36
larevt
v09_10_03
source
larevt
SpaceChargeServices
SpaceChargeServiceStandard.h
Generated on Thu May 2 2024 20:59:39 for LArSoft by
1.8.11