/* 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 PDG_H #define PDG_H #define SPEED_OF_LIGHT 29.9792458 /* cm/ns */ /* From http://pdg.lbl.gov/2017/AtomicNuclearProperties/HTML/water_liquid.html. * * Technically there is a different radiation length for D2O and H2O, and each * should be divided by the density of the water. However, the results for * water and heavy water are very close so instead of having to keep track of * which medium we are in we just use the radiation length in light water. */ #define RADIATION_LENGTH 36.08 /* g/cm^2 */ #define ELECTRON_MASS 0.5109989461 /* MeV */ #define MUON_MASS 105.6583745 /* MeV */ #define PROTON_MASS 938.272081 /* MeV */ #define FINE_STRUCTURE_CONSTANT 7.297352566417e-3 double get_scattering_rms(double x, double p, double beta, double z); #endif