Hi I was reading gdml file in ROOT 6.14.
I am using following command on terminal
It gives me error
Error: Unsupported GDML Tag Used :triangular. Please Check Geometry/Schema.
Medium: Gold, Not Yet Defined!
Solid: air_gold-SOL, Not Yet Defined!
Info in <TGeoManager::SetTopVolume>: Top volume is air_gold. Master volume is air_gold
You need to use at least ROOT v6-21 when support for tessellated shapes was added. Your files are missing the material definition, which will prompt some errors. However, the ROOT GDML parser expects currently a field named “type” for each triangular facet, like in:
Can you give me some idea OR Hint is there master version of Geant4 is also available so that I should read these gdml files in geant4 framework.
As I have to use these gdml file there in Geant4 for performing the simulation with proton beam on these geometry. Because existing geant4 (v geant4.10.05) are not be able to read
Attached is the error
The problem is not that you use a wrong version of Geant4, but that your files do contain errors. The volumes you create declare that they use some material, but the material definition is missing. For example, your file shield_aluminum.gdml reads at the end:
I tried to add those lines to define the material in the gdml file as you suggested.
I am trying to read and visualise that gdml file in persistency/gdml/G01 example in Geant4.
But still see blank screen without any geometry (see attachment)
I dont understand why?
I saw the below message (with verbosity error) at the time of compiling the gdml file in Geant4 under gdml example G01
Visualization verbosity changed to errors (2)
Attributes available for modeling and filtering with
Event ID (EventID): G4int
Run ID (RunID): G4int
Charge (Ch): unit: e+ (G4double)
Track ID (ID): G4int
Initial kinetic energy (IKE): G4BestUnit (G4double)
Initial momentum magnitude (IMag): G4BestUnit (G4double)
Initial momentum (IMom): G4BestUnit (G4ThreeVector)
No. of points (NTP): G4int
PDG Encoding (PDG): G4int
Parent ID (PID): G4int
Particle Name (PN): G4String
Auxiliary Point Position (Aux): G4BestUnit (G4ThreeVector)
Step Position (Pos): G4BestUnit (G4ThreeVector)
Visualization verbosity changed to warnings (3)
But I dont know how to fix it. Only I see the blank screen from Geat4, no geometry