Difference: GaudiPythonTutorialUnits (1 vs. 2)

Revision 22013-05-23 - PatrickSKoppenburg

Line: 1 to 1
 
META TOPICPARENT name="GaudiPythonTutorial"
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: %SYNTAX{syntax="sh"}%
Changed:
<
<
SetupProject DaVinci v29r0
>
>
SetupProject DaVinci
 python %ENDSYNTAX% Load the module and have a look around. What are the Gaudi units of length and energy?

Revision 12011-09-26 - RoelAaij

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="GaudiPythonTutorial"
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:
<!-- SyntaxHighlightingPlugin -->
SetupProject DaVinci v29r0
python
<!-- end SyntaxHighlightingPlugin -->
Load the module and have a look around. What are the Gaudi units of length and energy?
<!-- SyntaxHighlightingPlugin -->
from GaudiKernel import SystemOfUnits as units
dir(units)
help(units)
<!-- end SyntaxHighlightingPlugin -->

-- RoelAaij - 26-Sep-2011

 
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