|Message: Re: Problem with G4PVReplica||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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 (22.214.171.124), 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