#22 closed enhancement (fixed)
Hard coded constants duplicated in lots of places.
Reported by: | cwilkinson | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | v1r0 |
Component: | component1 | Version: | |
Keywords: | Cc: |
Description
When looking through the Utils, I noticed that there are a lot of places where constants are duplicated. E.g., looking in FitUtils?, the neutron mass is hardcoded 6 times. I suggest we add a constants namespace in GeneralUtils? and use that consistently.
Note: See
TracTickets for help on using
tickets.
Added PhysConst? namespace in GeneralUtils?.h, so that physical constants like masses etc can be defined once.