CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
PhysicsTools::MVAComputer::EvalContext Struct Reference

#include <MVAComputer.h>

Public Member Functions

int * conf () const
 
void eval (const VarProcessor *proc, int *outConf, double *output, int *loop, VarProcessor::LoopCtx &ctx, unsigned int offset, unsigned int out) const
 
 EvalContext (double *values, int *conf, unsigned int n)
 
unsigned int n () const
 
double output (unsigned int output) const
 
double * values () const
 

Public Attributes

int * conf_
 
unsigned int n_
 
double * values_
 

Detailed Description

Definition at line 136 of file MVAComputer.h.

Constructor & Destructor Documentation

PhysicsTools::MVAComputer::EvalContext::EvalContext ( double *  values,
int *  conf,
unsigned int  n 
)
inline

Member Function Documentation

int* PhysicsTools::MVAComputer::EvalContext::conf ( ) const
inline

Definition at line 150 of file MVAComputer.h.

void PhysicsTools::MVAComputer::EvalContext::eval ( const VarProcessor proc,
int *  outConf,
double *  output,
int *  loop,
VarProcessor::LoopCtx ctx,
unsigned int  offset,
unsigned int  out 
) const
inline

Definition at line 140 of file MVAComputer.h.

References PhysicsTools::VarProcessor::eval().

144  { proc->eval(values_, conf_, output, outConf, loop, ctx, offset); }
TrainProcessor *const proc
Definition: MVATrainer.cc:101
int loop
CMSSW
double output(unsigned int output) const
Definition: MVAComputer.h:146
unsigned int PhysicsTools::MVAComputer::EvalContext::n ( ) const
inline

Definition at line 151 of file MVAComputer.h.

151 { return n_; }
double PhysicsTools::MVAComputer::EvalContext::output ( unsigned int  output) const
inline

Definition at line 146 of file MVAComputer.h.

References PhysicsTools::MVAComputer::output.

double* PhysicsTools::MVAComputer::EvalContext::values ( ) const
inline

Definition at line 149 of file MVAComputer.h.

149 { return values_; }

Member Data Documentation

int* PhysicsTools::MVAComputer::EvalContext::conf_

Definition at line 154 of file MVAComputer.h.

unsigned int PhysicsTools::MVAComputer::EvalContext::n_

Definition at line 155 of file MVAComputer.h.

double* PhysicsTools::MVAComputer::EvalContext::values_

Definition at line 153 of file MVAComputer.h.