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
00009
00010
00011
00012
00013
00014 class Atlfast__ElectronKIsolatorGetter ( Configured ) :
00015
00016
00017
00018
00019
00020 def configure(self):
00021
00022 try:
00023 from AtlfastAlgs.AtlfastAlgsConf import Atlfast__KIsolator
00024 except Exception:
00025 mlog = logging.getLogger( 'Atlfast__ElectronKIsolatorGetter::configure:' )
00026 mlog.error("could not import AtlfastAlgs.Atlfast__KIsolator")
00027 print traceback.format_exc()
00028 return False
00029
00030 theElectronKIsolator=Atlfast__KIsolator("ElectronKIsolator")
00031 self._algHandle_algHandle = theElectronKIsolator;
00032
00033 theElectronKIsolator.InputLocation = "/Event/AtlfastElectrons"
00034 theElectronKIsolator.IsolatedOutputLocation = "/Event/AtlfastIsolatedElectrons"
00035 theElectronKIsolator.NonIsolatedOutputLocation = "/Event/AtlfastNonIsolatedElectrons"
00036
00037 return True
00038
00039
00040
00041 def AlgHandle(self):
00042 return self._algHandle_algHandle