1 #ifndef PhysicsTools_MVAComputer_VarProcessor_h 2 #define PhysicsTools_MVAComputer_VarProcessor_h 74 inline const_iterator
end()
const {
return configs.end(); }
97 LoopCtx() : index_(0), offset_(0), size_(0) {}
98 inline unsigned int &
index() {
return index_; }
99 inline unsigned int &
offset() {
return offset_; }
100 inline unsigned int &
size() {
return size_; }
130 std::vector<double> &
deriv)
const;
135 double *output,
int *outConf,
unsigned int nOutput,
LoopCtx &ctx,
unsigned int &nOffset)
const {
159 config.push_back(config_);
175 inline operator bool()
const {
return cur; }
208 inline unsigned int size()
const {
return loop ? (conf[1] - conf[0]) : 1; }
234 if (*++outConf > pos)
235 output = start + *outConf;
247 inline operator bool()
const {
return cur; }
255 unsigned int prev = *conf;
256 conf += cur() - orig;
258 if (loop && conf >= loop) {
287 start(values + offset),
291 output(output + offset),
294 this->values += *this->conf;
295 if (loop && this->conf >= loop) {
297 this->loop =
nullptr;
330 virtual std::vector<double>
deriv(
ValueIterator iter,
unsigned int n)
const {
return std::vector<double>(); }
347 #endif // PhysicsTools_MVAComputer_VarProcessor_h
static std::string const input
Container::value_type value_type