DIRC simulation in GEANT3 and GEANT4 using geometry from a .root file [message #11388] |
Wed, 22 December 2010 13:02 |
Maria Patsyuk
Messages: 58 Registered: April 2010
|
continuous participant |
From: *gsi.de
|
|
Hello,
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
WWW : http://cern.ch/geant4
*************************************************************
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:
/u/mpatsyuk/PANDA/trunk/macro/drc/createRootGeoFile.C
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.
|
|
|