Test for geometry iterator loops on a standard detector. More...
#include "GeometryIteratorLoopTestAlg.h"
#include "larcorealg/TestUtils/geometry_unit_test_base.h"
#include "larcorealg/Geometry/GeometryCore.h"
#include "larcorealg/Geometry/ChannelMapStandardAlg.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char const **argv) |
Runs the test. More... | |
Test for geometry iterator loops on a standard detector.
Usage: geometry_iterator_loop_test [ConfigurationFile [GeometryTestParameterSet]]
By default, an internal configuration is used or GeometryTestParameterSet is set to "physics.analysers.geotest".
This unit test uses geometry_unit_test_base.h to build an environment with a geometry set up. For an example of use with Boost unit test module, see geometry_iterator_test.cxx .
Definition in file geometry_iterator_loop_test.cxx.
using StandardGeometryConfiguration = testing::BasicGeometryEnvironmentConfiguration<geo::ChannelMapStandardAlg> |
Definition at line 38 of file geometry_iterator_loop_test.cxx.
using StandardGeometryTestEnvironment = testing::GeometryTesterEnvironment<StandardGeometryConfiguration> |
Definition at line 48 of file geometry_iterator_loop_test.cxx.
int main | ( | int | argc, |
char const ** | argv | ||
) |
Runs the test.
argc | number of arguments in argv |
argv | arguments to the function |
cet::exception | most of error situations throw |
The arguments in argv are: 0. name of the executable ("Geometry_test")
Definition at line 72 of file geometry_iterator_loop_test.cxx.