Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
detinfo::LArPropertiesServiceStandard Class Reference

#include <LArPropertiesServiceStandard.h>

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

Public Types

using Parameters = art::ServiceTable< detinfo::LArPropertiesStandard::ConfigurationParameters_t >
 
- Public Types inherited from detinfo::LArPropertiesService
using provider_type = detinfo::LArProperties
 

Public Member Functions

 LArPropertiesServiceStandard (Parameters const &params, art::ActivityRegistry &reg)
 
- Public Member Functions inherited from detinfo::LArPropertiesService
virtual ~LArPropertiesService ()=default
 

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 21 of file LArPropertiesServiceStandard.h.

Member Typedef Documentation

Definition at line 23 of file LArPropertiesServiceStandard.h.

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_service.cc.

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

Member Function Documentation

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

Definition at line 17 of file LArPropertiesServiceStandard_service.cc.

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

Implements detinfo::LArPropertiesService.

Definition at line 28 of file LArPropertiesServiceStandard.h.

29  {
30  return &fProp;
31  }

Member Data Documentation

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

Definition at line 35 of file LArPropertiesServiceStandard.h.


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