Performs tests on the geometry as seen by Geometry service. More...
#include <GeometryTestAlg.h>
Public Member Functions | |
GeometryTestAlg (fhicl::ParameterSet const &pset) | |
virtual | ~GeometryTestAlg ()=default |
Virtual destructor. More... | |
virtual void | Setup (geo::GeometryCore const &new_geo) |
Runs the test. More... | |
virtual unsigned int | Run () |
Runs the test, returns a number of errors (very unlikely!) More... | |
Private Member Functions | |
void | printChannelSummary () |
void | printVolBounds () |
void | printDetDim () |
void | printAllGeometry () const |
void | testFindVolumes () |
void | testNearestChannel () |
void | testStepping () |
bool | shouldRunTests (std::string test_name) const |
unsigned int | testFindWorldVolumes () |
unsigned int | testFindTPCvolumePaths () |
Private Attributes | |
gar::geo::GeometryCore const * | geom |
pointer to geometry service provider More... | |
std::set< std::string > | fNonFatalExceptions |
testing::NameSelector | fRunTests |
test filter More... | |
Performs tests on the geometry as seen by Geometry service.
CheckOverlaps
(not in default) perform overlap checksThoroughCheck
(not in default) makes ROOT perform full geometry checkFindVolumes
: checks it can find the volumes corresponding to worldNearestChannel
:default
: represents the default set (optionally prepended by '@')!
(special): means to forget the tests configured so far; used as the first test name, removes the default list but leaves unchanged the default behaviour (the one specified with "+*" or "-*")+CheckOverlaps
in RunTests
Definition at line 64 of file GeometryTestAlg.h.
|
explicit |
Definition at line 131 of file GeometryTestAlg.cxx.
|
virtualdefault |
Virtual destructor.
|
private |
Definition at line 295 of file GeometryTestAlg.cxx.
|
private |
Definition at line 261 of file GeometryTestAlg.cxx.
|
private |
Definition at line 274 of file GeometryTestAlg.cxx.
|
private |
|
virtual |
Runs the test, returns a number of errors (very unlikely!)
Definition at line 161 of file GeometryTestAlg.cxx.
|
inlinevirtual |
Runs the test.
Definition at line 72 of file GeometryTestAlg.h.
|
inlineprivate |
Definition at line 530 of file GeometryTestAlg.cxx.
|
private |
Definition at line 336 of file GeometryTestAlg.cxx.
|
private |
Definition at line 369 of file GeometryTestAlg.cxx.
|
private |
Definition at line 302 of file GeometryTestAlg.cxx.
|
private |
Definition at line 391 of file GeometryTestAlg.cxx.
|
private |
Definition at line 482 of file GeometryTestAlg.cxx.
|
private |
Definition at line 80 of file GeometryTestAlg.h.
|
private |
test filter
Definition at line 83 of file GeometryTestAlg.h.
|
private |
pointer to geometry service provider
Definition at line 79 of file GeometryTestAlg.h.