GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » FairPrimaryGenerator
Re: FairPrimaryGenerator [message #16498 is a reply to message #16480] Wed, 30 April 2014 17:56 Go to previous messageGo to previous message
Malte Albrecht is currently offline  Malte Albrecht
Messages: 11
Registered: May 2012
occasional visitor
From: *ep1.ruhr-uni-bochum.de
Hi,

I have noticed that too, but ignored it up to now. If one tries to generate a lot of events (e.g. for background studies) the log files are getting huge, so it is urgent to get rid of that warning...
I have seen, that it is produced by a simple cout in FairPrimaryGenerator.cxx, isn't there a general Error-Logger in FairRoot that should be used for all warnings/errors!?

Maybe one could keep the warning, but just limit the output to lets say ten times (the first ten times it occurs)? That way one still could see that there is something wrong, but the log files dont get that large.

By the way: Is there a simple way to restrict the mass range e.g. of a pair of charged particles at the level of the generator? Then I dont have to produce tons of useless events for my background study...

Best regards,
Malte
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A bug in FairRootManager
Next Topic: Problem with read tree [SOLVED]
Goto Forum:
  


Current Time: Thu Mar 28 11:52:55 CET 2024

Total time taken to generate the page: 0.00840 seconds