npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
randomHistoFillND.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_RANDOMHISTOFILLND_HH_
2 #define NPSTAT_RANDOMHISTOFILLND_HH_
3 
4 /*!
5 // \file randomHistoFillND.hh
6 //
7 // \brief Utilities for filling multivariate histograms with random samples
8 //
9 // Author: I. Volobouev
10 //
11 // September 2019
12 */
13 
16 
17 namespace npstat {
18  template <class Histo>
19  void randomHistoFillND(Histo* h, AbsRandomGenerator& rng,
20  const AbsDistributionND& distro,
21  unsigned long npoints);
22 
23  template <class Histo>
24  void randomHistoFillCND(Histo* h, AbsRandomGenerator& rng,
25  const AbsDistributionND& distro,
26  unsigned long npoints);
27 }
28 
29 #include "npstat/stat/randomHistoFillND.icc"
30 
31 #endif // NPSTAT_RANDOMHISTOFILLND_HH_
Interface definition for multivariate continuous statistical distributions.
Interface definition for pseudo- and quasi-random number generators.
Definition: AbsArrayProjector.hh:14