Logo ROOT   6.08/07
Reference Guide
ClassInfo.cxx
Go to the documentation of this file.
1 // @(#)root/tmva $Id$
2 // Author: Andreas Hoecker, Peter Speckmayer, Joerg Stelzer, Helge Voss
3 
4 /**********************************************************************************
5  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6  * Package: TMVA *
7  * Class : ClassInfo *
8  * Web : http://tmva.sourceforge.net *
9  * *
10  * Description: *
11  * Implementation (see header for description) *
12  * *
13  * Authors (alphabetical): *
14  * Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
15  * Peter Speckmayer <Peter.Speckmayer@cern.ch> - CERN, Switzerland *
16  * Joerg Stelzer <Joerg.Stelzer@cern.ch> - CERN, Switzerland *
17  * Helge Voss <Helge.Voss@cern.ch> - MPI-K Heidelberg, Germany *
18  * *
19  * Copyright (c) 2006: *
20  * CERN, Switzerland *
21  * MPI-K Heidelberg, Germany *
22  * *
23  * Redistribution and use in source and binary forms, with or without *
24  * modification, are permitted according to the terms listed in LICENSE *
25  * (http://tmva.sourceforge.net/LICENSE) *
26  **********************************************************************************/
27 
28 #include "TMVA/ClassInfo.h"
29 
30 #include <vector>
31 
32 #ifndef ROOT_TCut
33 #include "TCut.h"
34 #endif
35 #ifndef ROOT_TMatrix
36 #include "TMatrixD.h"
37 #endif
38 
39 #include "TMVA/MsgLogger.h"
40 #include "TMVA/Types.h"
41 
42 ////////////////////////////////////////////////////////////////////////////////
43 /// constructor
44 
46  : TNamed(name.Data(),name.Data()),
47  fWeight( "" ),
48  fCut( "" ),
49  fNumber( 0 ),
50  fCorrMatrix( 0 ),
51  fLogger( new MsgLogger("ClassInfo", kINFO) )
52 {
53 }
54 
55 ////////////////////////////////////////////////////////////////////////////////
56 /// destructor
57 
59 {
60  if (fCorrMatrix) delete fCorrMatrix;
61  delete fLogger;
62 }
63 
64 
65 
MsgLogger * fLogger
Definition: ClassInfo.h:84
Basic string class.
Definition: TString.h:137
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
std::vector< std::vector< double > > Data
TMatrixD * fCorrMatrix
Definition: ClassInfo.h:82
ClassInfo(const TString &name="default")
constructor
Definition: ClassInfo.cxx:45
char name[80]
Definition: TGX11.cxx:109
~ClassInfo()
destructor
Definition: ClassInfo.cxx:58