#include <iostream.h>
#include "MdcGeomSvc/MdcGeomSvc.h"
Go to the source code of this file.
Functions | |
int | main () |
int main | ( | ) |
Definition at line 4 of file Test.cxx.
References MdcGeomSvc::Dump(), MdcGeomSvc::finalize(), MdcGeoLayer::Id(), MdcGeoWire::Id(), MdcGeomSvc::initialize(), MdcGeoWire::Lyr(), deljobs::string, and MdcGeomSvc::Wire().
00004 { 00005 const std::string& name = " "; 00006 ISvcLocator* svcloc = NULL ; 00007 MdcGeomSvc fGeom(name, svcloc); 00008 fGeom.initialize(); 00009 cout <<"dump"<<endl; 00010 fGeom.Dump(); 00011 cout<<"Hi, event routine is running"<<endl; 00012 cout<<"1st wire id:"<<fGeom.Wire(0)->Id()<<endl; 00013 cout<<"2nd wire lyr id:"<<fGeom.Wire(1)->Lyr()->Id()<<endl; 00014 cout<<"6860th wire lyr id:"<<fGeom.Wire(6859)->Lyr()->Id()<<endl; 00015 fGeom.finalize(); 00016 00017 }