54 MsgStream log(
msgSvc(), name());
56 cout <<
"TestGeometry initialize" << endl;
57 StatusCode sc = service(
"CgemGeomSvc", m_geomSvc);
58 if(sc != StatusCode::SUCCESS) {
59 log << MSG::ERROR <<
"can not use CgemGeomSvc" << endreq;
60 return StatusCode::FAILURE;
68 const int nsheet[nlayer] = {1, 2, 2};
71 for(
int ilayer = 0; ilayer < nlayer; ilayer++) {
72 for(
int isheet = 0; isheet < nsheet[ilayer]; isheet++) {
73 for(
int iview=0; iview < nview; iview++) {
82 if(iview==1) nstrip = nvstrip;
84 for(
int istrip=0; istrip < nstrip; istrip++) {
91 cout << layerid <<
" " << sheetid <<
" " << iview <<
" " << stripid <<
" " <<
length << endl;
100 return StatusCode::SUCCESS;