ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
#include "
TMVA/Types.h
"
41
42
43
////////////////////////////////////////////////////////////////////////////////
44
/// constructor
45
46
TMVA::ClassInfo::ClassInfo
(
const
TString
&
name
)
47
: fName( name ),
48
fWeight(
""
),
49
fCut(
""
),
50
fNumber( 0 ),
51
fCorrMatrix( 0 ),
52
fLogger( new
MsgLogger
(
"ClassInfo"
,
kINFO
) )
53
{
54
}
55
56
////////////////////////////////////////////////////////////////////////////////
57
/// destructor
58
59
TMVA::ClassInfo::~ClassInfo
()
60
{
61
if
(fCorrMatrix)
delete
fCorrMatrix;
62
delete
fLogger;
63
}
64
65
66
Types.h
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:46
TMVA::ClassInfo::~ClassInfo
~ClassInfo()
destructor
Definition:
ClassInfo.cxx:59