hi, this is a basic question indeed:
how can one suppress the warning messages about missing branches when reading a ttree?
Error in TTree::SetBranchStatus: unknown branch ->
of course, as suggested in the past, one can simply comment the corresponding branch, but does ROOT implement some feature, like verbosity level, such that these error messages will be automatically suppressed?
thanks.
#include "TError.h"
gErrorIgnoreLevel = kInfo; // The default is kError
gErrorIgnoreLevel = kFatal; // Explicitly remove all messages
gErrorIgnoreLevel = kError; // Only error message (default)
gErrorIgnoreLevel = kWarning; // error and warning message
gErrorIgnoreLevel = kNote; // error, warning and note
gErrorIgnoreLevel = kInfo; // Display all information (same as -v)
Rene