Message: Re: The different Geometry overlap Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: The different Geometry overlap 

Keywords: Overlap
Forum: Geometry
Re: Question The different Geometry overlap (da Liu)
Date: 09 Jan, 2008
From: Gabriele Cosmo <Gabriele Cosmo>

Hi,

> I had a problem,I want to get a box whose material is Cu,
> and there is a hole in the box,which is filled with air.
> ...

to achieve this you should simply place 'beamHoleLogical' inside
'gemCu2Logical', i.e.:

       new G4PVPlacement(0,                                       // Rotation matrix
                         G4ThreeVector(0.,0.,-(0.1*cm+0.2*cm+0.003*cm)), // Translation vector
                         beamHoleLogical,                     // Logical volume
                         "BeamHole_Physical",               // Name
                         gemCu2Logical,                        // Mother volume
                         false,                                  // Unused boolean
                         0);                                      // Copy number

Cheers, Gabriele

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: The different Geometry overlap"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]