LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ShowerCalibrationGaloreScaleTestHelpers.h
Go to the documentation of this file.
1 
14 #ifndef LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_PROVIDERS_SHOWERCALIBRATIONGALORESCALETESTHELPERS_H
15 #define LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_PROVIDERS_SHOWERCALIBRATIONGALORESCALETESTHELPERS_H
16 
20 
21 // C/C++ standard libraries
22 #include <string>
23 
24 
25 namespace testing {
26 
27  // BEGIN ShowerCalibrationGalore ---------------------------------------------
30 
31  // instantiation of the standard ProviderSetupClass for this provider
32  template
33  struct ProviderSetupClass<lar::example::ShowerCalibrationGaloreScale>;
34 
35 
60  template <typename TestEnv>
63  {
64  static lar::example::ShowerCalibrationGaloreScale* setup(TestEnv& env)
65  {
67  lar::example::ShowerCalibrationGaloreScale, // provider class
68  lar::example::ShowerCalibrationGalore, // provider interface
69  TestEnv
70  >
71  (env, "ShowerCalibrationGaloreService"); // configuration key
72  }
73  }; // SimpleEnvironmentSetupClass<ShowerCalibrationGaloreScale>
74 
75 
77  // END ShowerCalibrationGalore -----------------------------------------------
78 
79 } // namespace testing
80 
81 
82 #endif // LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_PROVIDERS_SHOWERCALIBRATIONGALORESCALETESTHELPERS_H
LArSoft test utilities.
Helper classes to be used together with LArSoft&#39;s unit test.
A shower calibration service provider applying a uniform scale.
Environment helper to set up a service provider.
Shower calibration service provider applying a uniform energy scale.
Prov * SimpleEnvironmentStandardSetupByName(TestEnv &env, std::string service_name)
Basic implementation of a environment setup helper.
Interface for a shower calibration service provider.