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, 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 149 of file MVAComputer.h.

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

Definition at line 140 of file MVAComputer.h.

References PhysicsTools::VarProcessor::eval().

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

Definition at line 150 of file MVAComputer.h.

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

Definition at line 145 of file MVAComputer.h.

References PhysicsTools::MVAComputer::output.

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

Definition at line 148 of file MVAComputer.h.

148 { return values_; }

Member Data Documentation

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

Definition at line 153 of file MVAComputer.h.

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

Definition at line 154 of file MVAComputer.h.

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

Definition at line 152 of file MVAComputer.h.