| Summary: | navigator | ||
|---|---|---|---|
| Product: | Examples/Basic and Novice | Reporter: | Michel.Maire |
| Component: | N02 | Assignee: | 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
Problem under investigation. 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. |