Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunesim
dunesim
SpaceChargeServices
SpaceChargeService3x1x1dphase.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 the 3x1x1 detector.
5
// \Adapted from SpaceChargeServiceProtoDUNE.h
6
//
7
// \author kevin.fusshoeller@cern.ch
8
//
9
////////////////////////////////////////////////////////////////////////
10
#ifndef SPACECHARGESERVICE3X1X1DPHASE_H
11
#define SPACECHARGESERVICE3X1X1DPHASE_H
12
13
#include "
fhiclcpp/ParameterSet.h
"
14
#include "
art/Framework/Services/Registry/ActivityRegistry.h
"
15
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
16
#include "
art/Framework/Services/Registry/ServiceMacros.h
"
17
#include "
art/Framework/Principal/Run.h
"
18
#include "
dunesim/SpaceCharge/SpaceCharge3x1x1dphase.h
"
19
#include "
larevt/SpaceChargeServices/SpaceChargeService.h
"
20
21
22
namespace
spacecharge
{
23
class
SpaceChargeService3x1x1dphase
:
public
SpaceChargeService
{
24
public
:
25
26
// this enables art to print the configuration help:
27
//using Parameters = art::ServiceTable<spacecharge::SpaceCharge3x1x1dphase::ConfigurationParameters_t>;
28
29
SpaceChargeService3x1x1dphase
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
&
reg
);
30
31
void
reconfigure
(
fhicl::ParameterSet
const
& pset);
32
void
preBeginRun
(
const
art::Run
&
run
);
33
34
35
virtual
const
provider_type
*
provider
()
const override
{
return
fProp
.get();}
36
37
private
:
38
39
std::unique_ptr<spacecharge::SpaceCharge3x1x1dphase>
fProp
;
40
41
};
// class SpaceChargeService3x1x1dphase
42
}
//namespace spacecharge
43
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
spacecharge::SpaceChargeService3x1x1dphase
,
spacecharge::SpaceChargeService
, LEGACY)
44
#endif // SPACECHARGESERVICE3X1X1DPHASE_H
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
spacecharge::SpaceChargeService3x1x1dphase::fProp
std::unique_ptr< spacecharge::SpaceCharge3x1x1dphase > fProp
Definition:
SpaceChargeService3x1x1dphase.h:39
spacecharge::SpaceCharge
Definition:
SpaceCharge.h:18
spacecharge::SpaceChargeService3x1x1dphase
Definition:
SpaceChargeService3x1x1dphase.h:23
SpaceChargeService.h
filelisting.run
int run
Definition:
filelisting.py:13
art::Run
Definition:
Run.h:17
ParameterSet.h
ServiceHandle.h
spacecharge::SpaceChargeService3x1x1dphase::reconfigure
void reconfigure(fhicl::ParameterSet const &pset)
Definition:
SpaceChargeService3x1x1dphase_service.cc:40
spacecharge::SpaceChargeService3x1x1dphase::preBeginRun
void preBeginRun(const art::Run &run)
Definition:
SpaceChargeService3x1x1dphase_service.cc:34
spacecharge
Definition:
SpaceCharge3x1x1dphase.h:29
spacecharge::SpaceChargeService
Definition:
SpaceChargeService.h:17
ServiceMacros.h
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
SpaceCharge3x1x1dphase.h
spacecharge::SpaceChargeService3x1x1dphase::SpaceChargeService3x1x1dphase
SpaceChargeService3x1x1dphase(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Definition:
SpaceChargeService3x1x1dphase_service.cc:26
cet::registry_via_id
Definition:
registry_via_id.h:19
Run.h
spacecharge::SpaceChargeService3x1x1dphase::provider
virtual const provider_type * provider() const override
Definition:
SpaceChargeService3x1x1dphase.h:35
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11