GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Bug in DIRC with geant4
icon13.gif  Bug in DIRC with geant4 [message #12200] Tue, 05 July 2011 13:36 Go to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
I am using the following DIRC initialization:

  PndDrc *Drc = new PndDrc("DIRC", kTRUE);
  Drc->SetGeometryFileName("dirc_l0_p0.root");
  Drc->SetRunCherenkov(kFALSE); // for fast sim Cherenkov -> kFALSE
  fRun->AddModule(Drc);


It seems to work with Geant3, but with geant4 I have the following crash:

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 ***


A fix is required, I suppose.
Re: Bug in DIRC with geant4 [message #12213 is a reply to message #12200] Tue, 05 July 2011 18:02 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *pools.arcor-ip.net
This bug should be already fixed.
Try to update the geometry directory or just the dirc_l0_p0.root file.

Re: Bug in DIRC with geant4 [message #12214 is a reply to message #12213] Tue, 05 July 2011 18:15 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
I have just tried with the latest trunk but it crashes again.
Re: Bug in DIRC with geant4 [message #12215 is a reply to message #12214] Tue, 05 July 2011 22:13 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *pools.arcor-ip.net
to run the simulation correctly please make the following changes in the gconfig/g4Config.C file:

instead of

TG4RunConfiguration* runConfiguration = new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts+specialControls");

use

TG4RunConfiguration* runConfiguration = new TG4RunConfiguration("geomRootToGeant4", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts+specialControls");

Hope this helps
Previous Topic: Crash in FairTSBufferFunctional
Next Topic: new release pandaroot: "may11"
Goto Forum:
  


Current Time: Sun Nov 24 06:31:21 CET 2024

Total time taken to generate the page: 0.01049 seconds