Skip to content
Snippets Groups Projects
Commit 130876dd authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Update units following allpix-squared/allpix-squared!245

parent cd064c66
No related branches found
No related tags found
No related merge requests found
......@@ -231,8 +231,8 @@ void Corryvreckan::add_units() {
// CHARGE
Units::add("e", 1);
Units::add("ke", 1e3);
Units::add("fC", 1 / 1.6021766208e-4);
Units::add("C", 1 / 1.6021766208e-19);
Units::add("fC", 1 / 1.602176634e-4);
Units::add("C", 1 / 1.602176634e-19);
// VOLTAGE
// NOTE: fixed by above
......@@ -245,7 +245,7 @@ void Corryvreckan::add_units() {
// ANGLES
// NOTE: these are fake units
Units::add("deg", 0.01745329252);
Units::add("deg", 3.14159265358979323846 / 180.0);
Units::add("rad", 1);
Units::add("mrad", 1e-3);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment