Main Page
Namespaces
Classes
Package Documentation
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
{
12
public
:
13
GaussianTail
(
double
sigma
=1.,
double
threshold
=2.);
14
~GaussianTail
();
15
inline
void
setParameters
(
double
sigma
,
double
threshold
)
16
{
17
sigma_
=
sigma
;
18
threshold_
=
threshold
;
19
s_
=
threshold_
/
sigma_
;
20
ssquare_
=
s_
*
s_
;
21
};
22
double
shoot
(
RandomEngineAndDistribution
const
*)
const
;
23
24
private
:
25
26
double
sigma_
;
27
double
threshold_
;
28
double
s_
;
29
double
ssquare_
;
30
31
};
32
33
#endif
GaussianTail::s_
double s_
Definition:
GaussianTail.h:28
GaussianTail::threshold_
double threshold_
Definition:
GaussianTail.h:27
ctppsDiamondLocalTracks_cfi.threshold
threshold
Definition:
ctppsDiamondLocalTracks_cfi.py:7
GaussianTail::shoot
double shoot(RandomEngineAndDistribution const *) const
Definition:
GaussianTail.cc:18
GaussianTail::GaussianTail
GaussianTail(double sigma=1., double threshold=2.)
Definition:
GaussianTail.cc:5
GaussianTail
Definition:
GaussianTail.h:10
GaussianTail::sigma_
double sigma_
Definition:
GaussianTail.h:26
GaussianTail::setParameters
void setParameters(double sigma, double threshold)
Definition:
GaussianTail.h:15
ctppsDiamondLocalTracks_cfi.sigma
sigma
Definition:
ctppsDiamondLocalTracks_cfi.py:10
GaussianTail::ssquare_
double ssquare_
Definition:
GaussianTail.h:29
GaussianTail::~GaussianTail
~GaussianTail()
Definition:
GaussianTail.cc:13
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
Generated for CMSSW Reference Manual by
1.8.11