/* Copyright (c) 2019, Anthony Latorre * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) * any later version. * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * You should have received a copy of the GNU General Public License along with * this program. If not, see . */ #ifndef ELECTRON_H #define ELECTRON_H #include /* for size_t */ double electron_get_max_energy(void); double electron_get_shower_photons(double T0, double rad); void electron_get_position_distribution_parameters(double T0, double *a, double *b); double electron_get_angular_distribution_alpha(double T0); double electron_get_angular_distribution_beta(double T0); double electron_get_angular_pdf_no_norm(double cos_theta, double alpha, double beta, double mu); double electron_get_angular_pdf_norm(double alpha, double beta, double mu); double electron_get_angular_pdf_delta_ray(double cos_theta, double alpha, double beta, double mu); double electron_get_angular_pdf(double cos_theta, double alpha, double beta, double mu); double electron_get_range(double T, double rho); double electron_get_dEdx_rad(double T, double rho); double electron_get_dEdx(double T, double rho); #endif