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

#include <SpaceChargeService3x1x1dphase.h>

Inheritance diagram for spacecharge::SpaceChargeService3x1x1dphase:
spacecharge::SpaceChargeService

Public Member Functions

 SpaceChargeService3x1x1dphase (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::SpaceCharge3x1x1dphasefProp
 

Additional Inherited Members

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

Detailed Description

Definition at line 23 of file SpaceChargeService3x1x1dphase.h.

Constructor & Destructor Documentation

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

Definition at line 26 of file SpaceChargeService3x1x1dphase_service.cc.

27 {
29 
31 }
std::unique_ptr< spacecharge::SpaceCharge3x1x1dphase > fProp
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun

Member Function Documentation

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

Definition at line 34 of file SpaceChargeService3x1x1dphase_service.cc.

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

Implements spacecharge::SpaceChargeService.

Definition at line 35 of file SpaceChargeService3x1x1dphase.h.

35 { return fProp.get();}
std::unique_ptr< spacecharge::SpaceCharge3x1x1dphase > fProp
void spacecharge::SpaceChargeService3x1x1dphase::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 40 of file SpaceChargeService3x1x1dphase_service.cc.

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

Member Data Documentation

std::unique_ptr<spacecharge::SpaceCharge3x1x1dphase> spacecharge::SpaceChargeService3x1x1dphase::fProp
private

Definition at line 39 of file SpaceChargeService3x1x1dphase.h.


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