All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 26 of file SpaceChargeServiceStandard.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file SpaceChargeServiceStandard.cc.

25  : fProp{pset}
26 {
27  reg.sPreBeginRun.watch(this, &SpaceChargeServiceStandard::preBeginRun);
28 }

Member Function Documentation

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

Definition at line 32 of file SpaceChargeServiceStandard.cc.

33 {
34  fProp.Update(run.run());
35 }
const provider_type* spacecharge::SpaceChargeServiceStandard::provider ( ) const
inlineoverrideprivatevirtual

Implements spacecharge::SpaceChargeService.

Definition at line 39 of file SpaceChargeServiceStandard.h.

40  {
41  return &fProp;
42  }
void spacecharge::SpaceChargeServiceStandard::reconfigure ( fhicl::ParameterSet const &  pset)
private

Definition at line 39 of file SpaceChargeServiceStandard.cc.

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

Member Data Documentation

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

Definition at line 44 of file SpaceChargeServiceStandard.h.


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