ROOT
6.08/07
Reference Guide
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
//_____________________________________________________________________
29
//
30
// PDEFoamKernelBase
31
//
32
// This class is the abstract kernel interface for PDEFoam. The
33
// kernel can be used for manipulating (smearing) the cell values of a
34
// PDEFoam, by passing it as an argument to
35
// PDEFoam::GetCellValue(...).
36
//
37
// Derived classes must implement the Estimate() function to provide a
38
// specific kernel behaviour.
39
// _____________________________________________________________________
40
41
#include "
TMVA/PDEFoamKernelBase.h
"
42
43
#include "
TMVA/MsgLogger.h
"
44
45
#include "
Rtypes.h
"
46
#include "
TObject.h
"
47
48
ClassImp
(
TMVA::PDEFoamKernelBase
)
49
50
////////////////////////////////////////////////////////////////////////////////
51
/// Default constructor for streamer
52
53
TMVA
::
PDEFoamKernelBase
::
PDEFoamKernelBase
()
54
:
TObject
()
55
, fLogger(new
MsgLogger
("
PDEFoamKernelBase
"))
56
{
57
}
58
59
////////////////////////////////////////////////////////////////////////////////
60
/// Copy constructor
61
62
TMVA::PDEFoamKernelBase::PDEFoamKernelBase
(
const
PDEFoamKernelBase
&other)
63
:
TObject
()
64
, fLogger(new
MsgLogger
(*other.fLogger))
65
{
66
}
67
68
////////////////////////////////////////////////////////////////////////////////
69
/// Destructor
70
71
TMVA::PDEFoamKernelBase::~PDEFoamKernelBase
()
72
{
73
if
(
fLogger
!=
NULL
)
74
delete
fLogger
;
75
}
TMVA::PDEFoamKernelBase
Definition:
PDEFoamKernelBase.h:42
Rtypes.h
PDEFoamKernelBase.h
TMVA::PDEFoamKernelBase::fLogger
MsgLogger * fLogger
Definition:
PDEFoamKernelBase.h:46
MsgLogger.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
TMVA::MsgLogger
Definition:
MsgLogger.h:63
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
TMVA
Abstract ClassifierFactory template that handles arbitrary types.
Definition:
GeneticMinimizer.h:21
TObject.h
NULL
#define NULL
Definition:
Rtypes.h:82
TMVA::PDEFoamKernelBase::~PDEFoamKernelBase
virtual ~PDEFoamKernelBase()
Destructor.
Definition:
PDEFoamKernelBase.cxx:71
TMVA::PDEFoamKernelBase::PDEFoamKernelBase
PDEFoamKernelBase()
message logger
Definition:
PDEFoamKernelBase.cxx:53