16 const std::vector<std::string>&
variables,
26 for (std::vector<std::string>::const_iterator it =
variables.begin(); it !=
variables.end(); ++it) {
32 for (std::vector<std::string>::const_iterator it =
spectators.begin(); it !=
spectators.end(); ++it) {
54 const std::vector<std::string>&
variables,
58 for (std::vector<std::string>::const_iterator it =
variables.begin(); it !=
variables.end(); ++it)
62 for (std::vector<std::string>::const_iterator it =
spectators.begin(); it !=
spectators.end(); ++it)
75 const std::vector<std::string>&
variables,
94 if (
inputs.count(it->first) > 0)
95 it->second.second =
inputs.at(it->first);
98 <<
"Input variable " << it->first
99 <<
" is missing from the list of inputs. The returned discriminator value might not be sensible.";
106 if (
inputs.count(it->first) > 0)
107 it->second.second =
inputs.at(it->first);
110 <<
"Spectator variable " << it->first
111 <<
" is missing from the list of inputs. The returned discriminator value might not be sensible.";
129 if (
inputs.count(it->first) > 0)
130 vars[it->second.first] =
inputs.at(it->first);
133 <<
"Input variable " << it->first
134 <<
" is missing from the list of inputs. The returned discriminator value might not be sensible.";
151 edm::LogError(
"InitializationError") <<
"TMVAEvaluator not properly initialized.";
156 edm::LogError(
"MissingInputs") <<
"Too few inputs provided (" <<
inputs.size() <<
" provided but "
158 <<
" spectator variables expected).";
161 edm::LogError(
"MissingInputVariable(s)") <<
"Too few input variables provided (" <<
inputs.size()
162 <<
" provided but " <<
mVariables.size() <<
" expected).";
169 <<
"Use of spectator variables with GBRForest is not supported. Spectator variables will be ignored.";