/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/test/Test.cxx

Go to the documentation of this file.
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 

Generated on Tue Nov 29 23:12:47 2016 for BOSS_7.0.2 by  doxygen 1.4.7