Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/externals/clhep/include/CLHEP/Units/SystemOfUnits.h

Version: [ ReleaseNotes ] [ 1.0 ] [ 1.1 ] [ 2.0 ] [ 3.0 ] [ 3.1 ] [ 3.2 ] [ 4.0 ] [ 4.0.p1 ] [ 4.0.p2 ] [ 4.1 ] [ 4.1.p1 ] [ 5.0 ] [ 5.0.p1 ] [ 5.1 ] [ 5.1.p1 ] [ 5.2 ] [ 5.2.p1 ] [ 5.2.p2 ] [ 6.0 ] [ 6.0.p1 ] [ 6.1 ] [ 6.2 ] [ 6.2.p1 ] [ 6.2.p2 ] [ 7.0 ] [ 7.0.p1 ] [ 7.1 ] [ 7.1.p1 ] [ 8.0 ] [ 8.0.p1 ] [ 8.1 ] [ 8.1.p1 ] [ 8.1.p2 ] [ 8.2 ] [ 8.2.p1 ] [ 8.3 ] [ 8.3.p1 ] [ 8.3.p2 ] [ 9.0 ] [ 9.0.p1 ] [ 9.0.p2 ] [ 9.1 ] [ 9.1.p1 ] [ 9.1.p2 ] [ 9.1.p3 ] [ 9.2 ] [ 9.2.p1 ] [ 9.2.p2 ] [ 9.2.p3 ] [ 9.2.p4 ] [ 9.3 ] [ 9.3.p1 ] [ 9.3.p2 ] [ 9.4 ] [ 9.4.p1 ] [ 9.4.p2 ] [ 9.4.p3 ] [ 9.4.p4 ] [ 9.5 ] [ 9.5.p1 ] [ 9.5.p2 ] [ 9.6 ] [ 9.6.p1 ] [ 9.6.p2 ] [ 9.6.p3 ] [ 9.6.p4 ] [ 10.0 ] [ 10.0.p1 ] [ 10.0.p2 ] [ 10.0.p3 ] [ 10.0.p4 ] [ 10.1 ] [ 10.1.p1 ] [ 10.1.p2 ] [ 10.1.p3 ] [ 10.2 ] [ 10.2.p1 ] [ 10.2.p2 ] [ 10.2.p3 ] [ 10.3 ] [ 10.3.p1 ] [ 10.3.p2 ] [ 10.3.p3 ] [ 10.4 ] [ 10.4.p1 ] [ 10.4.p2 ] [ 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /externals/clhep/include/CLHEP/Units/SystemOfUnits.h (Version 11.3.0) and /externals/clhep/include/CLHEP/Units/SystemOfUnits.h (Version 10.4.p1)


  1 // -*- C++ -*-                                      1 // -*- C++ -*-
                                                   >>   2 // $Id:$
  2 // -------------------------------------------      3 // ----------------------------------------------------------------------
  3 // HEP coherent system of Units                     4 // HEP coherent system of Units
  4 //                                                  5 //
  5 // This file has been provided to CLHEP by Gea      6 // This file has been provided to CLHEP by Geant4 (simulation toolkit for HEP).
  6 //                                                  7 //
  7 // The basic units are :                            8 // The basic units are :
  8 // millimeter              (millimeter)             9 // millimeter              (millimeter)
  9 // nanosecond              (nanosecond)            10 // nanosecond              (nanosecond)
 10 // Mega electron Volt      (MeV)                   11 // Mega electron Volt      (MeV)
 11 // positron charge         (eplus)                 12 // positron charge         (eplus)
 12 // degree Kelvin           (kelvin)                13 // degree Kelvin           (kelvin)
 13 // the amount of substance (mole)                  14 // the amount of substance (mole)
 14 // luminous intensity      (candela)               15 // luminous intensity      (candela)
 15 // radian                  (radian)                16 // radian                  (radian)
 16 // steradian               (steradian)             17 // steradian               (steradian)
 17 //                                                 18 //
 18 // Below is a non exhaustive list of derived a     19 // Below is a non exhaustive list of derived and pratical units
 19 // (i.e. mostly the SI units).                     20 // (i.e. mostly the SI units).
 20 // You can add your own units.                     21 // You can add your own units.
 21 //                                                 22 //
 22 // The SI numerical value of the positron char     23 // The SI numerical value of the positron charge is defined here,
 23 // as it is needed for conversion factor : pos     24 // as it is needed for conversion factor : positron charge = e_SI (coulomb)
 24 //                                                 25 //
 25 // The others physical constants are defined i     26 // The others physical constants are defined in the header file :
 26 // PhysicalConstants.h                             27 // PhysicalConstants.h
 27 //                                                 28 //
 28 // Authors: M.Maire, S.Giani                       29 // Authors: M.Maire, S.Giani
 29 //                                                 30 //
 30 // History:                                        31 // History:
 31 //                                                 32 //
 32 // 06.02.96   Created.                             33 // 06.02.96   Created.
 33 // 28.03.96   Added miscellaneous constants.       34 // 28.03.96   Added miscellaneous constants.
 34 // 05.12.97   E.Tcherniaev: Redefined pascal (     35 // 05.12.97   E.Tcherniaev: Redefined pascal (to avoid warnings on WinNT)
 35 // 20.05.98   names: meter, second, gram, radi     36 // 20.05.98   names: meter, second, gram, radian, degree
 36 //            (from Brian.Lasiuk@yale.edu (STA     37 //            (from Brian.Lasiuk@yale.edu (STAR)). Added luminous units.
 37 // 05.08.98   angstrom, picobarn, microsecond,     38 // 05.08.98   angstrom, picobarn, microsecond, picosecond, petaelectronvolt
 38 // 01.03.01   parsec                               39 // 01.03.01   parsec    
 39 // 31.01.06   kilogray, milligray, microgray       40 // 31.01.06   kilogray, milligray, microgray    
 40 // 29.04.08   use PDG 2006 value of e_SI           41 // 29.04.08   use PDG 2006 value of e_SI
 41 // 03.11.08   use PDG 2008 value of e_SI           42 // 03.11.08   use PDG 2008 value of e_SI
 42 // 19.08.15   added liter and its sub units (m     43 // 19.08.15   added liter and its sub units (mma)
 43 // 12.01.16   added symbols for microsecond (u     44 // 12.01.16   added symbols for microsecond (us) and picosecond (ps) (mma)
 44 // 17.07.20   use PDG 2019 value of e_SI       << 
 45 // 06.05.21   added minute, hour, day, year an << 
 46                                                    45 
 47 #ifndef HEP_SYSTEM_OF_UNITS_H                      46 #ifndef HEP_SYSTEM_OF_UNITS_H
 48 #define HEP_SYSTEM_OF_UNITS_H                      47 #define HEP_SYSTEM_OF_UNITS_H
 49                                                    48 
 50 namespace CLHEP {                                  49 namespace CLHEP {
 51                                                    50 
 52   //                                               51   //
 53   //                                               52   //
 54   //                                               53   //
 55   static constexpr double     pi  = 3.14159265     54   static constexpr double     pi  = 3.14159265358979323846;
 56   static constexpr double  twopi  = 2*pi;          55   static constexpr double  twopi  = 2*pi;
 57   static constexpr double halfpi  = pi/2;          56   static constexpr double halfpi  = pi/2;
 58   static constexpr double     pi2 = pi*pi;         57   static constexpr double     pi2 = pi*pi;
 59                                                    58 
 60   //                                               59   // 
 61   // Length [L]                                    60   // Length [L]
 62   //                                               61   //
 63   static constexpr double millimeter  = 1.;        62   static constexpr double millimeter  = 1.;                        
 64   static constexpr double millimeter2 = millim     63   static constexpr double millimeter2 = millimeter*millimeter;
 65   static constexpr double millimeter3 = millim     64   static constexpr double millimeter3 = millimeter*millimeter*millimeter;
 66                                                    65 
 67   static constexpr double centimeter  = 10.*mi     66   static constexpr double centimeter  = 10.*millimeter;   
 68   static constexpr double centimeter2 = centim     67   static constexpr double centimeter2 = centimeter*centimeter;
 69   static constexpr double centimeter3 = centim     68   static constexpr double centimeter3 = centimeter*centimeter*centimeter;
 70                                                    69     
 71   static constexpr double meter  = 1000.*milli     70   static constexpr double meter  = 1000.*millimeter;                  
 72   static constexpr double meter2 = meter*meter     71   static constexpr double meter2 = meter*meter;
 73   static constexpr double meter3 = meter*meter     72   static constexpr double meter3 = meter*meter*meter;
 74                                                    73 
 75   static constexpr double kilometer = 1000.*me     74   static constexpr double kilometer = 1000.*meter;                   
 76   static constexpr double kilometer2 = kilomet     75   static constexpr double kilometer2 = kilometer*kilometer;
 77   static constexpr double kilometer3 = kilomet     76   static constexpr double kilometer3 = kilometer*kilometer*kilometer;
 78                                                    77 
 79   static constexpr double parsec = 3.085677580     78   static constexpr double parsec = 3.0856775807e+16*meter;
 80                                                    79 
 81   static constexpr double micrometer = 1.e-6 *     80   static constexpr double micrometer = 1.e-6 *meter;             
 82   static constexpr double  nanometer = 1.e-9 *     81   static constexpr double  nanometer = 1.e-9 *meter;
 83   static constexpr double  angstrom  = 1.e-10*     82   static constexpr double  angstrom  = 1.e-10*meter;
 84   static constexpr double  fermi     = 1.e-15*     83   static constexpr double  fermi     = 1.e-15*meter;
 85                                                    84 
 86   static constexpr double      barn = 1.e-28*m     85   static constexpr double      barn = 1.e-28*meter2;
 87   static constexpr double millibarn = 1.e-3 *b     86   static constexpr double millibarn = 1.e-3 *barn;
 88   static constexpr double microbarn = 1.e-6 *b     87   static constexpr double microbarn = 1.e-6 *barn;
 89   static constexpr double  nanobarn = 1.e-9 *b     88   static constexpr double  nanobarn = 1.e-9 *barn;
 90   static constexpr double  picobarn = 1.e-12*b     89   static constexpr double  picobarn = 1.e-12*barn;
 91                                                    90 
 92   // symbols                                       91   // symbols
 93   static constexpr double nm  = nanometer;         92   static constexpr double nm  = nanometer;                        
 94   static constexpr double um  = micrometer;        93   static constexpr double um  = micrometer;                        
 95                                                    94 
 96   static constexpr double mm  = millimeter;        95   static constexpr double mm  = millimeter;                        
 97   static constexpr double mm2 = millimeter2;       96   static constexpr double mm2 = millimeter2;
 98   static constexpr double mm3 = millimeter3;       97   static constexpr double mm3 = millimeter3;
 99                                                    98 
100   static constexpr double cm  = centimeter;        99   static constexpr double cm  = centimeter;   
101   static constexpr double cm2 = centimeter2;      100   static constexpr double cm2 = centimeter2;
102   static constexpr double cm3 = centimeter3;      101   static constexpr double cm3 = centimeter3;
103                                                   102 
104   static constexpr double liter = 1.e+3*cm3;      103   static constexpr double liter = 1.e+3*cm3;
105   static constexpr double  L = liter;             104   static constexpr double  L = liter;
106   static constexpr double dL = 1.e-1*liter;       105   static constexpr double dL = 1.e-1*liter;
107   static constexpr double cL = 1.e-2*liter;       106   static constexpr double cL = 1.e-2*liter;
108   static constexpr double mL = 1.e-3*liter;       107   static constexpr double mL = 1.e-3*liter;       
109                                                   108   
110   static constexpr double m  = meter;             109   static constexpr double m  = meter;                  
111   static constexpr double m2 = meter2;            110   static constexpr double m2 = meter2;
112   static constexpr double m3 = meter3;            111   static constexpr double m3 = meter3;
113                                                   112 
114   static constexpr double km  = kilometer;        113   static constexpr double km  = kilometer;                   
115   static constexpr double km2 = kilometer2;       114   static constexpr double km2 = kilometer2;
116   static constexpr double km3 = kilometer3;       115   static constexpr double km3 = kilometer3;
117                                                   116 
118   static constexpr double pc = parsec;            117   static constexpr double pc = parsec;
119                                                   118 
120   //                                              119   //
121   // Angle                                        120   // Angle
122   //                                              121   //
123   static constexpr double radian      = 1.;       122   static constexpr double radian      = 1.;                  
124   static constexpr double milliradian = 1.e-3*    123   static constexpr double milliradian = 1.e-3*radian;
125   static constexpr double degree = (pi/180.0)*    124   static constexpr double degree = (pi/180.0)*radian;
126                                                   125 
127   static constexpr double   steradian = 1.;       126   static constexpr double   steradian = 1.;
128                                                   127   
129   // symbols                                      128   // symbols
130   static constexpr double rad  = radian;          129   static constexpr double rad  = radian;
131   static constexpr double mrad = milliradian;     130   static constexpr double mrad = milliradian;
132   static constexpr double sr   = steradian;       131   static constexpr double sr   = steradian;
133   static constexpr double deg  = degree;          132   static constexpr double deg  = degree;
134                                                   133 
135   //                                              134   //
136   // Time [T]                                     135   // Time [T]
137   //                                              136   //
138   static constexpr double nanosecond  = 1.;       137   static constexpr double nanosecond  = 1.;
139   static constexpr double second      = 1.e+9     138   static constexpr double second      = 1.e+9 *nanosecond;
140   static constexpr double millisecond = 1.e-3     139   static constexpr double millisecond = 1.e-3 *second;
141   static constexpr double microsecond = 1.e-6     140   static constexpr double microsecond = 1.e-6 *second;
142   static constexpr double picosecond  = 1.e-12 << 141   static constexpr double  picosecond = 1.e-12*second;
143                                                << 
144   static constexpr double minute = 60*second;  << 
145   static constexpr double hour   = 60*minute;  << 
146   static constexpr double day    = 24*hour;    << 
147   static constexpr double year   = 365*day;    << 
148                                                   142 
149   static constexpr double hertz = 1./second;      143   static constexpr double hertz = 1./second;
150   static constexpr double kilohertz = 1.e+3*he    144   static constexpr double kilohertz = 1.e+3*hertz;
151   static constexpr double megahertz = 1.e+6*he    145   static constexpr double megahertz = 1.e+6*hertz;
152                                                   146 
153   // symbols                                      147   // symbols
154   static constexpr double ns = nanosecond;        148   static constexpr double ns = nanosecond;
155   static constexpr double  s = second;            149   static constexpr double  s = second;
156   static constexpr double ms = millisecond;       150   static constexpr double ms = millisecond;
157   static constexpr double us = microsecond;       151   static constexpr double us = microsecond;
158   static constexpr double ps = picosecond;        152   static constexpr double ps = picosecond;
159                                                   153 
160   //                                              154   //
161   // Electric charge [Q]                          155   // Electric charge [Q]
162   //                                              156   //
163   static constexpr double eplus = 1. ;// posit    157   static constexpr double eplus = 1. ;// positron charge
164   static constexpr double e_SI  = 1.602176634e << 158   static constexpr double e_SI  = 1.602176487e-19;// positron charge in coulomb
165   static constexpr double coulomb = eplus/e_SI    159   static constexpr double coulomb = eplus/e_SI;// coulomb = 6.24150 e+18 * eplus
166                                                   160 
167   //                                              161   //
168   // Energy [E]                                   162   // Energy [E]
169   //                                              163   //
170   static constexpr double megaelectronvolt = 1    164   static constexpr double megaelectronvolt = 1. ;
171   static constexpr double     electronvolt = 1    165   static constexpr double     electronvolt = 1.e-6*megaelectronvolt;
172   static constexpr double kiloelectronvolt = 1    166   static constexpr double kiloelectronvolt = 1.e-3*megaelectronvolt;
173   static constexpr double gigaelectronvolt = 1    167   static constexpr double gigaelectronvolt = 1.e+3*megaelectronvolt;
174   static constexpr double teraelectronvolt = 1    168   static constexpr double teraelectronvolt = 1.e+6*megaelectronvolt;
175   static constexpr double petaelectronvolt = 1    169   static constexpr double petaelectronvolt = 1.e+9*megaelectronvolt;
176   static constexpr double millielectronvolt =  << 
177                                                   170 
178   static constexpr double joule = electronvolt    171   static constexpr double joule = electronvolt/e_SI;// joule = 6.24150 e+12 * MeV
179                                                   172 
180   // symbols                                      173   // symbols
181   static constexpr double MeV = megaelectronvo    174   static constexpr double MeV = megaelectronvolt;
182   static constexpr double  eV = electronvolt;     175   static constexpr double  eV = electronvolt;
183   static constexpr double keV = kiloelectronvo    176   static constexpr double keV = kiloelectronvolt;
184   static constexpr double GeV = gigaelectronvo    177   static constexpr double GeV = gigaelectronvolt;
185   static constexpr double TeV = teraelectronvo    178   static constexpr double TeV = teraelectronvolt;
186   static constexpr double PeV = petaelectronvo    179   static constexpr double PeV = petaelectronvolt;
187                                                   180 
188   //                                              181   //
189   // Mass [E][T^2][L^-2]                          182   // Mass [E][T^2][L^-2]
190   //                                              183   //
191   static constexpr double  kilogram = joule*se    184   static constexpr double  kilogram = joule*second*second/(meter*meter);   
192   static constexpr double      gram = 1.e-3*ki    185   static constexpr double      gram = 1.e-3*kilogram;
193   static constexpr double milligram = 1.e-3*gr    186   static constexpr double milligram = 1.e-3*gram;
194                                                   187 
195   // symbols                                      188   // symbols
196   static constexpr double  kg = kilogram;         189   static constexpr double  kg = kilogram;
197   static constexpr double   g = gram;             190   static constexpr double   g = gram;
198   static constexpr double  mg = milligram;        191   static constexpr double  mg = milligram;
199                                                   192 
200   //                                              193   //
201   // Power [E][T^-1]                              194   // Power [E][T^-1]
202   //                                              195   //
203   static constexpr double watt = joule/second;    196   static constexpr double watt = joule/second;// watt = 6.24150 e+3 * MeV/ns
204                                                   197 
205   //                                              198   //
206   // Force [E][L^-1]                              199   // Force [E][L^-1]
207   //                                              200   //
208   static constexpr double newton = joule/meter    201   static constexpr double newton = joule/meter;// newton = 6.24150 e+9 * MeV/mm
209                                                   202 
210   //                                              203   //
211   // Pressure [E][L^-3]                           204   // Pressure [E][L^-3]
212   //                                              205   //
213 #define pascal hep_pascal                         206 #define pascal hep_pascal                          // a trick to avoid warnings 
214   static constexpr double hep_pascal = newton/    207   static constexpr double hep_pascal = newton/m2;   // pascal = 6.24150 e+3 * MeV/mm3
215   static constexpr double bar        = 100000*    208   static constexpr double bar        = 100000*pascal; // bar    = 6.24150 e+8 * MeV/mm3
216   static constexpr double atmosphere = 101325*    209   static constexpr double atmosphere = 101325*pascal; // atm    = 6.32420 e+8 * MeV/mm3
217                                                   210 
218   //                                              211   //
219   // Electric current [Q][T^-1]                   212   // Electric current [Q][T^-1]
220   //                                              213   //
221   static constexpr double      ampere = coulom    214   static constexpr double      ampere = coulomb/second; // ampere = 6.24150 e+9 * eplus/ns
222   static constexpr double milliampere = 1.e-3*    215   static constexpr double milliampere = 1.e-3*ampere;
223   static constexpr double microampere = 1.e-6*    216   static constexpr double microampere = 1.e-6*ampere;
224   static constexpr double  nanoampere = 1.e-9*    217   static constexpr double  nanoampere = 1.e-9*ampere;
225                                                   218 
226   //                                              219   //
227   // Electric potential [E][Q^-1]                 220   // Electric potential [E][Q^-1]
228   //                                              221   //
229   static constexpr double megavolt = megaelect    222   static constexpr double megavolt = megaelectronvolt/eplus;
230   static constexpr double kilovolt = 1.e-3*meg    223   static constexpr double kilovolt = 1.e-3*megavolt;
231   static constexpr double     volt = 1.e-6*meg    224   static constexpr double     volt = 1.e-6*megavolt;
232                                                   225 
233   //                                              226   //
234   // Electric resistance [E][T][Q^-2]             227   // Electric resistance [E][T][Q^-2]
235   //                                              228   //
236   static constexpr double ohm = volt/ampere;//    229   static constexpr double ohm = volt/ampere;// ohm = 1.60217e-16*(MeV/eplus)/(eplus/ns)
237                                                   230 
238   //                                              231   //
239   // Electric capacitance [Q^2][E^-1]             232   // Electric capacitance [Q^2][E^-1]
240   //                                              233   //
241   static constexpr double farad = coulomb/volt    234   static constexpr double farad = coulomb/volt;// farad = 6.24150e+24 * eplus/Megavolt
242   static constexpr double millifarad = 1.e-3*f    235   static constexpr double millifarad = 1.e-3*farad;
243   static constexpr double microfarad = 1.e-6*f    236   static constexpr double microfarad = 1.e-6*farad;
244   static constexpr double  nanofarad = 1.e-9*f    237   static constexpr double  nanofarad = 1.e-9*farad;
245   static constexpr double  picofarad = 1.e-12*    238   static constexpr double  picofarad = 1.e-12*farad;
246                                                   239 
247   //                                              240   //
248   // Magnetic Flux [T][E][Q^-1]                   241   // Magnetic Flux [T][E][Q^-1]
249   //                                              242   //
250   static constexpr double weber = volt*second;    243   static constexpr double weber = volt*second;// weber = 1000*megavolt*ns
251                                                   244 
252   //                                              245   //
253   // Magnetic Field [T][E][Q^-1][L^-2]            246   // Magnetic Field [T][E][Q^-1][L^-2]
254   //                                              247   //
255   static constexpr double tesla     = volt*sec    248   static constexpr double tesla     = volt*second/meter2;// tesla =0.001*megavolt*ns/mm2
256                                                   249 
257   static constexpr double gauss     = 1.e-4*te    250   static constexpr double gauss     = 1.e-4*tesla;
258   static constexpr double kilogauss = 1.e-1*te    251   static constexpr double kilogauss = 1.e-1*tesla;
259                                                   252 
260   //                                              253   //
261   // Inductance [T^2][E][Q^-2]                    254   // Inductance [T^2][E][Q^-2]
262   //                                              255   //
263   static constexpr double henry = weber/ampere    256   static constexpr double henry = weber/ampere;// henry = 1.60217e-7*MeV*(ns/eplus)**2
264                                                   257 
265   //                                              258   //
266   // Temperature                                  259   // Temperature
267   //                                              260   //
268   static constexpr double kelvin = 1.;            261   static constexpr double kelvin = 1.;
269                                                   262 
270   //                                              263   //
271   // Amount of substance                          264   // Amount of substance
272   //                                              265   //
273   static constexpr double mole = 1.;              266   static constexpr double mole = 1.;
274                                                   267 
275   //                                              268   //
276   // Activity [T^-1]                              269   // Activity [T^-1]
277   //                                              270   //
278   static constexpr double becquerel = 1./secon    271   static constexpr double becquerel = 1./second ;
279   static constexpr double curie = 3.7e+10 * be    272   static constexpr double curie = 3.7e+10 * becquerel;
280   static constexpr double kilobecquerel = 1.e+    273   static constexpr double kilobecquerel = 1.e+3*becquerel;
281   static constexpr double megabecquerel = 1.e+    274   static constexpr double megabecquerel = 1.e+6*becquerel;
282   static constexpr double gigabecquerel = 1.e+    275   static constexpr double gigabecquerel = 1.e+9*becquerel;
283   static constexpr double millicurie = 1.e-3*c    276   static constexpr double millicurie = 1.e-3*curie;
284   static constexpr double microcurie = 1.e-6*c    277   static constexpr double microcurie = 1.e-6*curie;
285   static constexpr double Bq = becquerel;         278   static constexpr double Bq = becquerel;
286   static constexpr double kBq = kilobecquerel;    279   static constexpr double kBq = kilobecquerel;
287   static constexpr double MBq = megabecquerel;    280   static constexpr double MBq = megabecquerel;
288   static constexpr double GBq = gigabecquerel;    281   static constexpr double GBq = gigabecquerel;
289   static constexpr double Ci = curie;             282   static constexpr double Ci = curie;
290   static constexpr double mCi = millicurie;       283   static constexpr double mCi = millicurie;
291   static constexpr double uCi = microcurie;       284   static constexpr double uCi = microcurie;
292                                                   285 
293   //                                              286   //
294   // Absorbed dose [L^2][T^-2]                    287   // Absorbed dose [L^2][T^-2]
295   //                                              288   //
296   static constexpr double      gray = joule/ki    289   static constexpr double      gray = joule/kilogram ;
297   static constexpr double  kilogray = 1.e+3*gr    290   static constexpr double  kilogray = 1.e+3*gray;
298   static constexpr double milligray = 1.e-3*gr    291   static constexpr double milligray = 1.e-3*gray;
299   static constexpr double microgray = 1.e-6*gr    292   static constexpr double microgray = 1.e-6*gray;
300                                                   293 
301   //                                              294   //
302   // Luminous intensity [I]                       295   // Luminous intensity [I]
303   //                                              296   //
304   static constexpr double candela = 1.;           297   static constexpr double candela = 1.;
305                                                   298 
306   //                                              299   //
307   // Luminous flux [I]                            300   // Luminous flux [I]
308   //                                              301   //
309   static constexpr double lumen = candela*ster    302   static constexpr double lumen = candela*steradian;
310                                                   303 
311   //                                              304   //
312   // Illuminance [I][L^-2]                        305   // Illuminance [I][L^-2]
313   //                                              306   //
314   static constexpr double lux = lumen/meter2;     307   static constexpr double lux = lumen/meter2;
315                                                   308 
316   //                                              309   //
317   // Miscellaneous                                310   // Miscellaneous
318   //                                              311   //
319   static constexpr double perCent     = 0.01 ;    312   static constexpr double perCent     = 0.01 ;
320   static constexpr double perThousand = 0.001;    313   static constexpr double perThousand = 0.001;
321   static constexpr double perMillion  = 0.0000    314   static constexpr double perMillion  = 0.000001;
322                                                   315 
323 }  // namespace CLHEP                             316 }  // namespace CLHEP
324                                                   317 
325 #endif /* HEP_SYSTEM_OF_UNITS_H */                318 #endif /* HEP_SYSTEM_OF_UNITS_H */
326                                                   319