PhotonCalibratorServiceProtoDUNESP.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file PhotonCalibratorServiceProtoDUNESP.h
3 //
4 // \brief Framework interface to PhotonCalibratorProtoDUNESP
5 //
6 // \author ahimmel@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 
10 
11 #ifndef PHOTONCALIBRATORSERVICEPROTODUNESP
12 #define PHOTONCALIBRATORSERVICEPROTODUNESP
13 
14 // LArSoft Includes
17 
18 
19 // ART Includes
20 #include "fhiclcpp/ParameterSet.h"
21 #include "fhiclcpp/types/Atom.h"
28 
29 
30 #include <vector>
31 
32 namespace calib {
33 
34 
36  {
37  public:
39 
41  {
42  //fhicl::Atom<float> SPESize { fhicl::Name("SPESize") };
43  //fhicl::Atom<float> SPEShift { fhicl::Name("SPEShift") };
44  fhicl::Sequence<int> BadChannels { fhicl::Name("BadChannels"), fhicl::Comment("Channels to remove from reconstruction") };
45  };
46 
48 
49  public:
52  : fProvider( new PhotonCalibratorProtoDUNESP(config.get_PSet(), aReg) )
53  { }
54 
55  provider_type const* provider() const override { return fProvider.get(); }
56 
57  private:
58  std::unique_ptr<PhotonCalibratorProtoDUNESP> fProvider;
59  };
60 
61 }
62 
65  LEGACY)
66 
67 #endif // PHOTONCALIBRATORSERVICEPROTODUNESP
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
ChannelGroupService::Name Name
static Config * config
Definition: config.cpp:1054
std::unique_ptr< PhotonCalibratorProtoDUNESP > fProvider
#define Comment
PhotonCalibratorServiceProtoDUNESP(Parameters const &config, art::ActivityRegistry &aReg)