447 {+9.15 , +3.15 , -9.15 , +9.15 , +3.15 , -9.15 },
448 {+15.15 , +9.15 , +3.15 , -9.15 , -15.15 , +15.15 , +9.15 , +3.15 ,
450 {+21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 , +21.15 ,
451 +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 },
452 {+27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 ,
453 -27.15 , +27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 ,
455 {+33.15 , +27.15 , +21.15 , +15.15 , +9.15 , +3.15 ,
456 -9.15 , -15.15 , -21.15 , -27.15 , -33.15 , +33.15 ,
457 +27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 ,
458 -15.15 , -21.15 , -27.15 , -33.15 }};
460 {-0.15 , +2.85 , -0.15 , +0.15 , -2.85 , +0.15 },
461 {-0.15 , -0.15 , +2.85 , -0.15 , -0.15 , +0.15 , +0.15 , -2.85 ,
463 {-0.15 , -0.15 , -0.15 , +2.85 , -0.15 , -0.15 , -0.15 , +0.15 ,
464 +0.15 , +0.15 , -2.85 , +0.15 , +0.15 , +0.15 },
465 {-0.15 , -0.15 , -0.15 , -0.15 , +2.85 , -0.15 , -0.15 , -0.15 ,
466 -0.15 , +0.15 , +0.15 , +0.15 , +0.15 , -2.85 , +0.15 , +0.15 ,
468 {-0.15 , -0.15 , -0.15 , -0.15 , -0.15 , +2.85 , -0.15 , -0.15 ,
469 -0.15 , -0.15 , -0.15 , +0.15 , +0.15 , +0.15 , +0.15 , +0.15 ,
470 -2.85 , +0.15 , +0.15 , +0.15 , +0.15 , +0.15 }};
472 {+0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 , +1.22 , 0.0 , +1.36 },
473 {+1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 , +1.22 + 4.31 , +0.0 ,
474 +1.22 , 0.0 , +1.36 , +0.14 },
475 {+0.14 + 4.31 , +1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 ,
476 +1.22 + 4.31 , +0.0 + 4.31 , +1.22 , +0.0 , +1.22 , +0.0 , +1.36 ,
478 {+1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 ,
479 +0.0 + 4.31 , +1.22 + 4.31 , +0.0 + 4.31 , +1.22 + 4.31 , +0.0 , +1.22 ,
480 +0.0 , +1.22 , +0.0 , +1.36 , +0.14 , +1.36 , +0.14 },
481 {+0.14 + 4.31 , +1.36 + 4.31 ,
482 +0.14 + 4.31 , +1.36 + 4.31 ,
483 +0.14 + 4.31 , +1.36 + 4.31 ,
484 +0.0 + 4.31 , +1.22 + 4.31 ,
485 +0.0 + 4.31 , +1.22 + 4.31 ,
486 +0.0 + 4.31 , +1.22 ,
752 ofstream SiFileOut(xml_file_name.
Data(), ios::out);
754 SiFileOut <<
"<StationSet>\n";
759 cout <<
"istation = " << istation <<
": -----------------------------\n";
768 SiFileOut <<
"<!-- Station " << istation <<
" -->\n";
770 SiFileOut <<
"\t<Station";
774 SiFileOut <<
" rotAngleDeg=\"" <<
"0.0" <<
"\"";
775 SiFileOut <<
" rotCenterX=\"" <<
"0.0" <<
"\"";
776 SiFileOut <<
" rotCenterY=\"" <<
"0.0" <<
"\"";
782 cout <<
" imodule = " << imodule <<
"\n";
784 SiFileOut <<
"\t\t<!-- module " << imodule <<
" -->\n";
786 SiFileOut <<
"\t\t<Module";
789 SiFileOut <<
" xShift=\"" << 0.0 <<
"\"";
790 SiFileOut <<
" yShift=\"" << 0.0 <<
"\"";
791 SiFileOut <<
" zShift=\"" <<
ZModuleShifts[istation][imodule] <<
"\"";
822 Bool_t isDeadZone_UpLayer =
false;
823 Bool_t isDeadZone_LowLayer =
false;
828 Int_t firstStripNumber_UpLayer[2];
829 Int_t firstStripNumber_LowLayer[2];
871 for (
Int_t ilayer = 0; ilayer < 2; ++ilayer) {
872 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
873 xDeadZone[ilayer][ipoint] =
875 yDeadZone[ilayer][ipoint] =
883 isDeadZone_UpLayer =
false;
884 isDeadZone_LowLayer =
true;
949 for (
Int_t ilayer = 0; ilayer < 2; ++ilayer) {
950 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
951 xDeadZone[ilayer][ipoint] =
953 yDeadZone[ilayer][ipoint] =
961 isDeadZone_UpLayer =
false;
962 isDeadZone_LowLayer =
true;
1033 for (
Int_t ilayer = 0; ilayer < 2; ++ilayer) {
1034 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1035 xDeadZone[ilayer][ipoint] =
1037 yDeadZone[ilayer][ipoint] =
1045 isDeadZone_UpLayer =
true;
1046 isDeadZone_LowLayer =
false;
1121 for (
Int_t ilayer = 0; ilayer < 2; ++ilayer) {
1122 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1123 xDeadZone[ilayer][ipoint] =
1125 yDeadZone[ilayer][ipoint] =
1133 isDeadZone_UpLayer =
true;
1134 isDeadZone_LowLayer =
false;
1156 cout <<
" Orig_UpLayer[0](x:y) = ( " << xOrig_UpLayer[0] <<
" : " << yOrig_UpLayer[0] <<
" )\n";
1157 cout <<
" Orig_LowLayer[0](x:y) = ( " << xOrig_LowLayer[0] <<
" : " << yOrig_LowLayer[0] <<
" )\n";
1158 cout <<
" Orig_UpLayer[1](x:y) = ( " << xOrig_UpLayer[1] <<
" : " << yOrig_UpLayer[1] <<
" )\n";
1159 cout <<
" Orig_LowLayer[1](x:y) = ( " << xOrig_LowLayer[1] <<
" : " << yOrig_LowLayer[1] <<
" )\n";
1163 cout <<
" Size_UpLayer[0](dx:dy) = ( " << xSize_UpLayer[0] <<
" : " << ySize_UpLayer[0] <<
" )\n";
1164 cout <<
" Size_LowLayer[0](dx:dy) = ( " << xSize_LowLayer[0] <<
" : " << ySize_LowLayer[0] <<
" )\n";
1165 cout <<
" Size_UpLayer[1](dx:dy) = ( " << xSize_UpLayer[1] <<
" : " << ySize_UpLayer[1] <<
" )\n";
1166 cout <<
" Size_LowLayer[1](dx:dy) = ( " << xSize_LowLayer[1] <<
" : " << ySize_LowLayer[1] <<
" )\n";
1170 cout <<
" LBorder_UpLayer[0](x:y) = ( " << xLBorder_UpLayer[0] <<
" : " << yLBorder_UpLayer[0] <<
" )\n";
1171 cout <<
" RBorder_UpLayer[0](x:y) = ( " << xRBorder_UpLayer[0] <<
" : " << yRBorder_UpLayer[0] <<
" )\n";
1173 cout <<
" LBorder_LowLayer[0](x:y) = ( " << xLBorder_LowLayer[0] <<
" : " << yLBorder_LowLayer[0]
1175 cout <<
" RBorder_LowLayer[0](x:y) = ( " << xRBorder_LowLayer[0] <<
" : " << yRBorder_LowLayer[0]
1179 cout <<
" LBorder_UpLayer[1](x:y) = ( " << xLBorder_UpLayer[1] <<
" : " << yLBorder_UpLayer[1] <<
" )\n";
1180 cout <<
" RBorder_UpLayer[1](x:y) = ( " << xRBorder_UpLayer[1] <<
" : " << yRBorder_UpLayer[1] <<
" )\n";
1182 cout <<
" LBorder_LowLayer[1](x:y) = ( " << xLBorder_LowLayer[1] <<
" : " << yLBorder_LowLayer[1]
1184 cout <<
" RBorder_LowLayer[1](x:y) = ( " << xRBorder_LowLayer[1] <<
" : " << yRBorder_LowLayer[1]
1189 cout <<
" DeadZone[0]:\n";
1190 cout <<
" p0(x:y) = ( " << xDeadZone[0][0] <<
" : " << yDeadZone[0][0] <<
" )\n";
1191 cout <<
" p1(x:y) = ( " << xDeadZone[0][1] <<
" : " << yDeadZone[0][1] <<
" )\n";
1192 cout <<
" p2(x:y) = ( " << xDeadZone[0][2] <<
" : " << yDeadZone[0][2] <<
" )\n";
1195 cout <<
" DeadZone[1]:\n";
1196 cout <<
" p0(x:y) = ( " << xDeadZone[1][0] <<
" : " << yDeadZone[1][0] <<
" )\n";
1197 cout <<
" p1(x:y) = ( " << xDeadZone[1][1] <<
" : " << yDeadZone[1][1] <<
" )\n";
1198 cout <<
" p2(x:y) = ( " << xDeadZone[1][2] <<
" : " << yDeadZone[1][2] <<
" )\n";
1202 cout <<
" stripDirection[0] = ";
1204 cout <<
"LeftToRight\n";
1206 cout <<
"RightToLeft\n";
1207 cout <<
" stripDirection[1] = ";
1209 cout <<
"LeftToRight\n";
1211 cout <<
"RightToLeft\n";
1215 cout <<
" pitchValue[0] = " << pitchValue[0] <<
"\n";
1216 cout <<
" pitchValue[1] = " << pitchValue[1] <<
"\n";
1220 cout <<
" stripAngle[0] = " << stripAngle[0] <<
"\n";
1221 cout <<
" stripAngle[1] = " << stripAngle[1] <<
"\n";
1225 cout <<
" firstStripNumber_UpLayer[0] = " << firstStripNumber_UpLayer[0] <<
"\n";
1226 cout <<
" firstStripNumber_LowLayer[0] = " << firstStripNumber_LowLayer[0] <<
"\n";
1227 cout <<
" firstStripNumber_UpLayer[1] = " << firstStripNumber_UpLayer[1] <<
"\n";
1228 cout <<
" firstStripNumber_LowLayer[1] = " << firstStripNumber_LowLayer[1] <<
"\n";
1236 SiFileOut <<
"\t\t\t<Layer";
1237 SiFileOut <<
" zoneID=\"" <<
"0" <<
"\"";
1238 SiFileOut <<
" type=\"" <<
"lower" <<
"\"";
1239 SiFileOut <<
" firstStripNumber=\"" << firstStripNumber_UpLayer[1] <<
"\"";
1240 SiFileOut <<
" stripAngle=\"" << stripAngle[1] <<
"\"";
1241 SiFileOut <<
" pitch=\"" << pitchValue[1] <<
"\"";
1242 SiFileOut <<
" xorig=\"" << xOrig_UpLayer[1] <<
"\"";
1243 SiFileOut <<
" yorig=\"" << yOrig_UpLayer[1] <<
"\"";
1244 SiFileOut <<
" xsize=\"" << xSize_UpLayer[1] <<
"\"";
1245 SiFileOut <<
" ysize=\"" << ySize_UpLayer[1] <<
"\"";
1246 SiFileOut <<
" stripDirection=\"";
1248 SiFileOut <<
"LeftToRight\"";
1250 SiFileOut <<
"RightToLeft\"";
1251 SiFileOut <<
" lxborder=\"" << xLBorder_UpLayer[1] <<
"\"";
1252 SiFileOut <<
" lyborder=\"" << yLBorder_UpLayer[1] <<
"\"";
1253 SiFileOut <<
" rxborder=\"" << xRBorder_UpLayer[1] <<
"\"";
1254 SiFileOut <<
" ryborder=\"" << yRBorder_UpLayer[1] <<
"\"";
1257 if (isDeadZone_UpLayer ==
true) {
1259 SiFileOut <<
"\t\t\t\t<DeadZone>\n";
1260 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1261 SiFileOut <<
"\t\t\t\t\t<DeadPoint";
1262 SiFileOut <<
" x=\"" << xDeadZone[1][ipoint] <<
"\"";
1263 SiFileOut <<
" y=\"" << yDeadZone[1][ipoint] <<
"\"";
1264 SiFileOut <<
" />\n";
1266 SiFileOut <<
"\t\t\t\t</DeadZone>\n\t\t\t";
1268 SiFileOut <<
"</Layer>\n";
1272 SiFileOut <<
"\t\t\t<Layer";
1273 SiFileOut <<
" zoneID=\"" <<
"0" <<
"\"";
1274 SiFileOut <<
" type=\"" <<
"lower" <<
"\"";
1275 SiFileOut <<
" firstStripNumber=\"" << firstStripNumber_LowLayer[1] <<
"\"";
1276 SiFileOut <<
" stripAngle=\"" << stripAngle[1] <<
"\"";
1277 SiFileOut <<
" pitch=\"" << pitchValue[1] <<
"\"";
1278 SiFileOut <<
" xorig=\"" << xOrig_LowLayer[1] <<
"\"";
1279 SiFileOut <<
" yorig=\"" << yOrig_LowLayer[1] <<
"\"";
1280 SiFileOut <<
" xsize=\"" << xSize_LowLayer[1] <<
"\"";
1281 SiFileOut <<
" ysize=\"" << ySize_LowLayer[1] <<
"\"";
1282 SiFileOut <<
" stripDirection=\"";
1284 SiFileOut <<
"LeftToRight\"";
1286 SiFileOut <<
"RightToLeft\"";
1287 SiFileOut <<
" lxborder=\"" << xLBorder_LowLayer[1] <<
"\"";
1288 SiFileOut <<
" lyborder=\"" << yLBorder_LowLayer[1] <<
"\"";
1289 SiFileOut <<
" rxborder=\"" << xRBorder_LowLayer[1] <<
"\"";
1290 SiFileOut <<
" ryborder=\"" << yRBorder_LowLayer[1] <<
"\"";
1293 if (isDeadZone_LowLayer ==
true) {
1295 SiFileOut <<
"\t\t\t\t<DeadZone>\n";
1296 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1297 SiFileOut <<
"\t\t\t\t\t<DeadPoint";
1298 SiFileOut <<
" x=\"" << xDeadZone[1][ipoint] <<
"\"";
1299 SiFileOut <<
" y=\"" << yDeadZone[1][ipoint] <<
"\"";
1300 SiFileOut <<
" />\n";
1302 SiFileOut <<
"\t\t\t\t</DeadZone>\n\t\t\t";
1304 SiFileOut <<
"</Layer>\n";
1308 SiFileOut <<
"\t\t\t<Layer";
1309 SiFileOut <<
" zoneID=\"" <<
"1" <<
"\"";
1310 SiFileOut <<
" type=\"" <<
"upper" <<
"\"";
1311 SiFileOut <<
" firstStripNumber=\"" << firstStripNumber_UpLayer[0] <<
"\"";
1312 SiFileOut <<
" stripAngle=\"" << stripAngle[0] <<
"\"";
1313 SiFileOut <<
" pitch=\"" << pitchValue[0] <<
"\"";
1314 SiFileOut <<
" xorig=\"" << xOrig_UpLayer[0] <<
"\"";
1315 SiFileOut <<
" yorig=\"" << yOrig_UpLayer[0] <<
"\"";
1316 SiFileOut <<
" xsize=\"" << xSize_UpLayer[0] <<
"\"";
1317 SiFileOut <<
" ysize=\"" << ySize_UpLayer[0] <<
"\"";
1318 SiFileOut <<
" stripDirection=\"";
1320 SiFileOut <<
"LeftToRight\"";
1322 SiFileOut <<
"RightToLeft\"";
1323 SiFileOut <<
" lxborder=\"" << xLBorder_UpLayer[0] <<
"\"";
1324 SiFileOut <<
" lyborder=\"" << yLBorder_UpLayer[0] <<
"\"";
1325 SiFileOut <<
" rxborder=\"" << xRBorder_UpLayer[0] <<
"\"";
1326 SiFileOut <<
" ryborder=\"" << yRBorder_UpLayer[0] <<
"\"";
1329 if (isDeadZone_UpLayer ==
true) {
1331 SiFileOut <<
"\t\t\t\t<DeadZone>\n";
1332 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1333 SiFileOut <<
"\t\t\t\t\t<DeadPoint";
1334 SiFileOut <<
" x=\"" << xDeadZone[0][ipoint] <<
"\"";
1335 SiFileOut <<
" y=\"" << yDeadZone[0][ipoint] <<
"\"";
1336 SiFileOut <<
" />\n";
1338 SiFileOut <<
"\t\t\t\t</DeadZone>\n\t\t\t";
1340 SiFileOut <<
"</Layer>\n";
1344 SiFileOut <<
"\t\t\t<Layer";
1345 SiFileOut <<
" zoneID=\"" <<
"1" <<
"\"";
1346 SiFileOut <<
" type=\"" <<
"upper" <<
"\"";
1347 SiFileOut <<
" firstStripNumber=\"" << firstStripNumber_LowLayer[0] <<
"\"";
1348 SiFileOut <<
" stripAngle=\"" << stripAngle[0] <<
"\"";
1349 SiFileOut <<
" pitch=\"" << pitchValue[0] <<
"\"";
1350 SiFileOut <<
" xorig=\"" << xOrig_LowLayer[0] <<
"\"";
1351 SiFileOut <<
" yorig=\"" << yOrig_LowLayer[0] <<
"\"";
1352 SiFileOut <<
" xsize=\"" << xSize_LowLayer[0] <<
"\"";
1353 SiFileOut <<
" ysize=\"" << ySize_LowLayer[0] <<
"\"";
1354 SiFileOut <<
" stripDirection=\"";
1356 SiFileOut <<
"LeftToRight\"";
1358 SiFileOut <<
"RightToLeft\"";
1359 SiFileOut <<
" lxborder=\"" << xLBorder_LowLayer[0] <<
"\"";
1360 SiFileOut <<
" lyborder=\"" << yLBorder_LowLayer[0] <<
"\"";
1361 SiFileOut <<
" rxborder=\"" << xRBorder_LowLayer[0] <<
"\"";
1362 SiFileOut <<
" ryborder=\"" << yRBorder_LowLayer[0] <<
"\"";
1365 if (isDeadZone_LowLayer ==
true) {
1367 SiFileOut <<
"\t\t\t\t<DeadZone>\n";
1368 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1369 SiFileOut <<
"\t\t\t\t\t<DeadPoint";
1370 SiFileOut <<
" x=\"" << xDeadZone[0][ipoint] <<
"\"";
1371 SiFileOut <<
" y=\"" << yDeadZone[0][ipoint] <<
"\"";
1372 SiFileOut <<
" />\n";
1374 SiFileOut <<
"\t\t\t\t</DeadZone>\n\t\t\t";
1376 SiFileOut <<
"</Layer>\n";
1379 SiFileOut <<
"\t\t</Module>\n";
1398 xOrig[0] = xOrig_LowLayer[0];
1399 xOrig[1] = xOrig_LowLayer[1];
1400 yOrig[0] = yOrig_LowLayer[0];
1401 yOrig[1] = yOrig_LowLayer[1];
1402 xSize[0] = xSize_LowLayer[0];
1403 xSize[1] = xSize_LowLayer[1];
1404 ySize[0] = ySize_LowLayer[0];
1405 ySize[1] = ySize_LowLayer[1];
1406 xLBorder[0] = xLBorder_LowLayer[0];
1407 xLBorder[1] = xLBorder_LowLayer[1];
1408 yLBorder[0] = yLBorder_LowLayer[0];
1409 yLBorder[1] = yLBorder_LowLayer[1];
1410 xRBorder[0] = xRBorder_LowLayer[0];
1411 xRBorder[1] = xRBorder_LowLayer[1];
1412 yRBorder[0] = yRBorder_LowLayer[0];
1413 yRBorder[1] = yRBorder_LowLayer[1];
1414 isDeadZone = isDeadZone_LowLayer;
1417 xOrig[0] = xOrig_UpLayer[0];
1418 xOrig[1] = xOrig_UpLayer[1];
1419 yOrig[0] = yOrig_UpLayer[0];
1420 yOrig[1] = yOrig_UpLayer[1];
1421 xSize[0] = xSize_UpLayer[0];
1422 xSize[1] = xSize_UpLayer[1];
1423 ySize[0] = ySize_UpLayer[0];
1424 ySize[1] = ySize_UpLayer[1];
1425 xLBorder[0] = xLBorder_UpLayer[0];
1426 xLBorder[1] = xLBorder_UpLayer[1];
1427 yLBorder[0] = yLBorder_UpLayer[0];
1428 yLBorder[1] = yLBorder_UpLayer[1];
1429 xRBorder[0] = xRBorder_UpLayer[0];
1430 xRBorder[1] = xRBorder_UpLayer[1];
1431 yRBorder[0] = yRBorder_UpLayer[0];
1432 yRBorder[1] = yRBorder_UpLayer[1];
1433 isDeadZone = isDeadZone_UpLayer;
1437 SiFileOut <<
"\t\t\t<Layer";
1438 SiFileOut <<
" zoneID=\"" <<
"0" <<
"\"";
1439 SiFileOut <<
" type=\"" <<
"lower" <<
"\"";
1440 SiFileOut <<
" firstStripNumber=\"" << 0 <<
"\"";
1441 SiFileOut <<
" stripAngle=\"" << stripAngle[1] <<
"\"";
1442 SiFileOut <<
" pitch=\"" << pitchValue[1] <<
"\"";
1443 SiFileOut <<
" xorig=\"" << xOrig[1] <<
"\"";
1444 SiFileOut <<
" yorig=\"" << yOrig[1] <<
"\"";
1445 SiFileOut <<
" xsize=\"" << xSize[1] <<
"\"";
1446 SiFileOut <<
" ysize=\"" << ySize[1] <<
"\"";
1447 SiFileOut <<
" stripDirection=\"";
1449 SiFileOut <<
"LeftToRight\"";
1451 SiFileOut <<
"RightToLeft\"";
1452 SiFileOut <<
" lxborder=\"" << xLBorder[1] <<
"\"";
1453 SiFileOut <<
" lyborder=\"" << yLBorder[1] <<
"\"";
1454 SiFileOut <<
" rxborder=\"" << xRBorder[1] <<
"\"";
1455 SiFileOut <<
" ryborder=\"" << yRBorder[1] <<
"\"";
1458 if (isDeadZone ==
true) {
1460 SiFileOut <<
"\t\t\t\t<DeadZone>\n";
1461 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1462 SiFileOut <<
"\t\t\t\t\t<DeadPoint";
1463 SiFileOut <<
" x=\"" << xDeadZone[1][ipoint] <<
"\"";
1464 SiFileOut <<
" y=\"" << yDeadZone[1][ipoint] <<
"\"";
1465 SiFileOut <<
" />\n";
1467 SiFileOut <<
"\t\t\t\t</DeadZone>\n\t\t\t";
1469 SiFileOut <<
"</Layer>\n";
1473 SiFileOut <<
"\t\t\t<Layer";
1474 SiFileOut <<
" zoneID=\"" <<
"1" <<
"\"";
1475 SiFileOut <<
" type=\"" <<
"upper" <<
"\"";
1476 SiFileOut <<
" firstStripNumber=\"" << 0 <<
"\"";
1477 SiFileOut <<
" stripAngle=\"" << stripAngle[0] <<
"\"";
1478 SiFileOut <<
" pitch=\"" << pitchValue[0] <<
"\"";
1479 SiFileOut <<
" xorig=\"" << xOrig[0] <<
"\"";
1480 SiFileOut <<
" yorig=\"" << yOrig[0] <<
"\"";
1481 SiFileOut <<
" xsize=\"" << xSize[0] <<
"\"";
1482 SiFileOut <<
" ysize=\"" << ySize[0] <<
"\"";
1483 SiFileOut <<
" stripDirection=\"";
1485 SiFileOut <<
"LeftToRight\"";
1487 SiFileOut <<
"RightToLeft\"";
1488 SiFileOut <<
" lxborder=\"" << xLBorder[0] <<
"\"";
1489 SiFileOut <<
" lyborder=\"" << yLBorder[0] <<
"\"";
1490 SiFileOut <<
" rxborder=\"" << xRBorder[0] <<
"\"";
1491 SiFileOut <<
" ryborder=\"" << yRBorder[0] <<
"\"";
1494 if (isDeadZone ==
true) {
1496 SiFileOut <<
"\t\t\t\t<DeadZone>\n";
1497 for (
Int_t ipoint = 0; ipoint < 3; ++ipoint) {
1498 SiFileOut <<
"\t\t\t\t\t<DeadPoint";
1499 SiFileOut <<
" x=\"" << xDeadZone[0][ipoint] <<
"\"";
1500 SiFileOut <<
" y=\"" << yDeadZone[0][ipoint] <<
"\"";
1501 SiFileOut <<
" />\n";
1503 SiFileOut <<
"\t\t\t\t</DeadZone>\n\t\t\t";
1505 SiFileOut <<
"</Layer>\n";
1508 SiFileOut <<
"\t\t</Module>\n";
1513 SiFileOut <<
"\t</Station>\n";
1516 cout <<
"------------------------------------------------------------\n";
1519 SiFileOut <<
"</StationSet>\n";