Commit 36d49603 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'magnetic_field_unit' into 'master'

Resolve "Framework Unit of Magnetic Field: Discrepancy btw. Code & Manual"

Closes #243

See merge request allpix-squared/allpix-squared!835
parents f963e506 51c718b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ roughly follows common-sense (more details can be found in
| Temperature             | K (kelvin)                     | -                                                                                                                    |
| Charge                  | e (elementary charge)          | ke (kiloelectrons), <br> fC (femtocoulomb), <br> C (coulomb)                                                         |
| Voltage                 | MV (megavolt)                  | V (volt), <br> kV (kilovolt)                                                                                         |
| Magnetic field strength | T (tesla)                      | mT (millitesla)                                                                                                      |
| Magnetic field strength | kT (kilotesla)                 | T (tesla), <br> mT (millitesla)                                                                                      |
| Angle                   | rad (radian)                   | deg (degree), <br> mrad (milliradian)                                                                                |
| Radiation fluence       | Neq (1-MeV neutron-equivalent) | -                                                                                                                    |

+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ namespace allpix {
        Units::add("kV", 1e-3);

        // MAGNETIC FIELD
        Units::add("kT", 1);
        Units::add("T", 1e-3);
        Units::add("mT", 1e-6);