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

#include <iostream.h>
#include "MdcGeomSvc/MdcGeomSvc.h"

Go to the source code of this file.

Functions

int main ()


Function Documentation

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 }


Generated on Tue Nov 29 23:16:43 2016 for BOSS_7.0.2 by  doxygen 1.4.7