Problem 220 - Replicated volumes in ROGeometry
Summary: Replicated volumes in ROGeometry
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/management (show other problems)
Version: other
Hardware: Other Windows
: P2 enhancement
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2001-02-19 11:34 CET by mattiuzzi
Modified: 2001-02-20 01:11 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description mattiuzzi 2001-02-19 11:34:45 CET
I'm building an example in which the volumes of the readout geometry DO NOT
touch. I had to change

G4SmartVoxelHeader::BuilReplicaVoxels lines 230:231

  fminExtent= -(width + offset) * nReplicas * 0.5;
  fmaxExtent=  (width + offset) * nReplicas * 0.5;

to allow for these RO geometries...

original is

  fminExtent= -width*nReplicas * 0.5;
  fmaxExtent=  width*nReplicas * 0.5;

If offset if > 0.05 of the size that causes an exception...
Comment 1 Gabriele Cosmo 2001-02-20 01:11:59 CET
The specifications for G4PVReplica foresee that a replica is 'slicing' the
mother volume and therefore the whole mother volume must be filled by replicas
and have no offsets. You should use placements instead in your case.