// @(#)root/tmva $Id$ // Author: Andreas Hoecker, Peter Speckmayer, Joerg Stelzer, Helge Voss /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * Class : ResultsClassification * * Web : http://tmva.sourceforge.net * * * * Description: * * Implementation (see header for description) * * * * Authors (alphabetical): * * Andreas Hoecker - CERN, Switzerland * * Peter Speckmayer - CERN, Switzerland * * Joerg Stelzer - CERN, Switzerland * * Helge Voss - MPI-K Heidelberg, Germany * * * * Copyright (c) 2006: * * CERN, Switzerland * * MPI-K Heidelberg, Germany * * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted according to the terms listed in LICENSE * * (http://tmva.sourceforge.net/LICENSE) * **********************************************************************************/ #include #include "TMVA/ResultsClassification.h" #include "TMVA/MsgLogger.h" //_______________________________________________________________________ TMVA::ResultsClassification::ResultsClassification( const DataSetInfo* dsi, TString resultsName ) : Results( dsi,resultsName ), fRet(1), fLogger( new MsgLogger(Form("ResultsClassification%s",resultsName.Data()) , kINFO) ) { // constructor } //_______________________________________________________________________ TMVA::ResultsClassification::~ResultsClassification() { // destructor delete fLogger; } //_______________________________________________________________________ void TMVA::ResultsClassification::SetValue( Float_t value, Int_t ievt ) { // set MVA response if (ievt >= (Int_t)fMvaValues.size()) fMvaValues.resize( ievt+1 ); fMvaValues[ievt] = value; }