All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
spacecharge::SpaceChargeServiceICARUS Class Reference

#include <SpaceChargeServiceICARUS.h>

Inheritance diagram for spacecharge::SpaceChargeServiceICARUS:
spacecharge::SpaceChargeService

Public Member Functions

 SpaceChargeServiceICARUS (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
void reconfigure (fhicl::ParameterSet const &pset)
 
void preBeginRun (const art::Run &run)
 
virtual const provider_typeprovider () const override
 
- Public Member Functions inherited from spacecharge::SpaceChargeService
virtual ~SpaceChargeService ()=default
 

Private Attributes

std::unique_ptr
< spacecharge::SpaceChargeICARUS
fProp
 

Additional Inherited Members

- Public Types inherited from spacecharge::SpaceChargeService
using provider_type = spacecharge::SpaceCharge
 

Detailed Description

Definition at line 15 of file SpaceChargeServiceICARUS.h.

Constructor & Destructor Documentation

spacecharge::SpaceChargeServiceICARUS::SpaceChargeServiceICARUS ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry &  reg 
)

Definition at line 22 of file SpaceChargeServiceICARUS_service.cc.

23 {
24  fProp.reset(new spacecharge::SpaceChargeICARUS(pset));
25 
26  reg.sPreBeginRun.watch(this, &SpaceChargeServiceICARUS::preBeginRun);
27 }
std::unique_ptr< spacecharge::SpaceChargeICARUS > fProp

Member Function Documentation

void spacecharge::SpaceChargeServiceICARUS::preBeginRun ( const art::Run &  run)

Definition at line 30 of file SpaceChargeServiceICARUS_service.cc.

31 {
32  fProp->Update(run.id().run());
33 }
std::unique_ptr< spacecharge::SpaceChargeICARUS > fProp
virtual const provider_type* spacecharge::SpaceChargeServiceICARUS::provider ( ) const
inlineoverridevirtual

Implements spacecharge::SpaceChargeService.

Definition at line 25 of file SpaceChargeServiceICARUS.h.

26  {
27  return fProp.get();
28  }
std::unique_ptr< spacecharge::SpaceChargeICARUS > fProp
void spacecharge::SpaceChargeServiceICARUS::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 36 of file SpaceChargeServiceICARUS_service.cc.

37 {
38  fProp->Configure(pset);
39  return;
40 }
std::unique_ptr< spacecharge::SpaceChargeICARUS > fProp

Member Data Documentation

std::unique_ptr<spacecharge::SpaceChargeICARUS> spacecharge::SpaceChargeServiceICARUS::fProp
private

Definition at line 32 of file SpaceChargeServiceICARUS.h.


The documentation for this class was generated from the following files: