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.
I have forwarded your question to the TMVA experts
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.