BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/test/Test.cxx
Go to the documentation of this file.
1
#include <iostream.h>
2
#include "MdcGeomSvc/MdcGeomSvc.h"
3
4
int
main
(){
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
17
}
18
main
int main()
Definition:
Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/test/Test.cxx:4
MdcGeoLayer::Id
int Id(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoLayer.h:155
MdcGeoWire::Lyr
MdcGeoLayer * Lyr(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h:140
MdcGeoWire::Id
int Id(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h:127
MdcGeomSvc
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeomSvc.h:26
MdcGeomSvc::Dump
void Dump()
Definition:
MdcGeomSvc.cxx:694
MdcGeomSvc::initialize
virtual StatusCode initialize()
Definition:
MdcGeomSvc.cxx:72
MdcGeomSvc::Wire
const MdcGeoWire *const Wire(unsigned id)
Definition:
MdcGeomSvc.cxx:768
MdcGeomSvc::finalize
virtual StatusCode finalize()
Definition:
MdcGeomSvc.cxx:106
source
Mdc
MdcGeomSvc
MdcGeomSvc-00-01-37
test
Test.cxx
Generated by
1.9.6