Warning in FairPrimaryGenerator [message #16467] |
Wed, 30 April 2014 08:15 |
Klaus Götzen
Messages: 293 Registered: June 2006 Location: GSI
|
first-grade participant |
From: *gsi.de
|
|
Hi,
when using an EvtGen decay file with a PDG code not in TDatabasePDG, FairPrimaryGenerators prints for every single decay some warning like
-W FairPrimaryGenerator: PDG code 88880 not found in database. This warning can be savely ignored
Is there a (verbose-)switch which allows to suppress this warning? If not, would it be possible to implement something to get rid of this warning?
Best and thanks,
Klaus
|
|
|
|
|
|
|
|
|
|
Re: Warning in FairPrimaryGenerator [message #16475 is a reply to message #16472] |
Wed, 30 April 2014 10:42 |
Shyam Kumar
Messages: 78 Registered: September 2012 Location: Mumbai, Maharashtra India
|
continuous participant |
From: 14.139.97*
|
|
some thing verbose like will be good in this case I have not seen any loop on verbose in the source code FairPrimaryGenerator.cxx. But one can put the loops like
if (verbose>1){
cout << "\033[5m\033[31m -W FairPrimaryGenerator: PDG code " << pdgid << " not found in database. This warning can be savely ignored.\033[0m " << endl;
}
Thank you
[Updated on: Wed, 30 April 2014 10:56] Report message to a moderator
|
|
|
|
|