Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:22:56

0001 // @(#)root/tmva $Id$
0002 // Author: Dominik Dannheim, Alexander Voigt
0003 
0004 /**********************************************************************************
0005  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
0006  * Package: TMVA                                                                  *
0007  * Classes: PDEFoamKernelBase                                                     *
0008  *                                             *
0009  *                                                                                *
0010  * Description:                                                                   *
0011  *      PDEFoam kernel interface                                                  *
0012  *                                                                                *
0013  * Authors (alphabetical):                                                        *
0014  *      S. Jadach        - Institute of Nuclear Physics, Cracow, Poland           *
0015  *      Tancredi Carli   - CERN, Switzerland                                      *
0016  *      Dominik Dannheim - CERN, Switzerland                                      *
0017  *      Alexander Voigt  - TU Dresden, Germany                                    *
0018  *                                                                                *
0019  * Copyright (c) 2010:                                                            *
0020  *      CERN, Switzerland                                                         *
0021  *      MPI-K Heidelberg, Germany                                                 *
0022  *                                                                                *
0023  * Redistribution and use in source and binary forms, with or without             *
0024  * modification, are permitted according to the terms listed in LICENSE           *
0025  * (see tmva/doc/LICENSE)                                          *
0026  **********************************************************************************/
0027 
0028 #ifndef ROOT_TMVA_PDEFoamKernelBase
0029 #define ROOT_TMVA_PDEFoamKernelBase
0030 
0031 #include "TObject.h"
0032 
0033 #include "TMVA/PDEFoam.h"
0034 
0035 #include <vector>
0036 
0037 namespace TMVA
0038 {
0039 
0040    class PDEFoamKernelBase : public TObject
0041    {
0042 
0043    protected:
0044       mutable MsgLogger* fLogger;  //! message logger
0045 
0046    public:
0047       PDEFoamKernelBase();                 // Constructor
0048       PDEFoamKernelBase(const PDEFoamKernelBase&); // Copy constructor
0049       virtual ~PDEFoamKernelBase();        // Destructor
0050 
0051       // kernel estimator
0052       virtual Float_t Estimate(PDEFoam*, std::vector<Float_t>&, ECellValue) = 0;
0053 
0054       // Message logger
0055       MsgLogger& Log() const { return *fLogger; }
0056 
0057       ClassDef(PDEFoamKernelBase, 1) // PDEFoam kernel interface
0058          }; // end of PDEFoamKernelBase
0059 }  // namespace TMVA
0060 
0061 #endif