Environment setup helper for DetectorPropertiesStandard. More...
#include <DetectorPropertiesStandardTestHelpers.h>
| Static Public Member Functions | |
| static detinfo::DetectorPropertiesStandard * | setup (TestEnv &env) | 
Environment setup helper for DetectorPropertiesStandard.
| TestEnv | type of environment to set up | 
A service provider is set up in the environment, associated with the types detinfo::DetectorPropertiesStandard and detinfo::DetectorProperties. Its configuration is read from "services.DetectorPropertiesService".
The environment is expected to expose an interface equivalent to the one of testing::TesterEnvironment.
This class specialisation enables the support of SimpleProviderSetup() methods of testing::TesterEnvironment. It should be possible to set up a testing environment by calling: 
env.SimpleProviderSetup<detinfo::DetectorPropertiesStandard>();
The provider will be available from any of these two calls:
env.Provider<detinfo::DetectorPropertiesStandard>(); env.Provider<detinfo::DetectorProperties>();
DetectorPropertiesService service configuration available in the environment, and that the service providers geo::GeometryCore, detinfo::LArProperties and detinfo::DetectorClocks are configured and available. Definition at line 131 of file DetectorPropertiesStandardTestHelpers.h.
| 
 | inlinestatic | 
Definition at line 133 of file DetectorPropertiesStandardTestHelpers.h.
 1.8.11
 1.8.11