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