// @(#)root/tmva $Id: ClassInfo.cxx 29122 2009-06-22 06:51:30Z brun $
// Author: Andreas Hoecker, Peter Speckmayer, Joerg Stelzer, Helge Voss

/**********************************************************************************
 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
 * Package: TMVA                                                                  *
 * Class  : ClassInfo                                                             *
 * Web    : http://tmva.sourceforge.net                                           *
 *                                                                                *
 * Description:                                                                   *
 *      Implementation (see header for description)                               *
 *                                                                                *
 * Authors (alphabetical):                                                        *
 *      Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland              *
 *      Peter Speckmayer <Peter.Speckmayer@cern.ch>  - CERN, Switzerland          *
 *      Joerg Stelzer   <Joerg.Stelzer@cern.ch>  - CERN, Switzerland              *
 *      Helge Voss      <Helge.Voss@cern.ch>     - 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 "TMVA/ClassInfo.h"

#include <vector>

#ifndef ROOT_TCut
#include "TCut.h"
#endif
#ifndef ROOT_TMatrix
#include "TMatrixD.h"
#endif

#include "TMVA/MsgLogger.h"


//_______________________________________________________________________
TMVA::ClassInfo::ClassInfo( const TString& name ) 
   : fName( name ),
     fWeight( "" ),
     fCut( "" ),
     fNumber( 0 ),
     fCorrMatrix( 0 ),
     fLogger( new MsgLogger("ClassInfo", kINFO) )
{
   // constructor
}

//_______________________________________________________________________
TMVA::ClassInfo::~ClassInfo() 
{
   // destructor
   if (fCorrMatrix) delete fCorrMatrix;
   delete fLogger;
}



