Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
PDEFoamTargetDensity.h
Go to the documentation of this file.
1// @(#)root/tmva $Id$
2// Author: Tancredi Carli, Dominik Dannheim, Alexander Voigt
3
4/**********************************************************************************
5 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6 * Package: TMVA *
7 * Classes: PDEFoamTargetDensity *
8 * Web : http://tmva.sourceforge.net *
9 * *
10 * Description: *
11 * Class PDEFoamTargetDensity 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) 2008, 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_PDEFoamTargetDensity
33#define ROOT_TMVA_PDEFoamTargetDensity
34
36
37#include <vector>
38
39namespace TMVA
40{
41
42 // class definition of underlying event density
44 {
45
46 protected:
47 UInt_t fTarget; // the target to calculate the density for
48
49 public:
51 PDEFoamTargetDensity(std::vector<Double_t> box, UInt_t target);
54
55 // main function used by PDEFoam
56 // returns event density at a given point by range searching in BST
57 virtual Double_t Density(std::vector<Double_t> &Xarg, Double_t &event_density);
58
59 ClassDef(PDEFoamTargetDensity, 1) //Class for Target density
60 }; //end of PDEFoamTargetDensity
61
62} // namespace TMVA
63
64#endif
double Double_t
Definition RtypesCore.h:59
#define ClassDef(name, id)
Definition Rtypes.h:337
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t target
This is an abstract class, which provides an interface for a PDEFoam density estimator.
This is a concrete implementation of PDEFoam.
virtual Double_t Density(std::vector< Double_t > &Xarg, Double_t &event_density)
This function is needed during the foam buildup.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Definition fillpatterns.C:1
create variable transformations