All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
detinfo::DetectorPropertiesServiceStandard Class Reference

#include <DetectorPropertiesServiceStandard.h>

Inheritance diagram for detinfo::DetectorPropertiesServiceStandard:
detinfo::DetectorPropertiesService

Classes

struct  ServiceConfiguration_t
 

Public Types

using Parameters = art::ServiceTable< ServiceConfiguration_t >
 
- Public Types inherited from detinfo::DetectorPropertiesService
using provider_type = detinfo::DetectorProperties
 

Public Member Functions

 DetectorPropertiesServiceStandard (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
- Public Member Functions inherited from detinfo::DetectorPropertiesService
virtual ~DetectorPropertiesService ()=default
 
DetectorPropertiesData DataForJob () const
 
DetectorPropertiesData DataForJob (detinfo::DetectorClocksData const &clockData) const
 
DetectorPropertiesData DataFor (art::Event const &e) const
 
DetectorPropertiesData DataFor (art::Event const &e, detinfo::DetectorClocksData const &clockData) const
 

Private Member Functions

DetectorPropertiesData getDataForJob (DetectorClocksData const &clockData) const override
 
DetectorPropertiesData getDataFor (art::Event const &, DetectorClocksData const &clockData) const override
 
void postOpenFile (const std::string &filename)
 
bool isDetectorPropertiesServiceStandard (const fhicl::ParameterSet &ps) const
 

Private Attributes

DetectorPropertiesStandard fProp
 
fhicl::ParameterSet fPS
 Original parameter set. More...
 
bool fInheritNumberTimeSamples
 Flag saying whether to inherit NumberTimeSamples. More...
 

Detailed Description

Configuration parameters

This service passes the whole configuration down to its service provider, but it also reacts to:

Definition at line 40 of file DetectorPropertiesServiceStandard.h.

Member Typedef Documentation

Definition at line 60 of file DetectorPropertiesServiceStandard.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file DetectorPropertiesServiceStandard.cc.

28  : fProp{pset,
29  lar::providerFrom<geo::Geometry>(),
30  lar::providerFrom<detinfo::LArPropertiesService>(),
31  std::set<std::string>({"InheritNumberTimeSamples"})}

Member Function Documentation

DetectorPropertiesData detinfo::DetectorPropertiesServiceStandard::getDataFor ( art::Event const &  ,
DetectorClocksData const &  clockData 
) const
inlineoverrideprivatevirtual

Implements detinfo::DetectorPropertiesService.

Definition at line 72 of file DetectorPropertiesServiceStandard.h.

73  {
74  return fProp.DataFor(clockData);
75  }
DetectorPropertiesData DataFor(detinfo::DetectorClocksData const &clock_data) const override
DetectorPropertiesData detinfo::DetectorPropertiesServiceStandard::getDataForJob ( DetectorClocksData const &  clockData) const
inlineoverrideprivatevirtual

Implements detinfo::DetectorPropertiesService.

Definition at line 66 of file DetectorPropertiesServiceStandard.h.

67  {
68  return fProp.DataFor(clockData);
69  }
DetectorPropertiesData DataFor(detinfo::DetectorClocksData const &clock_data) const override
bool detinfo::DetectorPropertiesServiceStandard::isDetectorPropertiesServiceStandard ( const fhicl::ParameterSet &  ps) const
private
void detinfo::DetectorPropertiesServiceStandard::postOpenFile ( const std::string &  filename)
private

Member Data Documentation

bool detinfo::DetectorPropertiesServiceStandard::fInheritNumberTimeSamples
private

Flag saying whether to inherit NumberTimeSamples.

Definition at line 82 of file DetectorPropertiesServiceStandard.h.

DetectorPropertiesStandard detinfo::DetectorPropertiesServiceStandard::fProp
private

Definition at line 79 of file DetectorPropertiesServiceStandard.h.

fhicl::ParameterSet detinfo::DetectorPropertiesServiceStandard::fPS
private

Original parameter set.

Definition at line 80 of file DetectorPropertiesServiceStandard.h.


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