All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
geo::GeometryTest Class Reference

Performs tests on the geometry as seen by Geometry service. More...

Inheritance diagram for geo::GeometryTest:

Public Member Functions

 GeometryTest (fhicl::ParameterSet const &pset)
 
virtual void analyze (art::Event const &)
 
virtual void beginJob ()
 

Private Attributes

std::unique_ptr
< geo::GeometryTestAlg
tester
 the test algorithm More...
 

Detailed Description

Performs tests on the geometry as seen by Geometry service.

Configuration parameters

See GeometryTestAlg.

Definition at line 33 of file GeometryTest_module.cc.

Constructor & Destructor Documentation

geo::GeometryTest::GeometryTest ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 52 of file GeometryTest_module.cc.

53  : EDAnalyzer(pset)
54  , tester(new geo::GeometryTestAlg(pset))
55  {
56  } // GeometryTest::GeometryTest()
std::unique_ptr< geo::GeometryTestAlg > tester
the test algorithm
Performs tests on the geometry as seen by Geometry service.

Member Function Documentation

virtual void geo::GeometryTest::analyze ( art::Event const &  )
inlinevirtual

Definition at line 37 of file GeometryTest_module.cc.

37 {}
void geo::GeometryTest::beginJob ( )
virtual

Definition at line 60 of file GeometryTest_module.cc.

61  {
62  art::ServiceHandle<geo::Geometry const> geom;
63 
64  // 1. we set it up with the geometry from the environment
65  tester->Setup(*geom);
66 
67  // 2. then we run it!
68  tester->Run();
69 
70  } // GeometryTest::beginJob()
std::unique_ptr< geo::GeometryTestAlg > tester
the test algorithm

Member Data Documentation

std::unique_ptr<geo::GeometryTestAlg> geo::GeometryTest::tester
private

the test algorithm

Definition at line 42 of file GeometryTest_module.cc.


The documentation for this class was generated from the following file: