00001 #include <iostream.h> 00002 #include "MdcGeomSvc/MdcGeomSvc.h" 00003 00004 int main(){ 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 } 00018