Commit 977af40b authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'boost-exp-distr' into 'master'

boost::exponential_distribution

See merge request allpix-squared/allpix-squared!853
parents bc00a479 98acdb7c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ The following authors, in alphabetical order, have developed or contributed to A
* Radek Privara, Palacky University Olomouc, [rprivara](https://gitlab.cern.ch/rprivara)
* Nashad Rahman, The Ohio State University, [nashadroid](https://github.com/nashadroid)
* Sabita Rao, GSDocs2020 Student, [srao](https://gitlab.cern.ch/srao)
* Daniil Rastorguev, DESY, [drastorg](https://gitlab.cern.ch/drastorg)
* Edoardo Rossi, DESY, [edrossi](https://gitlab.cern.ch/edrossi)
* Jihad Saidi, Université de Genève, [jisaidi](https://gitlab.cern.ch/jisaidi)
* Andre Sailer, CERN, [sailer](https://gitlab.cern.ch/sailer)
+2 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
#ifndef ALLPIX_RANDOM_DISTRIBUTIONS_H
#define ALLPIX_RANDOM_DISTRIBUTIONS_H

#include <boost/random/exponential_distribution.hpp>
#include <boost/random/normal_distribution.hpp>
#include <boost/random/piecewise_linear_distribution.hpp>
#include <boost/random/poisson_distribution.hpp>
@@ -22,6 +23,7 @@ namespace allpix {
    template <typename T> using piecewise_linear_distribution = boost::random::piecewise_linear_distribution<T>;
    template <typename T> using poisson_distribution = boost::random::poisson_distribution<T>;
    template <typename T> using uniform_real_distribution = boost::random::uniform_real_distribution<T>;
    template <typename T> using exponential_distribution = boost::random::exponential_distribution<T>;
} // namespace allpix

#endif // ALLPIX_RANDOM_DISTRIBUTIONS_H