Problem 527 - cannot retrieve stored physics tables
Summary: cannot retrieve stored physics tables
Status: CLOSED LATER
Alias: None
Product: Geant4
Classification: Unclassified
Component: run (show other problems)
Version: 5.2
Hardware: PC Linux
: P2 normal
Assignee: kurasige
URL:
Depends on:
Blocks:
 
Reported: 2003-09-04 07:28 CEST by Maya.Stavrianakou
Modified: 2005-02-07 05:19 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 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.