ROOT
6.10/00
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
PDEFoamKernelBase.cxx
Go to the documentation of this file.
1
// @(#)root/tmva $Id$
2
// Author: Dominik Dannheim, Alexander Voigt
3
4
/**********************************************************************************
5
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6
* Package: TMVA *
7
* Classes: PDEFoamKernelBase *
8
* Web : http://tmva.sourceforge.net *
9
* *
10
* Description: *
11
* Implementation of PDEFoam kernel interface *
12
* *
13
* Authors (alphabetical): *
14
* S. Jadach - Institute of Nuclear Physics, Cracow, Poland *
15
* Tancredi Carli - CERN, Switzerland *
16
* Dominik Dannheim - CERN, Switzerland *
17
* Alexander Voigt - TU Dresden, Germany *
18
* *
19
* Copyright (c) 2010: *
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::PDEFoamKernelBase
29
\ingroup TMVA
30
This class is the abstract kernel interface for PDEFoam. The
31
kernel can be used for manipulating (smearing) the cell values of a
32
PDEFoam, by passing it as an argument to
33
PDEFoam::GetCellValue(...).
34
35
Derived classes must implement the Estimate() function to provide a
36
specific kernel behaviour.
37
*/
38
39
#include "
TMVA/PDEFoamKernelBase.h
"
40
41
#include "
TMVA/MsgLogger.h
"
42
43
#include "
Rtypes.h
"
44
#include "
TObject.h
"
45
46
ClassImp
(
TMVA::PDEFoamKernelBase
)
47
48
////////////////////////////////////////////////////////////////////////////////
49
/// Default constructor for streamer
50
51
TMVA::
PDEFoamKernelBase
::
PDEFoamKernelBase
()
52
:
TObject
()
53
, fLogger(new
MsgLogger
("
PDEFoamKernelBase
"))
54
{
55
}
56
57
////////////////////////////////////////////////////////////////////////////////
58
/// Copy constructor
59
60
TMVA::PDEFoamKernelBase::PDEFoamKernelBase
(
const
PDEFoamKernelBase
&other)
61
:
TObject
()
62
, fLogger(new
MsgLogger
(*other.fLogger))
63
{
64
}
65
66
////////////////////////////////////////////////////////////////////////////////
67
/// Destructor
68
69
TMVA::PDEFoamKernelBase::~PDEFoamKernelBase
()
70
{
71
if
(fLogger !=
NULL
)
72
delete
fLogger;
73
}
TMVA::PDEFoamKernelBase
This class is the abstract kernel interface for PDEFoam.
Definition:
PDEFoamKernelBase.h:38
Rtypes.h
PDEFoamKernelBase.h
NULL
#define NULL
Definition:
RtypesCore.h:88
MsgLogger.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:336
TMVA::MsgLogger
ostringstream derivative to redirect and format output
Definition:
MsgLogger.h:59
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
TObject.h
TMVA::PDEFoamKernelBase::~PDEFoamKernelBase
virtual ~PDEFoamKernelBase()
Destructor.
Definition:
PDEFoamKernelBase.cxx:69
TMVA::PDEFoamKernelBase::PDEFoamKernelBase
PDEFoamKernelBase()
message logger
Definition:
PDEFoamKernelBase.cxx:51