LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
PhotonCalibratorServiceStandard.h
Go to the documentation of this file.
1 // \file PhotonCalibratorServiceStandard.h
3 //
4 // \brief Framework interface to PhotonCalibratorStandard
5 //
6 // \author ahimmel@fnal.gov
7 //
9 
10 
11 #ifndef PHOTONCALIBRATORSERVICESTANDARD
12 #define PHOTONCALIBRATORSERVICESTANDARD
13 
14 // LArSoft Includes
17 
18 
19 // ART Includes
20 #include "fhiclcpp/ParameterSet.h"
21 #include "fhiclcpp/types/Atom.h"
27 
28 namespace calib {
29 
30 
32  {
33  public:
35 
37  {
41  };
42 
44 
45  public:
48  : fProvider( new PhotonCalibratorStandard(config.get_PSet(), aReg) )
49  { }
50 
51  provider_type const* provider() const override { return fProvider.get(); }
52 
53  private:
54  std::unique_ptr<PhotonCalibratorStandard> fProvider;
55  };
56 
57 }
58 
61  LEGACY)
62 
63 
64 #endif // PHOTONCALIBRATORSERVICESTANDARD
provider_type const * provider() const override
PhotonCalibratorServiceStandard(Parameters const &config, art::ActivityRegistry &aReg)
std::unique_ptr< PhotonCalibratorStandard > fProvider
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)