Problem 527

Summary: cannot retrieve stored physics tables
Product: Geant4 Reporter: Maya.Stavrianakou
Component: runAssignee: kurasige
Status: CLOSED LATER    
Severity: normal    
Priority: P2    
Version: 5.2   
Hardware: PC   
OS: Linux   

Description Maya.Stavrianakou 2003-09-04 07:28:07 CEST
I can successfully store the physics tables (all I see when doin that is
messages of the type "Success to store the PhysicsTables in physicsTables" but I
fail to retrieve them.

First problem: when trying to retrieve them without increasing the verbosity,
there is no report like "CheckForRetrievePhysicsTable failed"; G4 simply
rebuilds everything. This is *very* confusing.

Second problem: after increasing the verbosity to 3 (having looked at the
relevant G4 code) I get some information concerning the failure:

G4VUserPhysicsList::SetParticleCuts   Retrieve Cut Values for
G4ProductionCutsTable::CheckMaterialInfo   Bad data format
G4VUserPhysicsList::BuildPhysicsTable   Retrieve Physics Table for gamma
CheckForRetrievePhysicsTable failed
G4VUserPhysicsList::BuildPhysicsTable   for gamma

OR

a message complaining about the name of a material.

Since G4 successfully wrote these files, how can it be that it fails to read
them back?

This is important for us, given that we are doing very intensive debugging for
our data challenge preproduction and are suffering by the rather long physics
initialization time.
Comment 1 kurasige 2003-09-14 00:37:59 CEST
The material name with space can not be retreived in ascii mode because space
is recognized as a separator betwenn name and density for version 5.2. Material
name with space can be used in binary mode.
   Problems in binary mode are under investigation.
Comment 2 kurasige 2003-09-20 01:42:59 CEST
The material name with space can not be retreived only in binary mode  because
space is recognized as a separator betwenn name and density in ascii mode.
These problems will be fixed later version.
Comment 3 kurasige 2005-02-07 05:19:59 CET
The material name and/or region name with space can not be retreived in ascii
mode because space is recognized as a separator.

Binary mode (default mode) is recommeded to be used for Storing/Retrieving
Physics Table. Ascii mode is provided  only for debugging.