IsolatedElectronDumperGetter.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::ReconstructedParticleDumper for isolated electrons.
00009 #
00010 # Supplies a handle if needed.
00011 # StoreGate location of the Atlfast electron collection is given as input
00012 
00013 class Atlfast__IsolatedElectronDumperGetter ( Configured )  :
00014 
00015     ## Creates and configures Atlfast::ReconstructedParticleDumper instance.
00016     # This is done via the genConf autogenerated getter class.
00017     # StoreGate location of the Atlfast isolated electron collection is given as input
00018 
00019     def configure(self):
00020 
00021         try:        
00022             from AtlfastAlgs.AtlfastAlgsConf import Atlfast__ReconstructedParticleDumper
00023         except Exception:
00024             mlog = logging.getLogger( 'Atlfast__IsolatedElectronDumperGetter::configure:' )
00025             mlog.error("could not import AtlfastAlgs.Atlfast__ReconstructedParticleDumper")
00026             print traceback.format_exc()
00027             return False
00028 
00029         theIsolatedElectronDumperMaker=Atlfast__ReconstructedParticleDumper("IsolatedElectronDumperMaker")
00030         self._algHandle_algHandle = theIsolatedElectronDumperMaker;
00031 
00032         theIsolatedElectronDumperMaker.InputLocation   = "/Event/AtlfastIsolatedElectrons"
00033 
00034         return True
00035 
00036     ## Returns a handle to the Atlfast::ReconstructedParticleDumper instance.
00037 
00038     def AlgHandle(self):
00039         return self._algHandle_algHandle

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