GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Process announcement in Tasks
Process announcement in Tasks [message #8064] Fri, 13 March 2009 14:39 Go to next message
Lars Ackermann is currently offline  Lars Ackermann
Messages: 1
Registered: March 2009
Location: TU Dresden institute of n...
occasional visitor
From: 141.30.85*
Hi

Here a suggestion for the Tasks. While running long tasks it would be nice to get a process announcement:
e.g.
[ x % ] m events of n events done ..

There may should be a switch to set the announcement off, to set the screen frequency every t percent or every p events.

Thanks and a nice weekend

Lars
Re: Process announcement in Tasks [message #8065 is a reply to message #8064] Fri, 13 March 2009 14:43 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hi,
I think this should not go inside the tasks, but inside FairRun::Loop.
The loop should tell us the event number, maybe it could be set the refresh mode by a Set function (i.e. each 100 events print the event number).
If each task has his own cout, than one could see 10 times the same event number, which is not so nice.
I have done this modifications two years ago, but were never put inside svn, so now the files are lost. In each case it is just a matter of adding few line code.
Previous Topic: Beam pipe geometry
Next Topic: Event Dsiplay
Goto Forum:
  


Current Time: Fri Apr 26 23:49:31 CEST 2024

Total time taken to generate the page: 0.00577 seconds