#include <FlatFct.h>
Definition at line 11 of file FlatFct.h.
◆ FlatFct() [1/2]
◆ FlatFct() [2/2]
FlatFct::FlatFct |
( |
const FlatFct & |
other | ) |
|
◆ ~FlatFct()
virtual FlatFct::~FlatFct |
( |
| ) |
|
|
inlinevirtual |
◆ flat()
virtual bool FlatFct::flat |
( |
| ) |
const |
|
inlinevirtual |
◆ generate()
double FlatFct::generate |
( |
TRandom * |
rnd = gRandom | ) |
const |
|
virtual |
Implements IGenFct.
Definition at line 90 of file FlatFct.cpp.
91 double val =
min() + rnd->Rndm() * (
max() -
min());
virtual double min() const
virtual double max() const
◆ generateRho()
double FlatFct::generateRho |
( |
TRandom * |
rnd = gRandom | ) |
const |
|
virtual |
Implements IGenFct.
Definition at line 95 of file FlatFct.cpp.
virtual double generate(TRandom *rnd=gRandom) const
◆ generatingFctValue()
double FlatFct::generatingFctValue |
( |
double |
sij | ) |
const |
|
virtual |
Implements IGenFct.
Definition at line 107 of file FlatFct.cpp.
108 if( sij <
min() || sij >
max())
return 0;
virtual double min() const
virtual double max() const
◆ generatingPDFValue()
double FlatFct::generatingPDFValue |
( |
double |
sij | ) |
const |
|
virtual |
Implements IGenFct.
Definition at line 99 of file FlatFct.cpp.
101 if(num <=0)
return 0;
103 if(norm <= 0)
return 0;
virtual double generatingFctValue(double sij) const
virtual double integral() const
◆ getCoordinate()
◆ getSMa()
virtual double FlatFct::getSMa |
( |
| ) |
const |
|
inlinevirtual |
◆ getSMi()
virtual double FlatFct::getSMi |
( |
| ) |
const |
|
inlinevirtual |
◆ integral()
double FlatFct::integral |
( |
| ) |
const |
|
virtual |
Implements IGenFct.
Definition at line 120 of file FlatFct.cpp.
virtual double min() const
virtual double max() const
◆ max()
double FlatFct::max |
( |
| ) |
const |
|
virtual |
◆ min()
double FlatFct::min |
( |
| ) |
const |
|
virtual |
◆ redoLimits()
void FlatFct::redoLimits |
( |
| ) |
|
|
protected |
Definition at line 68 of file FlatFct.cpp.
72 cout <<
"_min now " <<
_min <<
", min() " <<
min() << endl;
84 cout <<
"and _min now " <<
_min << endl;
virtual double min() const
◆ resetBoxLimits()
void FlatFct::resetBoxLimits |
( |
| ) |
|
|
virtual |
◆ setBoxLimits()
void FlatFct::setBoxLimits |
( |
double |
sMin, |
|
|
double |
sMax |
|
) |
| |
|
virtual |
Definition at line 48 of file FlatFct.cpp.
50 if(dbThis) cout <<
"setBoxLimits(" << sMin <<
", " << sMax <<
")" << endl;
◆ setCoordinate()
◆ setLimits()
void FlatFct::setLimits |
( |
double |
sMin, |
|
|
double |
sMax |
|
) |
| |
|
virtual |
Implements IGenFct.
Definition at line 32 of file FlatFct.cpp.
37 cout <<
"set limits " << sMin <<
", " << sMax
38 <<
". check: " <<
min() <<
", " <<
max()
43 cout <<
"set limits " << sMin <<
", " << sMax
44 <<
". check: 2 " <<
min() <<
", " <<
max()
virtual double min() const
virtual double max() const
◆ transformedFctMax()
double FlatFct::transformedFctMax |
( |
| ) |
const |
|
virtual |
◆ transformedFctValue()
double FlatFct::transformedFctValue |
( |
double |
sij | ) |
const |
|
virtual |
Reimplemented from IGenFct.
Definition at line 111 of file FlatFct.cpp.
112 if( sij <
min() || sij >
max())
return 0;
virtual double min() const
virtual double max() const
◆ _boxLimit_max
double FlatFct::_boxLimit_max |
|
protected |
◆ _boxLimit_min
double FlatFct::_boxLimit_min |
|
protected |
◆ _coord
◆ _max
◆ _min
The documentation for this class was generated from the following files: