GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Barrel DIRC simulation in GEANT3 and GEANT4 became slow!
Barrel DIRC simulation in GEANT3 and GEANT4 became slow! [message #11127] Wed, 27 October 2010 13:15 Go to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Hello,

some time ago (I mean I update whole svn regulary, so after one of the updates) simultaion of barrel DIRC became really slow - in GEANT3 it is now 23 s/event and in GEANT4 it is 120(!!) s/event.

In the simulation I use only barrel DIRC detector (no Pipe) and shoot 3GeV pions from the origin, box generator has following parameters (the macro is /u/mpatsyuk/PANDA/trunk/macro/drc/work/sim_dirc.C):

FairBoxGenerator* boxGen = new FairBoxGenerator(211, 1);
boxGen->SetPRange(3.,3.);
boxGen->SetPhiRange(12., 12.1);
boxGen->SetThetaRange(75, 75);
boxGen->SetXYZ(0., 0., 0.);

The simulation used to be at least 6 s/event in GEANT3 with the same macro!
Since then we have slightly changed the geometry of barrel DIRC, but that should not matter..?

I would be grateful if you tell me how to speed up the simulation again (both in g3 and g4).
Re: Barrel DIRC simulation in GEANT3 and GEANT4 became slow! [message #11157 is a reply to message #11127] Tue, 02 November 2010 17:38 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *4-87-r.retail.telecomitalia.it
Hi,
I would suggest to retrieve older versions of the drc package as well as "geometry", to understand exactly which revision number has increased the amount of computing time. The changes in geometry could affect the cpu time, if you have introduced many volumes or with some update in the media definition, but your numbers seem quite big.
Checking the svn updates I cannot see strong modifications which could affect the computing time, and in theory nothing was changed in the external packages... Are you using maybe GSI machines? Which external packages exactly? (etch32/etch64/lenny64?)
Re: Barrel DIRC simulation in GEANT3 and GEANT4 became slow! [message #11168 is a reply to message #11157] Fri, 05 November 2010 15:10 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Thank you for the answer,

I'm using GSI mashines, like lxi010 and lxi012
and external packages etch32.
Previous Topic: Problems with PandaRootCharmoniumTutorial
Next Topic: Problem with CharmoniumTutorial and Geant4
Goto Forum:
  


Current Time: Sun May 05 13:41:15 CEST 2024

Total time taken to generate the page: 0.00904 seconds