Public Member Functions | Public Attributes | List of all members
cvn::Results Class Reference

Result, basic output of Regression CVN neural net. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/CVN/func/Results.h"

Public Member Functions

 Results (const float *output, unsigned int &nOutputs, const float *outputEvtE, unsigned int &nOutputsEvtE, const float *outputEvt4MapE, unsigned int &nOutputsEvt4MapE)
 
 Results ()
 
unsigned int NOutput () const
 Index of maximum value in vector. More...
 
unsigned int NOutputEvtE () const
 
unsigned int NOutputEvt4MapE () const
 

Public Attributes

std::vector< float > fOutput
 Vector of outputs from neural net. More...
 
std::vector< float > fOutputEvtE
 Vector of outputs from neural net. More...
 
std::vector< float > fOutputEvt4MapE
 Vector of outputs from neural net. More...
 

Detailed Description

Result, basic output of Regression CVN neural net.

Definition at line 15 of file Results.h.

Constructor & Destructor Documentation

cvn::Results::Results ( const float *  output,
unsigned int nOutputs,
const float *  outputEvtE,
unsigned int nOutputsEvtE,
const float *  outputEvt4MapE,
unsigned int nOutputsEvt4MapE 
)

Definition at line 12 of file Results.cxx.

References fOutput, fOutputEvt4MapE, fOutputEvtE, and MECModelEnuComparisons::i.

12  :
13  fOutput(nOutputs),fOutputEvtE(nOutputsEvtE), fOutputEvt4MapE(nOutputsEvt4MapE)
14  {
15  for(size_t i = 0; i < nOutputs; ++i) fOutput[i] = output[i];
16  for(size_t i = 0; i < nOutputsEvtE; ++i) fOutputEvtE[i] = outputEvtE[i];
17  for(size_t i = 0; i < nOutputsEvt4MapE; ++i) fOutputEvt4MapE[i] = outputEvt4MapE[i];
18  }
ofstream output
std::vector< float > fOutputEvt4MapE
Vector of outputs from neural net.
Definition: Results.h:34
std::vector< float > fOutputEvtE
Vector of outputs from neural net.
Definition: Results.h:33
std::vector< float > fOutput
Vector of outputs from neural net.
Definition: Results.h:32
cvn::Results::Results ( )

Definition at line 20 of file Results.cxx.

20  :
22  {}
std::vector< float > fOutputEvt4MapE
Vector of outputs from neural net.
Definition: Results.h:34
std::vector< float > fOutputEvtE
Vector of outputs from neural net.
Definition: Results.h:33
std::vector< float > fOutput
Vector of outputs from neural net.
Definition: Results.h:32

Member Function Documentation

unsigned int cvn::Results::NOutput ( ) const
inline

Index of maximum value in vector.

Maximum value in vector Number of outputs, i.e. size of vector

Definition at line 28 of file Results.h.

References fOutput.

28 {return fOutput.size();}
std::vector< float > fOutput
Vector of outputs from neural net.
Definition: Results.h:32
unsigned int cvn::Results::NOutputEvt4MapE ( ) const
inline

Definition at line 30 of file Results.h.

References fOutputEvt4MapE.

30 {return fOutputEvt4MapE.size();}
std::vector< float > fOutputEvt4MapE
Vector of outputs from neural net.
Definition: Results.h:34
unsigned int cvn::Results::NOutputEvtE ( ) const
inline

Definition at line 29 of file Results.h.

References fOutputEvtE.

29 {return fOutputEvtE.size();}
std::vector< float > fOutputEvtE
Vector of outputs from neural net.
Definition: Results.h:33

Member Data Documentation

std::vector<float> cvn::Results::fOutput

Vector of outputs from neural net.

Definition at line 32 of file Results.h.

Referenced by NOutput(), and Results().

std::vector<float> cvn::Results::fOutputEvt4MapE

Vector of outputs from neural net.

Definition at line 34 of file Results.h.

Referenced by NOutputEvt4MapE(), and Results().

std::vector<float> cvn::Results::fOutputEvtE

Vector of outputs from neural net.

Definition at line 33 of file Results.h.

Referenced by NOutputEvtE(), and Results().


The documentation for this class was generated from the following files: