15 #ifndef CORE_SUBSTANCE_INITIALIZERS_H_
16 #define CORE_SUBSTANCE_INITIALIZERS_H_
21 #include "Math/DistFunc.h"
67 throw std::logic_error(
"You have chosen an non-existing axis!");
118 throw std::logic_error(
"You have chosen an non-existing axis!");
156 return ROOT::Math::poisson_pdf(x,
lambda_);
158 return ROOT::Math::poisson_pdf(y,
lambda_);
160 return ROOT::Math::poisson_pdf(z,
lambda_);
162 throw std::logic_error(
"You have chosen an non-existing axis!");
GaussianBand(real_t mean, real_t sigma, uint8_t axis, real_t scaling=1.0)
The constructor.
real_t operator()(real_t x, real_t y, real_t z)
The model that we want to apply for substance initialization. The operator is called for the entire s...
real_t operator()(real_t x, real_t y, real_t z)
The model that we want to apply for substance initialization. The operator is called for the entire s...
PoissonBand(real_t lambda, uint8_t axis)
The constructor.