TauGetter.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::TauMaker.
00009 #
00010 # Supplies a handle if needed.
00011 
00012 class Atlfast__TauGetter ( Configured )  :
00013 
00014     ## Creates and configures Atlfast::TauMaker 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__TauMaker
00021         except Exception:
00022             mlog = logging.getLogger( 'Atlfast__TauGetter::configure:' )
00023             mlog.error("could not import AtlfastAlgs.Atlfast__TauMaker")
00024             print traceback.format_exc()
00025             return False
00026 
00027         theTauMaker=Atlfast__TauMaker("TauMaker")
00028         self._algHandle_algHandle = theTauMaker;
00029 
00030         return True
00031 
00032     ## Returns a handle to the Atlfast::TauMaker 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