Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunesim
dunesim
SpaceChargeServices
SpaceChargeServiceProtoDUNE.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file SpaceChargeServiceProtoDUNE.h
3
//
4
// \brief header of service for storing/accessing space charge distortions for ProtoDUNE
5
//
6
// \author mrmooney@bnl.gov
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef SPACECHARGESERVICEPROTODUNE_H
10
#define SPACECHARGESERVICEPROTODUNE_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 "
dunesim/SpaceCharge/SpaceChargeProtoDUNE.h
"
18
#include "
larevt/SpaceChargeServices/SpaceChargeService.h
"
19
20
21
namespace
spacecharge
{
22
class
SpaceChargeServiceProtoDUNE
:
public
SpaceChargeService
{
23
public
:
24
25
// this enables art to print the configuration help:
26
//using Parameters = art::ServiceTable<spacecharge::SpaceChargeProtoDUNE::ConfigurationParameters_t>;
27
28
SpaceChargeServiceProtoDUNE
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
&
reg
);
29
30
void
reconfigure
(
fhicl::ParameterSet
const
& pset);
31
void
preBeginRun
(
const
art::Run
&
run
);
32
33
34
virtual
const
provider_type
*
provider
()
const override
{
return
fProp
.get();}
35
36
private
:
37
38
std::unique_ptr<spacecharge::SpaceChargeProtoDUNE>
fProp
;
39
40
};
// class SpaceChargeServiceProtoDUNE
41
}
//namespace spacecharge
42
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
spacecharge::SpaceChargeServiceProtoDUNE
,
spacecharge::SpaceChargeService
, LEGACY)
43
#endif // SPACECHARGESERVICEPROTODUNE_H
spacecharge::SpaceChargeServiceProtoDUNE::reconfigure
void reconfigure(fhicl::ParameterSet const &pset)
Definition:
SpaceChargeServiceProtoDUNE_service.cc:44
spacecharge::SpaceChargeServiceProtoDUNE
Definition:
SpaceChargeServiceProtoDUNE.h:22
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
spacecharge::SpaceChargeServiceProtoDUNE::provider
virtual const provider_type * provider() const override
Definition:
SpaceChargeServiceProtoDUNE.h:34
spacecharge::SpaceChargeServiceProtoDUNE::preBeginRun
void preBeginRun(const art::Run &run)
Definition:
SpaceChargeServiceProtoDUNE_service.cc:38
spacecharge
Definition:
SpaceCharge3x1x1dphase.h:29
spacecharge::SpaceChargeServiceProtoDUNE::SpaceChargeServiceProtoDUNE
SpaceChargeServiceProtoDUNE(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Definition:
SpaceChargeServiceProtoDUNE_service.cc:27
spacecharge::SpaceChargeService
Definition:
SpaceChargeService.h:17
ServiceMacros.h
spacecharge::SpaceChargeServiceProtoDUNE::fProp
std::unique_ptr< spacecharge::SpaceChargeProtoDUNE > fProp
Definition:
SpaceChargeServiceProtoDUNE.h:38
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
SpaceChargeProtoDUNE.h
cet::registry_via_id
Definition:
registry_via_id.h:19
Run.h
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11