Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FastSimulation
Utilities
interface
GaussianTail.h
Go to the documentation of this file.
1
#ifndef FastSimulation_Utilities_GaussianTail_H
2
#define FastSimulation_Utilities_GaussianTail_H
3
4
// Florian Beaudette (LLR).
5
// 11/09/06
6
// Gaussian tail generator. Copied from the GNU Scientific library
7
8
class
RandomEngine
;
9
10
class
GaussianTail
11
{
12
public
:
13
GaussianTail
(
const
RandomEngine
* engine,
14
double
sigma=1.,
double
threshold
=2.);
15
~GaussianTail
();
16
inline
void
setParameters
(
double
sigma,
double
threshold
)
17
{
18
sigma_
= sigma;
19
threshold_
=
threshold
;
20
s_
=
threshold_
/
sigma_
;
21
ssquare_
=
s_
*
s_
;
22
};
23
double
shoot
()
const
;
24
25
private
:
26
27
const
RandomEngine
*
random
;
28
29
double
sigma_
;
30
double
threshold_
;
31
double
s_
;
32
double
ssquare_
;
33
34
};
35
36
#endif
RandomEngine
Definition:
RandomEngine.h:18
GaussianTail::s_
double s_
Definition:
GaussianTail.h:31
GaussianTail::threshold_
double threshold_
Definition:
GaussianTail.h:30
GaussianTail::GaussianTail
GaussianTail(const RandomEngine *engine, double sigma=1., double threshold=2.)
Definition:
GaussianTail.cc:5
GaussianTail
Definition:
GaussianTail.h:10
GaussianTail::random
const RandomEngine * random
Definition:
GaussianTail.h:27
GaussianTail::sigma_
double sigma_
Definition:
GaussianTail.h:29
dtDQMClient_cfg.threshold
tuple threshold
Definition:
dtDQMClient_cfg.py:16
GaussianTail::setParameters
void setParameters(double sigma, double threshold)
Definition:
GaussianTail.h:16
GaussianTail::shoot
double shoot() const
Definition:
GaussianTail.cc:20
GaussianTail::ssquare_
double ssquare_
Definition:
GaussianTail.h:32
GaussianTail::~GaussianTail
~GaussianTail()
Definition:
GaussianTail.cc:15
Generated for CMSSW Reference Manual by
1.8.5