BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.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: EvtIntervalFlatPdf.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
/*
11
* Uniform PDF defined on a 1D interval.
12
*/
13
14
#ifndef EVT_INTERVAL_FLAT_PDF_HH
15
#define EVT_INTERVAL_FLAT_PDF_HH
16
17
#include <assert.h>
18
#include "EvtGenBase/EvtPdf.hh"
19
#include "EvtGenBase/EvtPoint1D.hh"
20
21
class
EvtIntervalFlatPdf
:
public
EvtPdf
<EvtPoint1D> {
22
public
:
23
24
EvtIntervalFlatPdf
(
double
min
,
double
max
);
25
EvtIntervalFlatPdf
(
const
EvtIntervalFlatPdf
& other);
26
virtual
~EvtIntervalFlatPdf
();
27
virtual
EvtPdf<EvtPoint1D>
*
clone
()
const
;
28
29
virtual
EvtValError
compute_integral
()
const
;
30
virtual
EvtPoint1D
randomPoint
();
31
32
protected
:
33
34
virtual
double
pdf
(
const
EvtPoint1D
&)
const
;
35
36
double
_min
;
37
double
_max
;
38
};
39
40
#endif
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
EvtIntervalFlatPdf
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.hh:21
EvtIntervalFlatPdf::_min
double _min
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.hh:36
EvtIntervalFlatPdf::compute_integral
virtual EvtValError compute_integral() const
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.cc:39
EvtIntervalFlatPdf::randomPoint
virtual EvtPoint1D randomPoint()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.cc:44
EvtIntervalFlatPdf::clone
virtual EvtPdf< EvtPoint1D > * clone() const
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.cc:29
EvtIntervalFlatPdf::~EvtIntervalFlatPdf
virtual ~EvtIntervalFlatPdf()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.cc:26
EvtIntervalFlatPdf::pdf
virtual double pdf(const EvtPoint1D &) const
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.cc:34
EvtIntervalFlatPdf::_max
double _max
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtIntervalFlatPdf.hh:37
EvtPdf
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh:57
EvtPoint1D
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh:16
EvtValError
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtValError.hh:20
source
Generator
BesEvtGen
bak-BesEvtGen-00-04-08
src
EvtGen
EvtGenBase
EvtIntervalFlatPdf.hh
Generated by
1.9.6