LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
detinfo::LArPropertiesServiceStandard Class Reference

#include "LArPropertiesServiceStandard.h"

Inheritance diagram for detinfo::LArPropertiesServiceStandard:
detinfo::LArPropertiesService

Public Types

using Parameters = art::ServiceTable< detinfo::LArPropertiesStandard::ConfigurationParameters_t >
 
using provider_type = detinfo::LArProperties
 

Public Member Functions

 LArPropertiesServiceStandard (Parameters const &params, art::ActivityRegistry &reg)
 

Private Member Functions

provider_type const * provider () const override
 
void preBeginRun (art::Run const &run)
 

Private Attributes

detinfo::LArPropertiesStandard fProp
 

Detailed Description

Definition at line 24 of file LArPropertiesServiceStandard.h.

Member Typedef Documentation

Constructor & Destructor Documentation

detinfo::LArPropertiesServiceStandard::LArPropertiesServiceStandard ( Parameters const &  config,
art::ActivityRegistry reg 
)
Todo:
these values should eventually come from a database

Definition at line 8 of file LArPropertiesServiceStandard.cc.

References art::ServiceTable< T >::get_PSet(), and preBeginRun().

10  : fProp{config.get_PSet()}
11 {
13 }
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun

Member Function Documentation

void detinfo::LArPropertiesServiceStandard::preBeginRun ( art::Run const &  run)
private

Definition at line 16 of file LArPropertiesServiceStandard.cc.

References fProp, art::Run::run(), and detinfo::LArPropertiesStandard::Update().

Referenced by LArPropertiesServiceStandard().

17 {
18  fProp.Update(run.run());
19 }
provider_type const* detinfo::LArPropertiesServiceStandard::provider ( ) const
inlineoverrideprivatevirtual

Implements detinfo::LArPropertiesService.

Definition at line 30 of file LArPropertiesServiceStandard.h.

30 { return &fProp; }

Member Data Documentation

detinfo::LArPropertiesStandard detinfo::LArPropertiesServiceStandard::fProp
private

Definition at line 34 of file LArPropertiesServiceStandard.h.

Referenced by preBeginRun().


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