GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Runtime DB
Re: Runtime DB [message #5344 is a reply to message #5343] Wed, 31 October 2007 15:43 Go to previous messageGo to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
I will describe how I stored string in parameter file on example of emc. I don't uppload the code to svn, since it was just a test.

1. In PndEmcRecoPar.h defined data member

Text_t fEmcClusterPosMetodText[20];

2. In PndEmcRecoPar.cxx, in PndEmcRecoPar::putParams(CbmParamList *list)

list->add("EmcClusterPosMethodText",fEmcClusterPosMethodText,20);

3. In PndEmcRecoPar::getParams(CbmParamList *list)

if (!list->fill("EmcClusterPosMethodText",fEmcClusterPosMethodText,20)) return kFALSE;

4. In emc.par file defined the line
EmcClusterPosMethodText:s lilo

And that's it in principle.

Dima
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dch flow diagram
Next Topic: Drc Flow Diagram
Goto Forum:
  


Current Time: Thu Jan 27 21:40:22 CET 2022

Total time taken to generate the page: 0.01083 seconds