Logo ROOT   6.10/09
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 /*! \class TMVA::ClassInfo
29 \ingroup TMVA
30 
31 Class that contains all the information of a class.
32 
33 */
34 
35 #include "TMVA/ClassInfo.h"
36 
37 #include <vector>
38 
39 #include "TCut.h"
40 #include "TMatrixD.h"
41 
42 #include "TMVA/MsgLogger.h"
43 #include "TMVA/Types.h"
44 
45 ////////////////////////////////////////////////////////////////////////////////
46 /// constructor
47 
49  : TNamed(name.Data(),name.Data()),
50  fWeight( "" ),
51  fCut( "" ),
52  fNumber( 0 ),
53  fCorrMatrix( 0 ),
54  fLogger( new MsgLogger("ClassInfo", kINFO) )
55 {
56 }
57 
58 ////////////////////////////////////////////////////////////////////////////////
59 /// destructor
60 
62 {
63  if (fCorrMatrix) delete fCorrMatrix;
64  delete fLogger;
65 }
66 
67 
68 
MsgLogger * fLogger
Definition: ClassInfo.h:76
Basic string class.
Definition: TString.h:129
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
std::vector< std::vector< double > > Data
TMatrixD * fCorrMatrix
Definition: ClassInfo.h:74
ostringstream derivative to redirect and format output
Definition: MsgLogger.h:59
ClassInfo(const TString &name="default")
constructor
Definition: ClassInfo.cxx:48
~ClassInfo()
destructor
Definition: ClassInfo.cxx:61