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

Member Typedef Documentation

Definition at line 26 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.cc.

10  : fProp{config.get_PSet()}
11 {
12  reg.sPreBeginRun.watch(this, &LArPropertiesServiceStandard::preBeginRun);
13 }

Member Function Documentation

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

Definition at line 17 of file LArPropertiesServiceStandard.cc.

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

Implements detinfo::LArPropertiesService.

Definition at line 31 of file LArPropertiesServiceStandard.h.

32  {
33  return &fProp;
34  }

Member Data Documentation

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

Definition at line 38 of file LArPropertiesServiceStandard.h.


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