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

#include <SpaceChargeServiceStandard.h>

Inheritance diagram for spacecharge::SpaceChargeServiceStandard:
spacecharge::SpaceChargeService

Public Member Functions

 SpaceChargeServiceStandard (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
- Public Member Functions inherited from spacecharge::SpaceChargeService
virtual ~SpaceChargeService ()=default
 

Private Member Functions

void reconfigure (fhicl::ParameterSet const &pset)
 
void preBeginRun (const art::Run &run)
 
const provider_typeprovider () const override
 

Private Attributes

spacecharge::SpaceChargeStandard fProp
 

Additional Inherited Members

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

Detailed Description

Definition at line 21 of file SpaceChargeServiceStandard.h.

Constructor & Destructor Documentation

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

Definition at line 24 of file SpaceChargeServiceStandard_service.cc.

26  : fProp{pset}
27 {
29 }
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun

Member Function Documentation

void spacecharge::SpaceChargeServiceStandard::preBeginRun ( const art::Run run)
private

Definition at line 33 of file SpaceChargeServiceStandard_service.cc.

34 {
35  fProp.Update(run.run());
36 }
RunNumber_t run() const
Definition: DataViewImpl.cc:71
const provider_type* spacecharge::SpaceChargeServiceStandard::provider ( ) const
inlineoverrideprivatevirtual

Implements spacecharge::SpaceChargeService.

Definition at line 34 of file SpaceChargeServiceStandard.h.

35  {
36  return &fProp;
37  }
void spacecharge::SpaceChargeServiceStandard::reconfigure ( fhicl::ParameterSet const &  pset)
private

Definition at line 40 of file SpaceChargeServiceStandard_service.cc.

41 {
42  fProp.Configure(pset);
43 }
bool Configure(fhicl::ParameterSet const &pset)

Member Data Documentation

spacecharge::SpaceChargeStandard spacecharge::SpaceChargeServiceStandard::fProp
private

Definition at line 39 of file SpaceChargeServiceStandard.h.


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