Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 * *
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 * (see tmva/doc/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#include <vector>
36
37namespace TMVA
38{
39
41 {
42
43 protected:
44 mutable MsgLogger* fLogger; //! message logger
45
46 public:
47 PDEFoamKernelBase(); // Constructor
48 PDEFoamKernelBase(const PDEFoamKernelBase&); // Copy constructor
49 virtual ~PDEFoamKernelBase(); // Destructor
50
51 // kernel estimator
52 virtual Float_t Estimate(PDEFoam*, std::vector<Float_t>&, ECellValue) = 0;
53
54 // Message logger
55 MsgLogger& Log() const { return *fLogger; }
56
57 ClassDef(PDEFoamKernelBase, 1) // PDEFoam kernel interface
58 }; // end of PDEFoamKernelBase
59} // namespace TMVA
60
61#endif
float Float_t
Definition RtypesCore.h:57
#define ClassDef(name, id)
Definition Rtypes.h:337
ostringstream derivative to redirect and format output
Definition MsgLogger.h:57
This class is the abstract kernel interface for PDEFoam.
PDEFoamKernelBase()
message logger
virtual ~PDEFoamKernelBase()
Destructor.
virtual Float_t Estimate(PDEFoam *, std::vector< Float_t > &, ECellValue)=0
MsgLogger & Log() const
Implementation of PDEFoam.
Definition PDEFoam.h:79
Mother of all ROOT objects.
Definition TObject.h:41
create variable transformations