TMVA - how to reduce log output?

Hello!

Is there in TMVA a way to get rid of warnings when testing a factory? I get quite some “Expression resolves to infinite value (NaN)…” messages and “Event XY rejected” messages I am currently not really interested in, producing quite a big logfile…

One special feature I would like to turn off is the DrawProgressBar, which ends on my system in quite funny and big output.

Cheers
Patrick

I have forwarded your question to the TMVA experts

Rene

Hi Patrick,

You cannot individually switch off the progress bar or warning output. However, you can make TMVA shut up completely by using the “Silent” option when creating the Factory:

TMVA::Factory *factory = new TMVA::Factory( “TMVAnalysis”, outputFile, “!V:Silent:!Color”);

The “!Color” option also simplifies the progress bar (in the non-Silent mode), you can try.

Cheers,
Andreas

Thanks for the help!

Best wishes
Patrick