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 class Atlfast__MuonGetter ( Configured ) :
00013
00014
00015
00016
00017
00018
00019 def configure(self):
00020
00021 try:
00022 from AtlfastAlgs.AtlfastAlgsConf import Atlfast__DefaultReconstructedParticleMaker
00023 except Exception:
00024 mlog = logging.getLogger( 'Atlfast__MuonGetter::configure:' )
00025 mlog.error("Could not import AtlfastAlgs.Atlfast__DefaultReconstructedParticleMaker")
00026 print traceback.format_exc()
00027 return False
00028
00029 theMuonMaker=Atlfast__DefaultReconstructedParticleMaker("MuonMaker")
00030 self._algHandle_algHandle = theMuonMaker;
00031
00032 theMuonMaker.OutputLocation = "/Event/AtlfastMuons"
00033 theMuonMaker.ParticleType = 13
00034 theMuonMaker.mcMinimumPt = 0.5*GeV
00035 theMuonMaker.MinimumPt = 6.0*GeV
00036 theMuonMaker.MuonSmearKey = 3
00037 theMuonMaker.SmearParamArray = [0.0005,10.0,0.012,0.02,7000.,0.01]
00038
00039 return True
00040
00041
00042
00043 def AlgHandle(self):
00044 return self._algHandle_algHandle