GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Parameter directory
Parameter directory [message #7146] Fri, 01 August 2008 18:41
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Dear all,
many detectors have their ASCII parameters in their directories, such as:

emc.par
mvd.digi.par
rpc.par
all.par (everything for lhetrack correlation)

Each time something changes in the local directory, one should check if he is using the correct parameters or not. When trying to merge the signals from different detectors, such as for the lhetrack code, this starts to become "nasty", each time one should check the latest version of the parameters, and then merge everything together again and again (few minutes, ok).

In order to make life easier, I have created the directory macro/params, with all the parameter files for tpc mvd emc and lhe.
There is even a script, create_par.sh. When one wants to merge all the different params into one single file, all.par, he should just type:

. ./create_par.sh

It would be nice if detector people could update the param files in this directory, and not in their local place. So that one can have with a single svn update + script the last version, instead of doing cut&paste inside other directories.

In this way, in the macro, one should link to the ../params/all.par file, without caring about changes or if he is using the last version.

I think this makes the life easier, as soon as we wo not have a DB running.

Comments are welcome.
 
Read Message
Previous Topic: Pipe design
Next Topic: New external packages fairsoft_July08
Goto Forum:
  


Current Time: Tue Nov 26 12:59:16 CET 2024

Total time taken to generate the page: 0.00738 seconds