GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Persitancy in Tasks
Persitancy in Tasks [message #10209] Wed, 17 February 2010 09:16 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hello everyone,

Stefano asked me to implement a SetPersistance() function to my Digi tasks and make them switch on/off the saving of my digis (thus reducing disk space). In principle this is no problem to do, but I realised that wrapper tasks like PndMvdDigiTask can pass this only in a difficult way. Bu I have a solution.
I propose to extend FairTask by a boolean flag with a Set function. The set function then has to iterate through all subtasks, like it is done for the verbosity flag. All Tasks then can unse this flag in the persistancy flag of their TClonesArray's IO. E.g like:
Quote:


ioman->Register("MVDStripDigis", "MVD", fStripArray, fPersistance);



How are the opinions on that?

Kind regards, Ralf.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Diff. LX dists
Next Topic: Crash in PndDpmDirect
Goto Forum:
  


Current Time: Tue Nov 19 18:55:35 CET 2024

Total time taken to generate the page: 0.00762 seconds