npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
randomHistoFill1D.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_RANDOMHISTOFILL1D_HH_
2 #define NPSTAT_RANDOMHISTOFILL1D_HH_
3 
4 /*!
5 // \file randomHistoFill1D.hh
6 //
7 // \brief Utilities for filling 1-d 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 randomHistoFill1D(Histo* h, AbsRandomGenerator& rng,
20  const AbsDistribution1D& distro,
21  unsigned long npoints);
22 
23  template <class Histo>
24  void randomHistoFillC1D(Histo* h, AbsRandomGenerator& rng,
25  const AbsDistribution1D& distro,
26  unsigned long npoints);
27 }
28 
29 #include "npstat/stat/randomHistoFill1D.icc"
30 
31 #endif // NPSTAT_RANDOMHISTOFILL1D_HH_
Interface definition for 1-d continuous statistical distributions.
Interface definition for pseudo- and quasi-random number generators.
Definition: AbsArrayProjector.hh:14