ShowerCalibrationGaloreFromPIDService.h
Go to the documentation of this file.
1 /**
2  * @file ShowerCalibrationGaloreFromPIDService.h
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 #ifndef LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_SERVICES_SHOWERCALIBRATIONGALOREFROMPIDSERVICE_H
12 #define LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_SERVICES_SHOWERCALIBRATIONGALOREFROMPIDSERVICE_H
13 
14 
15 /// LArSoft libraries
19 
20 
21 namespace lar {
22  namespace example {
23 
24  /**
25  * @brief Service for shower energy calibration according to particle type
26  * @ingroup ShowerCalibrationGalore
27  * @see @ref ShowerCalibrationGalore "ShowerCalibrationGalore example overview"
28  *
29  * See the ShowerCalibrationGaloreFromPID provider documentation for
30  * configuration instructions and implementation details.
31  *
32  * See the ShowerCalibrationGalore provider class documentation for an
33  * explanation of the interface.
34  *
35  * Use this service and its provider by its interface only:
36  *
37  * lar::example::ShowerCalibrationGalore const* calib
38  * = lar::providerFrom<lar::example::ShowerCalibrationGaloreService>();
39  *
40  * The code does not need to mention, nor to include, nor to link to
41  * `ShowerCalibrationGaloreFromPIDService` service.
42  *
43  *
44  * Configuration parameters
45  * -------------------------
46  *
47  * In addition to the service provider:
48  *
49  * * *service_provider* must be set to
50  * `"ShowerCalibrationGaloreFromPIDService"` in order to tell _art_ to
51  * load this implementation.
52  *
53  */
57 
58  } // namespace example
59 } // namespace lar
60 
61 
65  LEGACY
66  )
67 
68 
69 #endif // LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_SERVICES_SHOWERCALIBRATIONGALOREFROMPIDSERVICE_H
70 
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
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.
LArSoft-specific namespace.
Shower energy calibration according to particle type.
Service implementation returning a provider.
Service returning a provider interface.