Next: About this document ...
Up: Hadron Single- and Multiparticle
Previous: Calculus of covariances
  Contents
Kopytine's homepage
Generating sequences of random numbers with a fixed sum.
The multifireball event generator used in Chapter 7
is not a true event generator in the sense that it does not
propagate the initial state into a final state.
Rather, it generates a final state subject to a set of constraints.
The problem, expressed in the header of this Appendix,
had to be solved in order to
- impose momentum conservation on the final states created in the
multifireball event generator
- ensure independency of the event multiplicity on the mean
fireball size
Formulation of the problem: generate random numbers
,
subject to the condition
|
(114) |
so that the probability density distribution of an individual
approaches given function
( such that
and the variance of is finite) in the limit of large .
The multivariate probability density distribution can be presented
[83] as a product of conditional distributions
|
(115) |
where, e.g.,
denotes distribution for obtained from
if one keeps fixed at a certain value.
In the following, I will deliberately omit the normalization factor.
The extra complexity it brings in is not warranted in this context:
you get exactly one random number per subroutine call, therefore
normalization factor has no meaning
and only the functional shape of the distribution matters.
Here
is variance of .
For the -th conditional distribution,
The last transition is based on an (approximate and non-rigorous !)
use of the Central Limit Theorem (CLT for short).
Indeed, having numbers distributed according to with
variance
and their sum being ,
one expects the sum
to be distributed around
, with variance
.
Then, (the only free quantity other than
)
is distributed around
and the same variance,
since the total sum is strictly fixed at .
This use of CLT is
- non-rigorous because the CLT is valid for
independently sampled random numbers - in contradiction with
Eq. D.1.
- approximate because the CLT is a limit of large .
From the practical point of view, these caveats mean that for small ,
the generated distribution of may deviate from somewhat.
Nevertheless this technique accomplishes its goal whereas its approximate
nature is of no concern for the application in question.
Next: About this document ...
Up: Hadron Single- and Multiparticle
Previous: Calculus of covariances
  Contents
Mikhail Kopytine
2001-08-09