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 8 years ago

Closed 8 years ago

Last modified 8 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 8 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 8 years ago by Clarence Wret

Milestone: milestone1v1r0

Milestone renamed

Note: See TracTickets for help on using tickets.