Problem 186

Summary: navigator
Product: Examples/Basic and Novice Reporter: Michel.Maire
Component: N02Assignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: normal CC: John.Apostolakis
Priority: P2    
Version: 2.0   
Hardware: All   
OS: OSF/1   

Description Michel.Maire 2001-01-10 08:19:15 CET
In examples/novice/N02 the first chamber is tangent to the
Tracker box. This chamber is not found by the incomimg particle,
as it can be seen easily by shooting a geantino.
Comment 1 Gabriele Cosmo 2001-01-15 01:34:59 CET
Problem under investigation.
Comment 2 Gabriele Cosmo 2001-01-31 11:17:59 CET
A fix has been introduced in ExN02ChamberParameterisation and
ExN02DetectorConstruction. examples/novice/N02 has been tagged
"exampleN02-V03-00-00" and submitted to test.
Parameterisation of chambers was not taking into account that copyNo starts
from 0, therefore dimensions of the first chamber (parametrised G4Box) were
set to negative values (!).
This was causing the side-effect of visualising a "ghost" chamber (the first
one close to the target), which was correctly NOT seen by tracking.
Therefore, number of chambers is now reduced to 5 but global positioning
and parameters have been preserved.
A protection will be added in G4Box::Set[X,Y,Z]HalfLength() functions to
forbid assignment of negative values.