PhotonCalibratorServiceStandard.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file PhotonCalibratorServiceStandard.h
3 //
4 // \brief Framework interface to PhotonCalibratorStandard
5 //
6 // \author ahimmel@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 
10 #ifndef PHOTONCALIBRATORSERVICESTANDARD
11 #define PHOTONCALIBRATORSERVICESTANDARD
12 
13 // LArSoft Includes
16 
21 #include "fhiclcpp/ParameterSet.h"
22 #include "fhiclcpp/types/Atom.h"
23 
24 namespace calib {
25 
27  public:
29 
34  };
35 
37 
39  : fProvider{config.get_PSet(), aReg}
40  {}
41 
42  private:
43  provider_type const*
44  provider() const override
45  {
46  return &fProvider;
47  }
48 
50  };
51 
52 }
53 
56  LEGACY)
57 
58 #endif // PHOTONCALIBRATORSERVICESTANDARD
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
ChannelGroupService::Name Name
provider_type const * provider() const override
static Config * config
Definition: config.cpp:1054
fhicl::ParameterSet const & get_PSet() const
Definition: ServiceTable.h:40
PhotonCalibratorServiceStandard(Parameters const &config, art::ActivityRegistry &aReg)