CellGetter.py

Go to the documentation of this file.
00001 from AthenaCommon.SystemOfUnits import * 
00002 from AthenaCommon.Constants import *
00003 from AthenaCommon.Logging import logging  
00004 import traceback 
00005 from RecExConfig.Configured import Configured
00006 
00007 
00008 ## @brief Configures an instance of Atlfast::CellMaker.
00009 #
00010 # Supplies a handle if needed.
00011 
00012 class Atlfast__CellGetter ( Configured )  :
00013 
00014     ## Creates and configures Atlfast::CellMaker instance.
00015     # This is done via the genConf autogenerated getter class.
00016 
00017     def configure(self):
00018 
00019        try:        
00020             from AtlfastAlgs.AtlfastAlgsConf import Atlfast__CellMaker
00021         except Exception:
00022             mlog = logging.getLogger( 'Atlfast__CellGetter::configure:' )
00023             mlog.error("could not import AtlfastAlgs.Atlfast__CellMaker")
00024             print traceback.format_exc()
00025             return False
00026 
00027         theCellMaker=Atlfast__CellMaker("CellMaker")
00028         self._algHandle_algHandle = theCellMaker;
00029 
00030         return True
00031 
00032     ## Returns a handle to the Atlfast::CellMaker instance.
00033 
00034     def AlgHandle(self):
00035         return self._algHandle_algHandle

Generated on Mon Sep 24 14:19:11 2007 for AtlfastAlgs by  doxygen 1.5.1