26 #include "PhysicsTools/MVAComputer/interface/ProcessRegistry.icc" 65 else if (!
config.loop && ctx)
70 for (std::vector<Variable::Flags>::const_iterator iter =
flags.begin(); iter !=
flags.end(); ++iter)
88 std::unique_ptr<PhysicsTools::VarProcessor::Dummy>
tmp{
97 <<
"Caught exception when building processor: " <<
name <<
" message: " << std::endl
98 <<
e.what() << std::endl;
114 std::vector<double> &
deriv)
const {
121 unsigned int size = 0;
130 <<
"Derivative matrix implausible size in " <<
typeid(*this).name() <<
"." << std::endl;
137 for (
unsigned int i = 0;
i <
out;
i++) {
138 for (
unsigned int j = 0;
j <
size;
j++)
142 std::cout <<
"----------------" << std::endl;
149 unsigned int sz = (outConf[out_] -
in) *
in;
150 unsigned int oldSz =
deriv.size();
156 if (begin < &
deriv.front() + oldSz)
162 double *m0 = &
matrix.front();
168 int *curConf = conf + cur();
169 unsigned int pos = *curConf;
171 std::cout <<
" -> cur = " << cur() <<
", pos = " <<
pos << std::endl;
178 unsigned int n =
loop ? (curConf[1] - curConf[0]) : 1;
179 for (
unsigned int j = 0;
j <
n; m0++,
j++,
pos++) {
190 for (
unsigned int k = 0;
k <
in;
k++)
203 std::cout <<
"================" << std::endl;
205 for (
unsigned int j = 0;
j <
in;
j++)
209 std::cout <<
"================" << std::endl;
222 registerProcess(
char const *,
Log< level::Error, false > LogError
static std::string const input
edmplugin::PluginFactory< PhysicsTools::VarProcessor::PluginFunctionPrototype > VPPluginFactory
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
config
parse the configuration file
std::string typeDemangle(char const *mangledName)