ROOT
6.08/02
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
tmva
tmva
inc
TMVA
PDEFoamEventDensity.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: PDEFoamEventDensity *
8
* Web : http://tmva.sourceforge.net *
9
* *
10
* Description: *
11
* Class PDEFoamEventDensity 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_PDEFoamEventDensity
33
#define ROOT_TMVA_PDEFoamEventDensity
34
35
#ifndef ROOT_TMVA_PDEFoamDensityBase
36
#include "
TMVA/PDEFoamDensityBase.h
"
37
#endif
38
39
namespace
TMVA
40
{
41
42
// class definition of underlying event density
43
class
PDEFoamEventDensity
:
public
PDEFoamDensityBase
44
{
45
46
public
:
47
PDEFoamEventDensity
();
48
PDEFoamEventDensity
(std::vector<Double_t>
box
);
49
PDEFoamEventDensity
(
const
PDEFoamEventDensity
&);
50
virtual
~PDEFoamEventDensity
() {}
51
52
// main function used by PDEFoam
53
// returns event density at a given point by range searching in BST
54
virtual
Double_t
Density
(std::vector<Double_t> &Xarg,
Double_t
&event_density);
55
56
ClassDef
(
PDEFoamEventDensity
, 1)
//Class for Event density
57
};
//end of PDEFoamEventDensity
58
59
}
// namespace TMVA
60
61
#endif
TMVA::PDEFoamEventDensity::PDEFoamEventDensity
PDEFoamEventDensity()
Definition:
PDEFoamEventDensity.cxx:62
TMVA::PDEFoamEventDensity::Density
virtual Double_t Density(std::vector< Double_t > &Xarg, Double_t &event_density)
This function is needed during the foam buildup.
Definition:
PDEFoamEventDensity.cxx:103
box
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Definition:
fillpatterns.C:1
TMVA::PDEFoamEventDensity::~PDEFoamEventDensity
virtual ~PDEFoamEventDensity()
Definition:
PDEFoamEventDensity.h:50
PDEFoamDensityBase.h
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TMVA::PDEFoamEventDensity
Definition:
PDEFoamEventDensity.h:43
Double_t
double Double_t
Definition:
RtypesCore.h:55
TMVA::PDEFoamDensityBase
Definition:
PDEFoamDensityBase.h:53