1467 {
1468 GeoPhysVol* TCPhys =
new GeoPhysVol(
m_theBox);
1469
1470
1471
1472
1474 GeoNameTag*
tag =
new GeoNameTag(
"LadderStructure");
1475 GeoVPhysVol* ladderstructPhys = pls.Build() ;
1477 GeoTrf::Translate3D
pos(xpos,0.,0.);
1478 GeoTransform* xform = new GeoTransform(pos);
1479 TCPhys->add(tag);
1480 TCPhys->add(xform);
1481 TCPhys->add(ladderstructPhys);
1482
1483
1484
1485
1486
1487
1488
1490 double xcabshift = 0.;
1491 for(
int ii = 0; ii <=
m_gmt_mgr->PixelNModule()/2; ii++) {
1492 pc.SetModuleNumber(ii);
1494 xcabshift +=
pc.Thickness()/2.;
1495 double xcabpos = - this->
Thickness()/2. +
m_gmt_mgr->PixelLadderThickness()+xcabshift;
1496
1497
1498
1499
1500
1501
1502
1503
1504 xcabshift +=
pc.Thickness()/2.;
1505 GeoTrf::Translate3D cablepos(xcabpos,0.,zcabpos);
1506 GeoTransform* xform = new GeoTransform(cablepos);
1507 GeoNameTag *
tag =
new GeoNameTag(
"Cable");
1508
1509
1510
1511 GeoVPhysVol *cablePhys1 =
pc.Build();
1512 TCPhys->add(tag);
1513 TCPhys->add(xform);
1514
1515 TCPhys->add(cablePhys1);
1516
1517
1518
1519 GeoVPhysVol *cablePhys2 =
pc.Build();
1520 cablepos = GeoTrf::Translate3D(xcabpos,0.,-zcabpos);
1521 xform = new GeoTransform(cablepos);
1522 TCPhys->add(tag);
1523 TCPhys->add(xform);
1524
1525 TCPhys->add(cablePhys2);
1526 }
1527
1528 return TCPhys;
1529}
InDetDD::PixelDetectorManager * m_DDmgr