BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtIntegPdf1D.hh
Go to the documentation of this file.
1
/*******************************************************************************
2
* Project: BaBar detector at the SLAC PEP-II B-factory
3
* Package: EvtGenBase
4
* File: $Id: EvtIntegPdf1D.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5
* Author: Alexei Dvoretskii,
[email protected]
, 2001-2002
6
*
7
* Copyright (C) 2002 Caltech
8
*******************************************************************************/
9
10
// Analytically integrable one dimensional PDF.
11
12
#ifndef EVT_INTEG_PDF_1D_HH
13
#define EVT_INTEG_PDF_1D_HH
14
15
#include "
EvtGenBase/EvtPdf.hh
"
16
#include "
EvtGenBase/EvtPoint1D.hh
"
17
18
class
EvtIntegPdf1D
:
public
EvtPdf
<EvtPoint1D> {
19
20
public
:
21
22
EvtIntegPdf1D
(
double
min
,
double
max
);
23
EvtIntegPdf1D
(
const
EvtIntegPdf1D
&);
24
virtual
~EvtIntegPdf1D
();
25
26
// Pdf integral function and its inverse to be defined in subclasses
27
28
virtual
double
pdfIntegral
(
double
x)
const
= 0;
29
virtual
double
pdfIntegralInverse
(
double
x)
const
= 0;
30
31
virtual
EvtValError
compute_integral
()
const
;
32
virtual
EvtPoint1D
randomPoint
();
33
34
protected
:
35
36
double
_min
;
37
double
_max
;
38
};
39
40
41
#endif
42
43
min
#define min(a, b)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:153
max
#define max(a, b)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:154
EvtPdf.hh
EvtPoint1D.hh
EvtIntegPdf1D
Definition:
EvtIntegPdf1D.hh:18
EvtIntegPdf1D::compute_integral
virtual EvtValError compute_integral() const
Definition:
EvtIntegPdf1D.cc:29
EvtIntegPdf1D::pdfIntegral
virtual double pdfIntegral(double x) const =0
EvtIntegPdf1D::pdfIntegralInverse
virtual double pdfIntegralInverse(double x) const =0
EvtIntegPdf1D::_max
double _max
Definition:
EvtIntegPdf1D.hh:37
EvtIntegPdf1D::~EvtIntegPdf1D
virtual ~EvtIntegPdf1D()
Definition:
EvtIntegPdf1D.cc:26
EvtIntegPdf1D::_min
double _min
Definition:
EvtIntegPdf1D.hh:36
EvtIntegPdf1D::randomPoint
virtual EvtPoint1D randomPoint()
Definition:
EvtIntegPdf1D.cc:37
EvtPdf
Definition:
EvtPdf.hh:57
EvtPoint1D
Definition:
EvtPoint1D.hh:16
EvtValError
Definition:
EvtValError.hh:20
source
Generator
BesEvtGen
BesEvtGen-00-04-08
src
EvtGen
EvtGenBase
EvtIntegPdf1D.hh
Generated by
1.9.6