ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_PAI_physicsConstants.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRT_PAI_physicsConstants_h
6#define TRT_PAI_physicsConstants_h
7
9
14 const double c = 2.99792458e10;
15 const double Nav = 6.02214e23;
16 const double erg = 1.60218e-12;
17 const double mb = 1.e-18;
18 const double Me = 9.10943e-28;
19 const double MeeV = Me*(c*c)/erg;
21 const double Qe = 4.80321e-10;
22 const double r0 = Qe*Qe/Me/(c*c);
23 const double h = 1.05457e-27;
24 const double he = h*c/erg;
25 const double invlog10 = 0.434294481903252;
26}
27
28#endif
A number of constexpr particle constants to avoid hardcoding them directly in various places.
constexpr double protonMassInMeV
the mass of the proton (in MeV)
const double h
Plank constant{erg}.
const double MProtonMeV
Proton mass in MeV.
const double Me
Electron mass {g}.
const double erg
1 ev to erg {erg}
const double Nav
Avagadro constant.
const double invlog10
you guess...
const double Qe
Electron charge{ESU}.
const double r0
electron radius{cm}