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
lar::example::ShowerCalibrationGaloreScaleService Class Reference

A shower calibration art service returning a single factor. More...

Inheritance diagram for lar::example::ShowerCalibrationGaloreScaleService:
lar::ServiceProviderInterfaceWrapper< PROVIDER >

Public Types

using concrete_provider_type = ShowerCalibrationGaloreScale
 type of service provider implementation More...
 
using service_interface_type = ShowerCalibrationGaloreService
 art service interface class More...
 
using Parameters = art::ServiceTable< typename ShowerCalibrationGaloreScale::Config >
 Type of configuration parameter (for art description) More...
 
- Public Types inherited from lar::ServiceProviderInterfaceWrapper< PROVIDER >
using provider_type = PROVIDER
 type of the service provider More...
 

Public Member Functions

 ShowerCalibrationGaloreScaleService (Parameters const &config, art::ActivityRegistry &)
 Constructor (using a configuration table) More...
 
- Public Member Functions inherited from lar::ServiceProviderInterfaceWrapper< PROVIDER >
virtual ~ServiceProviderInterfaceWrapper ()=default
 Virtual destructor. More...
 
provider_type const * provider () const
 Returns a constant pointer to the service provider interface. More...
 

Private Member Functions

virtual
ShowerCalibrationGalore const * 
do_provider () const override
 Returns a constant pointer to the service provider. More...
 

Private Attributes

std::unique_ptr
< ShowerCalibrationGaloreScale
prov
 service provider More...
 

Additional Inherited Members

Detailed Description

A shower calibration art service returning a single factor.

See Also
ShowerCalibrationGalore example overview

See the ShowerCalibrationGaloreScale provider documentation for configuration instructions and implementation details.

See the ShowerCalibrationGalore provider class documentation for an explanation of the interface.

Use this service and its provider by its interface only:

lar::example::ShowerCalibrationGalore const* calib
  = lar::providerFrom<lar::example::ShowerCalibrationGaloreService>();

The code does not need to mention, nor to include, nor to link to ShowerCalibrationGaloreScaleService service.

Configuration parameters

In addition to the service provider:

Definition at line 58 of file ShowerCalibrationGaloreScaleService_service.cc.

Member Typedef Documentation

type of service provider implementation

Definition at line 64 of file ShowerCalibrationGaloreScaleService_service.cc.

Type of configuration parameter (for art description)

Definition at line 71 of file ShowerCalibrationGaloreScaleService_service.cc.

art service interface class

Definition at line 67 of file ShowerCalibrationGaloreScaleService_service.cc.

Constructor & Destructor Documentation

lar::example::ShowerCalibrationGaloreScaleService::ShowerCalibrationGaloreScaleService ( Parameters const &  config,
art::ActivityRegistry &   
)
inline

Constructor (using a configuration table)

Definition at line 76 of file ShowerCalibrationGaloreScaleService_service.cc.

77  : prov(std::make_unique<ShowerCalibrationGaloreScale>(config()))
78  {}
std::unique_ptr< ShowerCalibrationGaloreScale > prov
service provider

Member Function Documentation

virtual ShowerCalibrationGalore const* lar::example::ShowerCalibrationGaloreScaleService::do_provider ( ) const
inlineoverrideprivatevirtual

Returns a constant pointer to the service provider.

Implements lar::ServiceProviderInterfaceWrapper< PROVIDER >.

Definition at line 85 of file ShowerCalibrationGaloreScaleService_service.cc.

86  { return prov.get(); }
std::unique_ptr< ShowerCalibrationGaloreScale > prov
service provider

Member Data Documentation

std::unique_ptr<ShowerCalibrationGaloreScale> lar::example::ShowerCalibrationGaloreScaleService::prov
private

service provider

Definition at line 82 of file ShowerCalibrationGaloreScaleService_service.cc.


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