CMS 3D CMS Logo

Public Member Functions | Public Attributes

PhysicsTools::MVAComputer::EvalContext Struct Reference

List of all members.

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]

Definition at line 139 of file MVAComputer.h.

                                                                       :
                        values_(values), conf_(conf), n_(n) {}

Member Function Documentation

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

Definition at line 151 of file MVAComputer.h.

{ return conf_; }
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().

                { proc->eval(values_, conf_, output, outConf, loop, offset); }
unsigned int PhysicsTools::MVAComputer::EvalContext::n ( void  ) const [inline]

Definition at line 152 of file MVAComputer.h.

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

Definition at line 147 of file MVAComputer.h.

References output().

Referenced by output().

                { return values_[conf_[output]]; }
double* PhysicsTools::MVAComputer::EvalContext::values ( ) const [inline]

Definition at line 150 of file MVAComputer.h.

{ return values_; }

Member Data Documentation

Definition at line 155 of file MVAComputer.h.

Definition at line 156 of file MVAComputer.h.

Definition at line 154 of file MVAComputer.h.