00001 // @(#)root/tmva $Id: ClassInfo.cxx 29122 2009-06-22 06:51:30Z brun $ 00002 // Author: Andreas Hoecker, Peter Speckmayer, Joerg Stelzer, Helge Voss 00003 00004 /********************************************************************************** 00005 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * 00006 * Package: TMVA * 00007 * Class : ClassInfo * 00008 * Web : http://tmva.sourceforge.net * 00009 * * 00010 * Description: * 00011 * Implementation (see header for description) * 00012 * * 00013 * Authors (alphabetical): * 00014 * Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland * 00015 * Peter Speckmayer <Peter.Speckmayer@cern.ch> - CERN, Switzerland * 00016 * Joerg Stelzer <Joerg.Stelzer@cern.ch> - CERN, Switzerland * 00017 * Helge Voss <Helge.Voss@cern.ch> - MPI-K Heidelberg, Germany * 00018 * * 00019 * Copyright (c) 2006: * 00020 * CERN, Switzerland * 00021 * MPI-K Heidelberg, Germany * 00022 * * 00023 * Redistribution and use in source and binary forms, with or without * 00024 * modification, are permitted according to the terms listed in LICENSE * 00025 * (http://tmva.sourceforge.net/LICENSE) * 00026 **********************************************************************************/ 00027 00028 #include "TMVA/ClassInfo.h" 00029 00030 #include <vector> 00031 00032 #ifndef ROOT_TCut 00033 #include "TCut.h" 00034 #endif 00035 #ifndef ROOT_TMatrix 00036 #include "TMatrixD.h" 00037 #endif 00038 00039 #include "TMVA/MsgLogger.h" 00040 00041 00042 //_______________________________________________________________________ 00043 TMVA::ClassInfo::ClassInfo( const TString& name ) 00044 : fName( name ), 00045 fWeight( "" ), 00046 fCut( "" ), 00047 fNumber( 0 ), 00048 fCorrMatrix( 0 ), 00049 fLogger( new MsgLogger("ClassInfo", kINFO) ) 00050 { 00051 // constructor 00052 } 00053 00054 //_______________________________________________________________________ 00055 TMVA::ClassInfo::~ClassInfo() 00056 { 00057 // destructor 00058 if (fCorrMatrix) delete fCorrMatrix; 00059 delete fLogger; 00060 } 00061 00062 00063