Changes between Version 1 and Version 2 of Ticket #49
- Timestamp:
- May 23, 2012, 1:02:54 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49 – Description
v1 v2 5 5 grep -r "sqrt( *pow" trunk/* | grep c: 6 6 }}} 7 - A strange pi constant is defined as 3.14159265358979312 in interface/D_Constants.h and in Utilities/Fastjet/plugins/CDFCones/interface/CalTower.hh. Normally, it should be 3.14159265358979323846. Moreover M_PI is already defined in math.h, pi and twopi are defined in Utilities/CLHEP/Units/PhysicalConstants.h. It would be better to use definitions from PhysicalConstants.h.7 - A strange pi constant is defined as 3.14159265358979312 in {{{interface/D_Constants.h}}} and in {{{Utilities/Fastjet/plugins/CDFCones/interface/CalTower.hh}}}. Normally, it should be 3.14159265358979323846. Moreover M_PI is already defined in {{{math.h}}}, pi and twopi are defined in {{{Utilities/CLHEP/Units}}}/PhysicalConstants.h. It would be better to use definitions from PhysicalConstants.h.