July 17 ------- Change of default Units. It has long been on the list of things to do to change the BrUnits default from MeV to GeV. This is done now. The places in the code where this is of importance is in BrGeantHit.cxx -- conversion from .cdat information to dedx is (already) controlled by the BrUnits::KeV constant. BrDigitizeTPC.cxx -- conversion from .cdat information to dedx is (already) controlled by the BrUnits::KeV constant. BrDigitizeTof.cxx -- added the BrUnits::MeV to the conversion from dedx to adc (4 places in code). BrModuleMatchTrack.cxx -- added back the BrUnits::GeV in conversion from bend angle to momentum. The idea of using BrUnits for all formula is that if a units is changed (e.g. a default) results will all show up in the appropriate unit. The other defaults are cm and nsec as before. Please report problems with this, in particular if there are other pieces of code that assumes certain MeV or GeV units. -------------------------------------------------------- Flemming Videbaek Physics Department Brookhaven national Lab tlf: 631-344-4106 fax: 631-344-1334 email: videbaek@bnl.gov
This archive was generated by hypermail 2b29 : Mon Jul 17 2000 - 15:52:51 EDT