#include <PixelDetectorDC1DC2.h>
Definition at line 176 of file PixelDetectorDC1DC2.h.
◆ Build()
GeoVPhysVol * GeoPixelEndCap::Build |
( |
| ) |
|
|
overridevirtual |
Implements PixelGeoDC2::GeoVPixelFactory.
Definition at line 451 of file PixelDetectorDC1DC2.cxx.
460 const GeoTube* ecTube =
new GeoTube(rmin,rmax,halflength);
461 const GeoLogVol* ecLog =
new GeoLogVol(
"EndCapLog",ecTube,air);
462 GeoPhysVol* ecPhys =
new GeoPhysVol(ecLog);
483 GeoTrf::Translate3D
pos(0.,0.,zdisk);
484 GeoNameTag*
tag =
new GeoNameTag(
"Disk");
485 GeoAlignableTransform* xform =
new GeoAlignableTransform(
pos);
486 GeoVPhysVol * diskPhys =
pd.Build();
488 ecPhys->add(
new GeoIdentifierTag(ii));
490 ecPhys->add(diskPhys);
501 pos = GeoTrf::Translate3D(0.,0.,zdisk+dz);
502 tag =
new GeoNameTag(
"ECCables");
503 GeoTransform * xformCablesPlus =
new GeoTransform(
pos);
505 ecPhys->add(xformCablesPlus);
506 ecPhys->add(pecc.Build() );
507 pos = GeoTrf::Translate3D(0.,0.,zdisk-dz);
508 tag =
new GeoNameTag(
"ECCables");
509 GeoTransform * xformCablesMinus =
new GeoTransform(
pos);
511 ecPhys->add(xformCablesMinus);
512 ecPhys->add(pecc.Build() );
523 for(
int ii =0; ii< ecsvc.
NCylinders(); ii++) {
525 GeoNameTag*
tag =
new GeoNameTag(
"Outside Endcap Service");
526 GeoTrf::Translate3D
pos(0.,0.,ecsvc.
ZPos() );
527 GeoTransform* xform =
new GeoTransform(
pos);
530 ecPhys->add(ecsvc.
Build() );
◆ GeoVPixelFactory()
GeoVPixelFactory::GeoVPixelFactory |
◆ m_DDmgr
◆ m_epsilon
const double PixelGeoDC2::GeoVPixelFactory::m_epsilon {} |
|
protectedinherited |
◆ m_gmt_mgr
◆ m_mat_mgr
The documentation for this class was generated from the following files: