2 #include "gearimpl/Util.h"
3 #include "gearxml/GearXML.h"
4 #include "gear/GearMgr.h"
6 #include "gear/SiPlanesParameters.h"
20 using namespace gear ;
24 void gear_unexpected(){
30 }
catch( std::exception& e) {
32 std::cout <<
" A runtime error has occured : "
35 <<
" the program will have to be terminated - sorry." << std::endl ;
46 int main(
int argc,
char**argv){
49 std::set_terminate( gear_unexpected ) ;
52 std::cout <<
" testgear: Testprogram for SiPlanes detector in gear. " << std::endl
53 <<
" usage: testgear GearOutput.xml " << std::endl ;
57 std::string fileName( argv[1] ) ;
61 GearMgr* gearMgr = gearXML.createGearMgr() ;
64 std::cout <<
" testSiPlanesgear - instantiated GearMgr from file " << fileName
71 std::cout <<
" SiPlanes parameters : " << std::endl
virtual const SiPlanesParameters & getSiPlanesParameters() const =0
Get the SiPlanes parameters.
Implementation of GEAR using XML.
Abstract interface for a manager class that returns the Gear classes for the relevant subdetectors...
Geometry properties of a pixel beam telescope needed for reconstruction code.