|
||||
File indexing completed on 2025-01-30 10:22:56
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: PDEFoamTargetDensity * 0008 * * 0009 * * 0010 * Description: * 0011 * Class PDEFoamTargetDensity 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_PDEFoamTargetDensity 0033 #define ROOT_TMVA_PDEFoamTargetDensity 0034 0035 #include "TMVA/PDEFoamDensityBase.h" 0036 0037 #include <vector> 0038 0039 namespace TMVA 0040 { 0041 0042 // class definition of underlying event density 0043 class PDEFoamTargetDensity : public PDEFoamDensityBase 0044 { 0045 0046 protected: 0047 UInt_t fTarget; // the target to calculate the density for 0048 0049 public: 0050 PDEFoamTargetDensity(); 0051 PDEFoamTargetDensity(std::vector<Double_t> box, UInt_t target); 0052 PDEFoamTargetDensity(const PDEFoamTargetDensity&); 0053 virtual ~PDEFoamTargetDensity() {} 0054 0055 // main function used by PDEFoam 0056 // returns event density at a given point by range searching in BST 0057 virtual Double_t Density(std::vector<Double_t> &Xarg, Double_t &event_density); 0058 0059 ClassDef(PDEFoamTargetDensity, 1) //Class for Target density 0060 }; //end of PDEFoamTargetDensity 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 |