LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
spacecharge::SpaceChargeServiceStandard Class Reference

#include "SpaceChargeServiceStandard.h"

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

Public Types

using provider_type = spacecharge::SpaceCharge
 

Public Member Functions

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

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
 

Detailed Description

Definition at line 26 of file SpaceChargeServiceStandard.h.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Definition at line 23 of file SpaceChargeServiceStandard.cc.

References preBeginRun().

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

Member Function Documentation

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

Definition at line 31 of file SpaceChargeServiceStandard.cc.

References fProp, art::Run::run(), and spacecharge::SpaceChargeStandard::Update().

Referenced by SpaceChargeServiceStandard().

32 {
33  fProp.Update(run.run());
34 }
RunNumber_t run() const
Definition: Run.cc:27
const provider_type* spacecharge::SpaceChargeServiceStandard::provider ( ) const
inlineoverrideprivatevirtual

Implements spacecharge::SpaceChargeService.

Definition at line 38 of file SpaceChargeServiceStandard.h.

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

Definition at line 37 of file SpaceChargeServiceStandard.cc.

References spacecharge::SpaceChargeStandard::Configure(), and fProp.

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

Member Data Documentation

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

Definition at line 40 of file SpaceChargeServiceStandard.h.

Referenced by preBeginRun(), and reconfigure().


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