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

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 138 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 151 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 142 of file MVAComputer.h.

References PhysicsTools::VarProcessor::eval().

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

Definition at line 152 of file MVAComputer.h.

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

Definition at line 147 of file MVAComputer.h.

References PhysicsTools::MVAComputer::output.

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

Definition at line 150 of file MVAComputer.h.

150 { return values_; }

Member Data Documentation

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

Definition at line 155 of file MVAComputer.h.

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

Definition at line 156 of file MVAComputer.h.

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

Definition at line 154 of file MVAComputer.h.