BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Test.cxx File Reference
#include "MdcGeomSvc/MdcGeomSvc.h"
#include <iostream.h>

Go to the source code of this file.

Functions

int main ()

Function Documentation

◆ main()

int main ( )

Definition at line 4 of file Mdc/MdcGeomSvc/test/Test.cxx.

4 {
5 const std::string& name = " ";
6 ISvcLocator* svcloc = NULL;
7 MdcGeomSvc fGeom( name, svcloc );
8 fGeom.initialize();
9 cout << "dump" << endl;
10 fGeom.Dump();
11 cout << "Hi, event routine is running" << endl;
12 cout << "1st wire id:" << fGeom.Wire( 0 )->Id() << endl;
13 cout << "2nd wire lyr id:" << fGeom.Wire( 1 )->Lyr()->Id() << endl;
14 cout << "6860th wire lyr id:" << fGeom.Wire( 6859 )->Lyr()->Id() << endl;
15 fGeom.finalize();
16}