Public Member Functions | Private Attributes | List of all members
spacecharge::SpaceChargeServiceDUNE35t Class Reference

#include <SpaceChargeServiceDUNE35t.h>

Inheritance diagram for spacecharge::SpaceChargeServiceDUNE35t:
spacecharge::SpaceChargeService

Public Member Functions

 SpaceChargeServiceDUNE35t (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::SpaceChargeDUNE35tfProp
 

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file SpaceChargeServiceDUNE35t.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file SpaceChargeServiceDUNE35t_service.cc.

26 {
27  fProp.reset(new spacecharge::SpaceChargeDUNE35t(pset));
28 
30 }
std::unique_ptr< spacecharge::SpaceChargeDUNE35t > fProp
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun

Member Function Documentation

void spacecharge::SpaceChargeServiceDUNE35t::preBeginRun ( const art::Run run)

Definition at line 33 of file SpaceChargeServiceDUNE35t_service.cc.

34 {
35  fProp->Update(run.id().run());
36 }
std::unique_ptr< spacecharge::SpaceChargeDUNE35t > fProp
RunID id() const
Definition: Run.cc:17
RunNumber_t run() const
Definition: RunID.h:64
virtual const provider_type* spacecharge::SpaceChargeServiceDUNE35t::provider ( ) const
inlineoverridevirtual

Implements spacecharge::SpaceChargeService.

Definition at line 34 of file SpaceChargeServiceDUNE35t.h.

34 { return fProp.get();}
std::unique_ptr< spacecharge::SpaceChargeDUNE35t > fProp
void spacecharge::SpaceChargeServiceDUNE35t::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 39 of file SpaceChargeServiceDUNE35t_service.cc.

40 {
41  fProp->Configure(pset);
42  return;
43 }
std::unique_ptr< spacecharge::SpaceChargeDUNE35t > fProp

Member Data Documentation

std::unique_ptr<spacecharge::SpaceChargeDUNE35t> spacecharge::SpaceChargeServiceDUNE35t::fProp
private

Definition at line 38 of file SpaceChargeServiceDUNE35t.h.


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