Problem 80

Summary: bug in tracking inside replicated volumes
Product: Geant4 Reporter: Sanya.Solodkov
Component: geometry/volumesAssignee: Katsuya.Amako
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 1.1   
Hardware: PC   
OS: Linux   

Description Sanya.Solodkov 2000-04-07 11:31:31 CEST
One module of Tile calorimeter in ATLAS has 307 trapezoid periods
if I put all 307 periods one by one using Placement - program works
and if I put 307 periods using Replica and send any particle along
replica axis - particle never exits from the module
If I put 300 periods instead of 307 and use replica, I get
G4SmartVoxelHeader::BuildReplicaVoxels probable error in replicated geometry,
logical volume TileModule_log

*** G4Exception: Aborting execution ***

The program was tested on atlinux5 with geant4.1.0
and on private RedHat6.1 with geant4.1.1
The program is in /afs/cern.ch/user/t/tilecal/geant4/tileTB
in order to produce the output given below one needs to do:

cd /afs/cern.ch/user/t/tilecal/geant4
. G4setup
export TileTB_Nperiods=307
export TileTB_Period=replica
tileTB run/macro/nu_z.mac

*********************************************************************************************************
* G4Track Information:   Particle = nu_mu,   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng
NextVolume ProcName
    0  2.5e+03        0  2.7e+03      29.8        0        0         0
Scintillator  1           initStep
    1  2.5e+03        0  2.7e+03      29.8        0     2.11      2.11 Absorber
Elements           Transportation
    2  2.5e+03        0 2.71e+03      29.8        0     6.13      8.24
Scintillator  2           Transportation
    3  2.5e+03        0 2.71e+03      29.8        0        3      11.2 Absorber
Elements           Transportation
    4  2.5e+03        0 2.72e+03      29.8        0     6.13      17.4
Scintillator  1           Transportation
    5  2.5e+03        0 2.72e+03      29.8        0        3      20.4 Absorber
Elements           Transportation
    6  2.5e+03        0 2.73e+03      29.8        0     6.13      26.5
Scintillator  2           Transportation
    7  2.5e+03        0 2.73e+03      29.8        0        3      29.5 Absorber
Elements           Transportation
    8  2.5e+03        0 2.74e+03      29.8        0     6.13      35.6
Scintillator  1           Transportation
    9  2.5e+03        0 2.74e+03      29.8        0        3      38.6 Absorber
Elements           Transportation
   10  2.5e+03        0 2.74e+03      29.8        0     6.13      44.8
Scintillator  2           Transportation
   11  2.5e+03        0 2.75e+03      29.8        0        3      47.8 Absorber
Elements           Transportation
   12  2.5e+03        0 2.75e+03      29.8        0     6.13      53.9
Scintillator  1           Transportation
   13  2.5e+03        0 2.76e+03      29.8        0        3      56.9 Absorber
Elements           Transportation
   14  2.5e+03        0 2.76e+03      29.8        0     6.13        63
Scintillator  2           Transportation
   15  2.5e+03        0 2.77e+03      29.8        0        3        66 Absorber
Elements           Transportation
   16  2.5e+03        0 2.77e+03      29.8        0     6.13      72.1
Scintillator  1           Transportation
   17  2.5e+03        0 2.78e+03      29.8        0        3      75.1 Absorber
Elements           Transportation
   18  2.5e+03        0 2.78e+03      29.8        0     6.13      81.3
Scintillator  2           Transportation
   19  2.5e+03        0 2.78e+03      29.8        0        3      84.3 Absorber
Elements           Transportation
   20  2.5e+03        0 2.79e+03      29.8        0     6.13      90.4
Scintillator  1           Transportation
   21  2.5e+03        0 2.79e+03      29.8        0        3      93.4 Absorber
Elements           Transportation
   22  2.5e+03        0  2.8e+03      29.8        0     6.13      99.5
Scintillator  2           Transportation
   23  2.5e+03        0  2.8e+03      29.8        0        3       103
Scintillator  2           Transportation
   24  2.5e+03        0  2.8e+03      29.8        0        0       103
Scintillator  2           Transportation
   25  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   26  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   27  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   28  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   29  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   30  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   31  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   32  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
   33  2.5e+03        0  2.8e+03      29.8        0        0       103 Absorber
Elements           Transportation
Comment 1 Gabriele Cosmo 2000-04-10 05:33:59 CEST
This bug-report is a duplicate of problem report #44.
The problem has been identified as affecting the navigation in replicas
(therefore belonging to geometry/volumes subcategory, not tracking) and is
currently under investigation.
To temporarly overcome the problem, use normal placements instead.
Thanks for having provided a testbed program.


*** This bug has been marked as a duplicate of 44 ***