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 next message
Maria Patsyuk is currently offline  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.
Re: DIRC simulation in GEANT3 and GEANT4 using geometry from a .root file [message #11391 is a reply to message #11388] Wed, 22 December 2010 21:39 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hallo Maria,

Can you put your modified stuff in the development branch so that I can test it? or make it readable for all on the GSI cluster. I could not access any of your files for testing.


regards

Mohammad

Re: DIRC simulation in GEANT3 and GEANT4 using geometry from a .root file [message #11392 is a reply to message #11391] Thu, 23 December 2010 09:46 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Hallo, Mohammad,

I made readable the trunk directory with all the changed stuff.

So the geometry is in geometry/dirc_l0.root,
simulation macro I used macro/drc/work1/LookupReco/sim_dirc.C
detector class drc/PndDrc.cxx

Thank you very much!
Previous Topic: radiation map for panda
Next Topic: Detector components colors in GEANT3
Goto Forum:
  


Current Time: Tue Nov 26 08:04:33 CET 2024

Total time taken to generate the page: 0.00750 seconds