AtomicNumberService.h
Go to the documentation of this file.
1 /**
2  * @file AtomicNumberService.h
3  * @brief Returns the atomic number of the active material in the TPC
4  * @author Gianluca Petrillo (petrillo@fnal.gov)
5  * @date April 13, 2016
6  * @see AtomicNumberService_service.cc
7  * @ingroup AtomicNumber
8  *
9  */
10 
11 #ifndef LAREXAMPLES_SERVICES_ATOMICNUMBER_SERVICE_ATOMICNUMBERSERVICE_H
12 #define LAREXAMPLES_SERVICES_ATOMICNUMBER_SERVICE_ATOMICNUMBERSERVICE_H
13 
14 // LArSoft libraries
17 
18 // framework and support libraries
20 
21 namespace lar {
22 
23  namespace example {
24 
25  /**
26  * @brief Service giving access to AtomicNumber service provider.
27  * @see AtomicNumber, @ref AtomicNumber "AtomicNumber example overview"
28  * @ingroup AtomicNumber
29  *
30  * Access the provider with the standard LArSoft access pattern:
31  *
32  * auto const* atomicNumber
33  * = lar::providerFrom<lar::example::AtomicNumberService>();
34  *
35  *
36  */
39 
40  } // namespace example
41 } // namespace lar
42 
43 
45 
46 
47 #endif // LAREXAMPLES_SERVICES_ATOMICNUMBER_SERVICE_ATOMICNUMBERSERVICE_H
Provider returning atomic number of the active material in the TPC.
#define DECLARE_ART_SERVICE(svc, scope)
lar::SimpleServiceProviderWrapper< AtomicNumber > AtomicNumberService
Service giving access to AtomicNumber service provider.
LArSoft-specific namespace.
Service returning a provider.