GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » DIRC simulation in GEANT3 and GEANT4 using geometry from a .root file
DIRC simulation in GEANT3 and GEANT4 using geometry from a .root file [message #11388] Wed, 22 December 2010 13:02 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *

I moved the Barrel DIRC geometry from detector class (PndDrc.cxx) to a .root file (geometry/dirc_l0.root) and now I can run the DIRC simulation only with GEANT3.

With GEANT4 simulation crashes both on 32-bit and 64-bit mashines with the following message:

Geant4 version Name: geant4-09-02-patch-02 (28-August-2009)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303

Info in <TG4RootNavMgr::Initialize>: Creating G4 hierarchy ...
Info in <TGeoManager::ConvertReflections>: Converting reflections in: FAIRGeom - FAIR geometry ...
Info in <TGeoManager::ConvertReflections>: Done
===> GEANT4 materials created and mapped to TGeo ones...
Cannot make material for volume: BarrelDIRC
Aborting in CreateLogicalVolume()

*** G4Exception: Aborting execution ***

the macro which creates geometry as a .root file is the following:

Do I have problems with materials??
But all the materials (media) are from the common file geometry/media_pnd.geo

Can somebody give me some hints about how to run the simulation usong g4?

Thank you.
Read Message
Read Message
Read Message
Previous Topic: radiation map for panda
Next Topic: Detector components colors in GEANT3
Goto Forum:

Current Time: Tue Sep 26 00:46:28 CEST 2023

Total time taken to generate the page: 0.00909 seconds