#!/usr/bin/env python2.3
# -*- Mode: Python -*-
# @(#)root/gdml:$Name:  $:$Id: units.py,v 1.2 2006/06/13 20:46:53 rdm Exp $
# Author: Witold Pokorski   05/06/2006
#

# This module contains a collection of constants and units used in GDML.
# These constants/units can be used inside GDML files and
# the parser will substitute them with the numerical values.

# For any question or remarks concerning this code, please send an email to
# Witold.Pokorski@cern.ch.

pi = 3.14159265358979323846
avogadro = 1.e+3*6.0221367e+23 # Avogadro/(g/mol)

mm = 1.0
milimeter = mm

m = 1000.0
meter = m

km = 1000000.0
kilometer = km

rad = 180.0/pi
radian = rad

deg = 1.0
degree = deg

