Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larevt
larevt
SpaceChargeServices
SpaceChargeServiceStandard.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file SpaceChargeServiceStandard.h
3
//
4
// \brief header of service for storing/accessing space charge distortions
5
//
6
// \author mrmooney@bnl.gov
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef SPACECHARGESERVICESTANDARD_H
10
#define SPACECHARGESERVICESTANDARD_H
11
12
#include "
art/Framework/Principal/Run.h
"
13
#include "
art/Framework/Services/Registry/ActivityRegistry.h
"
14
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
15
#include "
art/Framework/Services/Registry/ServiceDeclarationMacros.h
"
16
#include "
fhiclcpp/ParameterSet.h
"
17
#include "
larevt/SpaceCharge/SpaceChargeStandard.h
"
18
#include "
larevt/SpaceChargeServices/SpaceChargeService.h
"
19
20
namespace
spacecharge
{
21
class
SpaceChargeServiceStandard
:
public
SpaceChargeService
{
22
public
:
23
// this enables art to print the configuration help:
24
// using Parameters =
25
// art::ServiceTable<spacecharge::SpaceChargeStandard::ConfigurationParameters_t>;
26
27
SpaceChargeServiceStandard
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
&
reg
);
28
29
private
:
30
void
reconfigure
(
fhicl::ParameterSet
const
& pset);
31
void
preBeginRun
(
const
art::Run
&
run
);
32
33
const
provider_type
*
34
provider
()
const override
35
{
36
return
&
fProp
;
37
}
38
39
spacecharge::SpaceChargeStandard
fProp
;
40
41
};
// class SpaceChargeServiceStandard
42
}
// namespace spacecharge
43
44
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
spacecharge::SpaceChargeServiceStandard
,
45
spacecharge::SpaceChargeService
,
46
SHARED)
47
48
#endif // SPACECHARGESERVICESTANDARD_H
spacecharge::SpaceChargeServiceStandard::fProp
spacecharge::SpaceChargeStandard fProp
Definition:
SpaceChargeServiceStandard.h:39
spacecharge::SpaceChargeServiceStandard::reconfigure
void reconfigure(fhicl::ParameterSet const &pset)
Definition:
SpaceChargeServiceStandard_service.cc:40
SpaceChargeStandard.h
spacecharge::SpaceChargeStandard
Definition:
SpaceChargeStandard.h:30
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
spacecharge::SpaceCharge
Definition:
SpaceCharge.h:18
SpaceChargeService.h
filelisting.run
int run
Definition:
filelisting.py:13
art::Run
Definition:
Run.h:17
ParameterSet.h
ServiceHandle.h
ServiceDeclarationMacros.h
spacecharge::SpaceChargeServiceStandard
Definition:
SpaceChargeServiceStandard.h:21
spacecharge
Definition:
SpaceCharge3x1x1dphase.h:29
spacecharge::SpaceChargeService
Definition:
SpaceChargeService.h:17
spacecharge::SpaceChargeServiceStandard::SpaceChargeServiceStandard
SpaceChargeServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Definition:
SpaceChargeServiceStandard_service.cc:24
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
spacecharge::SpaceChargeServiceStandard::provider
const provider_type * provider() const override
Definition:
SpaceChargeServiceStandard.h:34
spacecharge::SpaceChargeServiceStandard::preBeginRun
void preBeginRun(const art::Run &run)
Definition:
SpaceChargeServiceStandard_service.cc:33
cet::registry_via_id
Definition:
registry_via_id.h:19
Run.h
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11