Message: Re: Problem with G4PVReplica Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem with G4PVReplica 

Forum: Geometry
Re: None Problem with G4PVReplica (Chaw)
Date: 31 Oct, 2010
From: michel maire <michel maire>

On Thu, 28 Oct 2010 17:38:30 GMT, Gasser wrote:
> G4double expHall_x = 3*m; G4double expHall_y = 1.*m; G4double expHall_z
> = 1.*m;
> //pixel size G4double x_x=6.66*mm; G4double y_y=6.66*mm;

> pixels_phys= new
> G4PVReplica("pixels_phys",inter_log,experimentalHall_log,kXAxis,6,x_x,0)

 In User's Guide, chapter Geometry-Replicas (, it is said :

 G4PVReplica represents nReplicas volumes differing only in their positioning,and completely filling the containing mother volume.
 Consequently if a  G4PVReplica is 'positioned' inside a given mother it MUST be the mother's only  daughter volume. 
Replica's correspond to divisions or slices that completely  fill the mother volume and have no offsets.

 You replicate 6*x_x = 6*6.66 mm in a world of 3 m ...
 Futhermore, it is recommended not to do replication directly in world.
 Define an containing volume with fit exactly your replication.

> Another question, i would like to add another axis but i don't know...

 In code in attachement,
   nx cells  are replicated in a row
   ny rows   are replicated in a layer
   nz layers are replicated in a module
   one module is placed in world

   I hope it can help,   Michel


 Add Message Add Message
to: "Re: Problem with G4PVReplica"

 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 ]