70 GeoTube* dummytube=
new GeoTube(0., 4711., 4711.);
71 GeoLogVol* dummyBeamPipe =
new GeoLogVol(
"BeamPipe",dummytube,ether);
74 EnvelopeShapes envelopes;
76 if (bpipeEnvelope->size() != 0) {
82 GeoLogVol* lvMotherCentral =
new GeoLogVol(
"BeamPipeCentral",envelopes.centralShape,air);
83 GeoPhysVol* pvMotherCentral =
new GeoPhysVol(lvMotherCentral);
88 GeoLogVol* lvMotherFwd =
new GeoLogVol(
"BeamPipeFwd",envelopes.fwdShape,air);
89 GeoPhysVol* pvMotherFwdPlus =
new GeoPhysVol(lvMotherFwd);
90 GeoPhysVol* pvMotherFwdMinus =
new GeoPhysVol(lvMotherFwd);
100 GeoNameTag *
tag =
new GeoNameTag(
"BeamPipe");
105 if (bpipePosition->size() != 0) {
111 if (
m_mode==
"AssemblyBeamPipe"){
114 theBeamPipe->add(
tag);
115 theBeamPipe->add(
new GeoTransform(GeoTrf::Translate3D(beamx,beamy,beamz)));
116 theBeamPipe->add(pvMotherCentral);
119 theBeamPipe->add(
tag);
120 theBeamPipe->add(pvMotherFwdPlus);
123 theBeamPipe->add(
tag);
125 theBeamPipe->add(pvMotherFwdMinus);
127 const GeoShape *shape = envelopes.bpShape;
128 GeoLogVol* lvMother =
new GeoLogVol(
"BeamPipe",shape,air);
129 GeoPhysVol* pvMother =
new GeoPhysVol(lvMother);
131 pvMother->add(theBeamPipe);
134 world->add(pvMother);
141 world->add(
new GeoTransform(GeoTrf::Translate3D(beamx,beamy,beamz)));
142 world->add(pvMotherCentral);
146 world->add(pvMotherFwdPlus);
151 world->add(pvMotherFwdMinus);