LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Collection of Physical constants used in LArSoft. More...
Go to the source code of this file.
Namespaces | |
util | |
Namespace for general, non-LArSoft-specific utilities. | |
Functions | |
template<typename T = double> | |
constexpr T | util::pi () |
Returns the constant pi (up to 35 decimal digits of precision) More... | |
template<typename T > | |
constexpr T | util::DegreesToRadians (T angle) |
Converts the argument angle from degrees into radians. More... | |
template<typename T > | |
constexpr T | util::RadiansToDegrees (T angle) |
Converts the argument angle from radians into degrees ( ) More... | |
Variables | |
constexpr double | util::kGeVToElectrons = 4.237e7 |
23.6eV per ion pair, 1e9 eV/GeV More... | |
constexpr double | util::kc = 29.9792458 |
Speed of light in vacuum in LArSoft units [cm/ns]. More... | |
constexpr double | util::kMeterToCentimeter = 1.e2 |
1 m = 100 cm More... | |
constexpr double | util::kCentimeterToMeter = 1. / kMeterToCentimeter |
constexpr double | util::kMeterToKilometer = 1.e-3 |
1000 m = 1 km More... | |
constexpr double | util::kKilometerToMeter = 1. / kMeterToKilometer |
constexpr double | util::keVToMeV = 1.e-6 |
1e6 eV = 1 MeV More... | |
constexpr double | util::kMeVToeV = 1. / keVToMeV |
constexpr double | util::kBogusD = -999. |
obviously bogus double value More... | |
constexpr int | util::kBogusI = -999 |
obviously bogus integer value More... | |
constexpr float | util::kBogusF = -999. |
obviously bogus float value More... | |
constexpr double | util::quietCompiler |
Recombination factor coefficients (NIM). | |
Recombination factor coefficients come from Nucl.Instrum.Meth.A523:275-286,2004
| |
constexpr double | util::kRecombA = 0.800 |
A constant. More... | |
constexpr double | util::kRecombk = 0.0486 |
Recombination factor coefficients (modified box, ArguNeuT JINST). | |
Recombination factor coefficients come from Nucl.Instrum.Meth.A523:275-286,2004
| |
constexpr double | util::kModBoxA = 0.930 |
Modified Box Alpha. More... | |
constexpr double | util::kModBoxB = 0.212 |
Modified Box Beta in g/(MeV cm²)*kV/cm. More... | |
Collection of Physical constants used in LArSoft.
Definition in file PhysicalConstants.h.