GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » STT lookup table.
Re: STT lookup table. [message #8358 is a reply to message #8355] Thu, 30 April 2009 13:58 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
I think you could create, at the task initialization, an object which stores the lookup table according to the parameter file, and then just using it at each point.
In this way you access only one time to the parameter file (and I think the I/O is the slowest part of the mechanism), and you can use the numbers inside the object as many times you want and fast enough, considering that all the numbers are already stored in the memory and there is no I/O anymore (of course it depends also on the size of the lookup table).

Or maybe I am missing some points and I have not understood the question Smile
 
Read Message
Read Message
Read Message
Previous Topic: Detector geoemtries in own folder
Next Topic: New safety feature
Goto Forum:
  


Current Time: Wed Nov 06 06:51:36 CET 2024

Total time taken to generate the page: 0.00731 seconds