22 #include "test/Geometry/GeometryTestAlg.h" 64 std::string geoTestConfigPath =
"physics.analyzers.geotest";
69 if (++iParam < argc) configPath = argv[iParam];
71 throw std::runtime_error(
"No configuration file specified.");
74 if (++iParam < argc) geoTestConfigPath = argv[iParam];
91 auto geom = SetupGeometry<geo::ChannelMapStandardAlg>
114 mf::LogError(
"geometry_test") << nErrors <<
" errors detected!";
Utilities for one-line geometry initialization.
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
virtual unsigned int Run()
Runs the test, returns a number of errors (very unlikely!)
void SetContextIteration(string const &val)
void SetupMessageFacility(fhicl::ParameterSet const &pset, std::string applName="standalone")
Sets up the message facility service.
Collection of functions for quick setup of basic facilities.
Performs tests on the geometry as seen by Geometry service.
T get(std::string const &key) const
virtual void Setup(geo::GeometryCore const &new_geo)
Runs the test.
Utilities for use in an environment without art.
Access the description of detector geometry.
fhicl::ParameterSet ParseConfiguration(std::string configPath, cet::filepath_maker &lookupPolicy)
Parses a FHiCL configuration file.
int main(int argc, char const **argv)
Runs the test.