Problem 1048

Summary: Matrix don't seem to work in GDML under geant4.9.2
Product: Geant4 Reporter: John Watts <john.w.watts>
Component: persistency/gdmlAssignee: tatiana.nikitina
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: 9.2   
Hardware: PC   
OS: Linux   
Attachments: matricesandloop.gdml from GDML_2.10.0/CPPGDML/Examples/g4g0gdml

Description John Watts 2009-02-18 16:54:28 CET
Created attachment 36 [details]
matricesandloop.gdml from GDML_2.10.0/CPPGDML/Examples/g4g0gdml

Matrix don't seem to work under geant4.9.2. I tried the matirx example, matricesandloop.gdml from GDML_2.10.0/CPPGDML/Examples/g4g0gdml in the load_gdml of examples/extended/persistancy/gdml/G01. I got syntax errors.
Attached is matricesandloops.gdml. It was modified to point the geant4.9.2 gdml schema.

I am using CLHEP.2.0.4.2 and xerces-c-3.0.0 on an Operron running Scientific Linux 5.1
Here is my output:

[wattsjw@watts G01]$ load_gdml matricesandloops.gdml

Usage: load_gdml <intput_gdml_file:mandatory> <output_gdml_file:optional>

G4GDML: Reading 'matricesandloops.gdml'...
G4GDML: Reading definitions...
G4GDML: Reading materials...
G4GDML: Reading solids...

*** ExceptionHandler is not defined ***

*** G4Exception : InvalidExpression
      issued by : G4GDMLEvaluator::SolveBrackets()
Bracket mismatch: j]+m[j

Severity : *** Fatal Exception ***

*** G4Exception: Aborting execution ***
Aborted
[wattsjw@watts G01]$
Comment 1 tatiana.nikitina 2009-03-02 14:52:53 CET
 Yes, there are  problems with reading matrices in gdml for geant4.9.2.
 
 They are fixed and fix will be available in next geant4 release.