All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ShowerCalibrationGaloreFromPIDService_service.cc
Go to the documentation of this file.
1 /**
2  * @file ShowerCalibrationGaloreFromPIDService_service.cc
3  * @brief Shower energy calibration according to particle type.
4  * @author Gianluca Petrillo (petrillo@fnal.gov)
5  * @date April 28, 2016
6  * @see ShowerCalibrationGaloreFromPID.h
7  * @ingroup ShowerCalibrationGalore
8  *
9  *
10  */
11 
12 /// LArSoft libraries
15 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
16 
17 
18 namespace lar {
19  namespace example {
20 
21  /**
22  * @brief Service for shower energy calibration according to particle type
23  * @ingroup ShowerCalibrationGalore
24  * @see @ref ShowerCalibrationGalore "ShowerCalibrationGalore example overview"
25  *
26  * See the ShowerCalibrationGaloreFromPID provider documentation for
27  * configuration instructions and implementation details.
28  *
29  * See the ShowerCalibrationGalore provider class documentation for an
30  * explanation of the interface.
31  *
32  * Use this service and its provider by its interface only:
33  *
34  * lar::example::ShowerCalibrationGalore const* calib
35  * = lar::providerFrom<lar::example::ShowerCalibrationGaloreService>();
36  *
37  * The code does not need to mention, nor to include, nor to link to
38  * `ShowerCalibrationGaloreFromPIDService` service.
39  *
40  *
41  * Configuration parameters
42  * -------------------------
43  *
44  * In addition to the service provider:
45  *
46  * * *service_provider* must be set to
47  * `"ShowerCalibrationGaloreFromPIDService"` in order to tell _art_ to
48  * load this implementation.
49  *
50  */
54 
55  } // namespace example
56 } // namespace lar
57 
58 
59 DECLARE_ART_SERVICE_INTERFACE_IMPL(
62  LEGACY
63  )
64 
65 #include "art/Framework/Services/Registry/ServiceDefinitionMacros.h"
66 
67 DEFINE_ART_SERVICE_INTERFACE_IMPL(
70  )
Shower calibration service provider correcting according to PID.
Interface for a shower calibration art service.
lar::ServiceProviderImplementationWrapper< ShowerCalibrationGaloreFromPID, ShowerCalibrationGaloreService > ShowerCalibrationGaloreFromPIDService
Service for shower energy calibration according to particle type.
Shower energy calibration according to particle type.
Service implementation returning a provider.
Service returning a provider interface.