|
||||
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: PDEFoamDiscriminantDensity * 0008 * * 0009 * * 0010 * Description: * 0011 * Class PDEFoamDiscriminantDensity 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_PDEFoamDiscriminantDensity 0033 #define ROOT_TMVA_PDEFoamDiscriminantDensity 0034 0035 #include "TMVA/PDEFoamDensityBase.h" 0036 #include <vector> 0037 0038 namespace TMVA 0039 { 0040 0041 // class definition of underlying event density 0042 class PDEFoamDiscriminantDensity : public PDEFoamDensityBase 0043 { 0044 0045 protected: 0046 UInt_t fClass; // signal class 0047 0048 public: 0049 PDEFoamDiscriminantDensity(); 0050 PDEFoamDiscriminantDensity(std::vector<Double_t> box, UInt_t cls); 0051 PDEFoamDiscriminantDensity(const PDEFoamDiscriminantDensity&); 0052 virtual ~PDEFoamDiscriminantDensity() {} 0053 0054 // main function used by PDEFoam 0055 // returns discriminant density N_class/N_total at a given point 0056 // by range searching in BST 0057 virtual Double_t Density(std::vector<Double_t> &Xarg, Double_t &event_density); 0058 0059 ClassDef(PDEFoamDiscriminantDensity, 1) //Class for Discriminant density 0060 }; //end of PDEFoamDiscriminantDensity 0061 0062 } // namespace TMVA 0063 0064 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |