nuisance is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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.

Change History (2)

comment:1 Changed 7 years ago by cwilkinson

Resolution: fixed
Status: newclosed

Added PhysConst? namespace in GeneralUtils?.h, so that physical constants like masses etc can be defined once.

comment:2 Changed 7 years ago by Clarence Wret

Milestone: milestone1v1r0

Milestone renamed

Note: See TracTickets for help on using tickets.