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
RandomEngineAndDistribution
;
9
10
class
GaussianTail
{
11
public
:
12
GaussianTail
(
double
sigma = 1.,
double
threshold
= 2.);
13
~GaussianTail
();
14
inline
void
setParameters
(
double
sigma,
double
threshold
) {
15
sigma_
= sigma;
16
threshold_
=
threshold
;
17
s_
=
threshold_
/
sigma_
;
18
ssquare_
=
s_
*
s_
;
19
};
20
double
shoot
(
RandomEngineAndDistribution
const
*)
const
;
21
22
private
:
23
double
sigma_
;
24
double
threshold_
;
25
double
s_
;
26
double
ssquare_
;
27
};
28
29
#endif
GaussianTail::sigma_
double sigma_
Definition:
GaussianTail.h:23
GaussianTail::threshold_
double threshold_
Definition:
GaussianTail.h:24
GaussianTail::ssquare_
double ssquare_
Definition:
GaussianTail.h:26
GaussianTail::GaussianTail
GaussianTail(double sigma=1., double threshold=2.)
Definition:
GaussianTail.cc:5
GaussianTail::s_
double s_
Definition:
GaussianTail.h:25
GaussianTail::setParameters
void setParameters(double sigma, double threshold)
Definition:
GaussianTail.h:14
GaussianTail
Definition:
GaussianTail.h:10
GaussianTail::~GaussianTail
~GaussianTail()
Definition:
GaussianTail.cc:10
GaussianTail::shoot
double shoot(RandomEngineAndDistribution const *) const
Definition:
GaussianTail.cc:12
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition:
remoteMonitoring_LED_IterMethod_cfg.py:426
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
Generated for CMSSW Reference Manual by
1.8.16