Problem 210 - magnetic field with Vacuum
Summary: magnetic field with Vacuum
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/magneticfield (show other problems)
Version: 2.0
Hardware: PC Linux
: P2 normal
Assignee: John Apostolakis
URL:
Depends on:
Blocks:
 
Reported: 2001-01-29 10:22 CET by Michel.Maire
Modified: 2002-01-23 10:35 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 Michel.Maire 2001-01-29 10:22:27 CET
The macro below, to be run with extented/electromagnetic/TestEm5,
show that it is not possible to set a magnetic field in the World,
if this World is made of low density material, like "Galactic".

#
# Macro file for the initialization phase of "TestEm5.cc"
#
# It creates the default geometry (simple absorber box )
#
/control/verbose 2
/run/verbose 2
#
/calor/setWorldMat Air
/calor/setAbsMat XenonGas
/calor/setField 10 tesla
#
/gun/particle proton
/gun/energy 10 MeV
/tracking/verbose 1
#
/step/setMaxStep 1 mm
/run/beamOn 10
#
##/calor/setWorldMat Air
##/calor/setAbsMat Galactic
##/run/beamOn 10
#
##/calor/setWorldMat Galactic
##/calor/setAbsMat XenonGas
##/run/beamOn 10
Comment 1 John Apostolakis 2001-06-20 12:35:59 CEST
A protection has been added in the magnetic field classes which corrects the
problem seen in this case.  The tag containing these fixes geomvol-V03-01-08 is
now accepted, and should appear in the next public release, 3.2
Comment 2 Michel.Maire 2001-07-16 07:32:59 CEST
I tried Geant4 V3.2, the problem seen with the attached macro is still here.
Comment 3 John Apostolakis 2002-01-23 10:35:59 CET
The changes in Geant4 3.2 were activated by default.
This has now been corrected -- and the fixes have been included in Geant4 4.0.