Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
PDEFoamDecisionTreeDensity.h
Go to the documentation of this file.
1 // @(#)root/tmva $Id$
2 // Author: Alexander Voigt
3 
4 /**********************************************************************************
5  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6  * Package: TMVA *
7  * Classes: PDEFoamDecisionTreeDensity *
8  * Web : http://tmva.sourceforge.net *
9  * *
10  * Description: *
11  * Class PDEFoamDecisionTreeDensity is a class representing *
12  * n-dimensional real positive integrand function *
13  * The main function is Density() which provides the event density at a *
14  * given point during the foam build-up (sampling). *
15  * *
16  * Authors (alphabetical): *
17  * Tancredi Carli - CERN, Switzerland *
18  * Dominik Dannheim - CERN, Switzerland *
19  * S. Jadach - Institute of Nuclear Physics, Cracow, Poland *
20  * Alexander Voigt - TU Dresden, Germany *
21  * Peter Speckmayer - CERN, Switzerland *
22  * *
23  * Copyright (c) 2010: *
24  * CERN, Switzerland *
25  * MPI-K Heidelberg, Germany *
26  * *
27  * Redistribution and use in source and binary forms, with or without *
28  * modification, are permitted according to the terms listed in LICENSE *
29  * (http://tmva.sourceforge.net/LICENSE) *
30  **********************************************************************************/
31 
32 #ifndef ROOT_TMVA_PDEFoamDecisionTreeDensity
33 #define ROOT_TMVA_PDEFoamDecisionTreeDensity
34 
35 #include <vector>
36 
37 #include "TH2.h"
38 
40 #include "TMVA/Volume.h"
41 
42 namespace TMVA
43 {
44 
45  // class definition of underlying event density
46  class PDEFoamDecisionTreeDensity : public PDEFoamDensityBase
47  {
48 
49  protected:
50  UInt_t fClass; // signal class
51 
52  public:
53  PDEFoamDecisionTreeDensity();
54  PDEFoamDecisionTreeDensity(std::vector<Double_t> box, UInt_t cls);
55  PDEFoamDecisionTreeDensity(const PDEFoamDecisionTreeDensity&);
56  virtual ~PDEFoamDecisionTreeDensity() {}
57 
58  // returns always 0
59  virtual Double_t Density(std::vector<Double_t> &Xarg, Double_t &event_density);
60 
61  // fill histograms with events found in volume
62  virtual void FillHistograms(TMVA::Volume&, std::vector<TH1D*>&, std::vector<TH1D*>&, std::vector<TH1D*>&, std::vector<TH1D*>&);
63 
64  ClassDef(PDEFoamDecisionTreeDensity, 1) // Class for decision tree like PDEFoam density
65  }; //end of PDEFoamDecisionTreeDensity
66 
67 } // namespace TMVA
68 
69 #endif