ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
tmva
tmva
src
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
41
42
////////////////////////////////////////////////////////////////////////////////
43
/// constructor
44
45
TMVA::ClassInfo::ClassInfo
(
const
TString
&
name
)
46
: fName( name ),
47
fWeight(
""
),
48
fCut(
""
),
49
fNumber( 0 ),
50
fCorrMatrix( 0 ),
51
fLogger( new
MsgLogger
(
"ClassInfo"
,
kINFO
) )
52
{
53
}
54
55
////////////////////////////////////////////////////////////////////////////////
56
/// destructor
57
58
TMVA::ClassInfo::~ClassInfo
()
59
{
60
if
(fCorrMatrix)
delete
fCorrMatrix;
61
delete
fLogger;
62
}
63
64
65
TString
Basic string class.
Definition:
TString.h:137
TCut.h
MsgLogger.h
ClassInfo.h
TMVA::MsgLogger
Definition:
MsgLogger.h:63
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TMatrixD.h
TMVA::kINFO
Definition:
Types.h:64
TMVA::ClassInfo::ClassInfo
ClassInfo(const TString &name="default")
constructor
Definition:
ClassInfo.cxx:45
TMVA::ClassInfo::~ClassInfo
~ClassInfo()
destructor
Definition:
ClassInfo.cxx:58