LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 "
fhiclcpp/ParameterSet.h
"
13
#include "
art/Framework/Services/Registry/ActivityRegistry.h
"
14
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
15
#include "
art/Framework/Services/Registry/ServiceMacros.h
"
16
#include "
art/Framework/Principal/Run.h
"
17
#include "
larevt/SpaceCharge/SpaceChargeStandard.h
"
18
#include "
larevt/SpaceChargeServices/SpaceChargeService.h
"
19
20
21
namespace
spacecharge
{
22
class
SpaceChargeServiceStandard
:
public
SpaceChargeService
{
23
public
:
24
25
// this enables art to print the configuration help:
26
//using Parameters = art::ServiceTable<spacecharge::SpaceChargeStandard::ConfigurationParameters_t>;
27
28
SpaceChargeServiceStandard
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
& reg);
29
30
virtual
void
reconfigure
(
fhicl::ParameterSet
const
& pset)
override
;
31
void
preBeginRun
(
const
art::Run
& run);
32
33
virtual
const
provider_type
*
provider
()
const override
{
return
fProp
.get();}
34
35
private
:
36
37
std::unique_ptr<spacecharge::SpaceChargeStandard>
fProp
;
38
39
};
// class SpaceChargeServiceStandard
40
}
//namespace spacecharge
41
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
spacecharge::SpaceChargeServiceStandard
,
spacecharge::SpaceChargeService
, LEGACY)
42
#endif // SPACECHARGESERVICESTANDARD_H
SpaceChargeStandard.h
spacecharge::SpaceChargeServiceStandard::provider
virtual const provider_type * provider() const override
Definition:
SpaceChargeServiceStandard.h:33
spacecharge::SpaceCharge
Definition:
SpaceCharge.h:18
SpaceChargeService.h
spacecharge::SpaceChargeServiceStandard::fProp
std::unique_ptr< spacecharge::SpaceChargeStandard > fProp
Definition:
SpaceChargeServiceStandard.h:37
art::Run
Definition:
Run.h:30
ParameterSet.h
ServiceHandle.h
spacecharge::SpaceChargeServiceStandard
Definition:
SpaceChargeServiceStandard.h:22
spacecharge
Definition:
SpaceCharge.h:16
spacecharge::SpaceChargeService
Definition:
SpaceChargeService.h:18
ServiceMacros.h
spacecharge::SpaceChargeServiceStandard::SpaceChargeServiceStandard
SpaceChargeServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Definition:
SpaceChargeServiceStandard_service.cc:24
spacecharge::SpaceChargeServiceStandard::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset) override
Definition:
SpaceChargeServiceStandard_service.cc:38
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
spacecharge::SpaceChargeServiceStandard::preBeginRun
void preBeginRun(const art::Run &run)
Definition:
SpaceChargeServiceStandard_service.cc:32
Run.h
DECLARE_ART_SERVICE_INTERFACE_IMPL
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
Definition:
ServiceMacros.h:113
fhicl::ParameterSet
Definition:
ParameterSet.h:34
larevt
v07_02_01
source
larevt
SpaceChargeServices
SpaceChargeServiceStandard.h
Generated on Wed Dec 12 2018 14:42:48 for LArSoft by
1.8.11