Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:03

0001 // @(#)root/tmva $Id$
0002 // Author: Tancredi Carli, Dominik Dannheim, Alexander Voigt
0003 
0004 /**********************************************************************************
0005  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
0006  * Package: TMVA                                                                  *
0007  * Classes: PDEFoamEventDensity                                                   *
0008  *                                             *
0009  *                                                                                *
0010  * Description:                                                                   *
0011  *      Class PDEFoamEventDensity is a class representing                         *
0012  *      n-dimensional real positive integrand function                            *
0013  *      The main function is Density() which provides the event density at a      *
0014  *      given point during the foam build-up (sampling).                          *
0015  *                                                                                *
0016  * Authors (alphabetical):                                                        *
0017  *      Tancredi Carli   - CERN, Switzerland                                      *
0018  *      Dominik Dannheim - CERN, Switzerland                                      *
0019  *      S. Jadach        - Institute of Nuclear Physics, Cracow, Poland           *
0020  *      Alexander Voigt  - TU Dresden, Germany                                    *
0021  *      Peter Speckmayer - CERN, Switzerland                                      *
0022  *                                                                                *
0023  * Copyright (c) 2008, 2010:                                                      *
0024  *      CERN, Switzerland                                                         *
0025  *      MPI-K Heidelberg, Germany                                                 *
0026  *                                                                                *
0027  * Redistribution and use in source and binary forms, with or without             *
0028  * modification, are permitted according to the terms listed in LICENSE           *
0029  * (see tmva/doc/LICENSE)                                          *
0030  **********************************************************************************/
0031 
0032 #ifndef ROOT_TMVA_PDEFoamEventDensity
0033 #define ROOT_TMVA_PDEFoamEventDensity
0034 
0035 #include "TMVA/PDEFoamDensityBase.h"
0036 #include <vector>
0037 
0038 namespace TMVA
0039 {
0040 
0041    // class definition of underlying event density
0042    class PDEFoamEventDensity : public PDEFoamDensityBase
0043    {
0044 
0045    public:
0046       PDEFoamEventDensity();
0047       PDEFoamEventDensity(std::vector<Double_t> box);
0048       PDEFoamEventDensity(const PDEFoamEventDensity&);
0049       virtual ~PDEFoamEventDensity() {}
0050 
0051       // main function used by PDEFoam
0052       // returns event density at a given point by range searching in BST
0053       virtual Double_t Density(std::vector<Double_t> &Xarg, Double_t &event_density);
0054 
0055       ClassDef(PDEFoamEventDensity, 1) //Class for Event density
0056          };  //end of PDEFoamEventDensity
0057 
0058 }  // namespace TMVA
0059 
0060 #endif