Problem 1048 - Matrix don't seem to work in GDML under geant4.9.2
Summary: Matrix don't seem to work in GDML under geant4.9.2
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: persistency/gdml (show other problems)
Version: 9.2
Hardware: PC Linux
: P5 normal
Assignee: tatiana.nikitina
URL:
Depends on:
Blocks:
 
Reported: 2009-02-18 16:54 CET by John Watts
Modified: 2009-03-02 14:52 CET (History)
0 users

See Also:


Attachments
matricesandloop.gdml from GDML_2.10.0/CPPGDML/Examples/g4g0gdml (2.69 KB, text/plain)
2009-02-18 16:54 CET, John Watts
Details

Note You need to log in before you can comment on or make changes to this problem.
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.