ROOT  6.06/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 #ifndef ROOT_TObject
32 #include "TObject.h"
33 #endif
34 
35 #ifndef ROOT_TMVA_PDEFoam
36 #include "TMVA/PDEFoam.h"
37 #endif
38 
39 namespace TMVA
40 {
41 
42  class PDEFoamKernelBase : public TObject
43  {
44 
45  protected:
46  mutable MsgLogger* fLogger; //! message logger
47 
48  public:
49  PDEFoamKernelBase(); // Constructor
50  PDEFoamKernelBase(const PDEFoamKernelBase&); // Copy constructor
51  virtual ~PDEFoamKernelBase(); // Destructor
52 
53  // kernel estimator
54  virtual Float_t Estimate(PDEFoam*, std::vector<Float_t>&, ECellValue) = 0;
55 
56  // Message logger
57  MsgLogger& Log() const { return *fLogger; }
58 
59  ClassDef(PDEFoamKernelBase, 1) // PDEFoam kernel interface
60  }; // end of PDEFoamKernelBase
61 } // namespace TMVA
62 
63 #endif
float Float_t
Definition: RtypesCore.h:53
MsgLogger & Log() const
virtual Float_t Estimate(PDEFoam *, std::vector< Float_t > &, ECellValue)=0
#define ClassDef(name, id)
Definition: Rtypes.h:254
ECellValue
Definition: PDEFoam.h:85
Mother of all ROOT objects.
Definition: TObject.h:58
Abstract ClassifierFactory template that handles arbitrary types.
virtual ~PDEFoamKernelBase()
Destructor.
PDEFoamKernelBase()
message logger