The Gaudi framework has a system of units defined in c++ and python. These are in module GaudiKernel.SystemOfunits. Setup DaVinci and start python using:
SetupProject DaVinci 
python
Load the module and have a look around. What are the Gaudi units of length and energy?
from GaudiKernel import SystemOfUnits as units
dir(units)
help(units)

-- RoelAaij - 26-Sep-2011


This topic: LHCb > GaudiPythonTutorial > GaudiPythonTutorialUnits
Topic revision: r2 - 2013-05-23 - PatrickSKoppenburg
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback