Logo ROOT   6.10/09
Reference Guide
PDEFoamKernelBase.h
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  * 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 #ifndef ROOT_TMVA_PDEFoamKernelBase
29 #define ROOT_TMVA_PDEFoamKernelBase
30 
31 #include "TObject.h"
32 
33 #include "TMVA/PDEFoam.h"
34 
35 namespace TMVA
36 {
37 
38  class PDEFoamKernelBase : public TObject
39  {
40 
41  protected:
42  mutable MsgLogger* fLogger; //! message logger
43 
44  public:
45  PDEFoamKernelBase(); // Constructor
46  PDEFoamKernelBase(const PDEFoamKernelBase&); // Copy constructor
47  virtual ~PDEFoamKernelBase(); // Destructor
48 
49  // kernel estimator
50  virtual Float_t Estimate(PDEFoam*, std::vector<Float_t>&, ECellValue) = 0;
51 
52  // Message logger
53  MsgLogger& Log() const { return *fLogger; }
54 
55  ClassDef(PDEFoamKernelBase, 1) // PDEFoam kernel interface
56  }; // end of PDEFoamKernelBase
57 } // namespace TMVA
58 
59 #endif
This class is the abstract kernel interface for PDEFoam.
float Float_t
Definition: RtypesCore.h:53
virtual Float_t Estimate(PDEFoam *, std::vector< Float_t > &, ECellValue)=0
#define ClassDef(name, id)
Definition: Rtypes.h:297
Implementation of PDEFoam.
Definition: PDEFoam.h:77
MsgLogger & Log() const
ostringstream derivative to redirect and format output
Definition: MsgLogger.h:59
Mother of all ROOT objects.
Definition: TObject.h:37
Abstract ClassifierFactory template that handles arbitrary types.
virtual ~PDEFoamKernelBase()
Destructor.
PDEFoamKernelBase()
message logger