Atlfast_MakeAOD.py

Go to the documentation of this file.
00001 #------------------------------------------------------------
00002 # AOD production
00003 #------------------------------------------------------------
00004 
00005 # flags for AOD
00006 from ParticleBuilderOptions.AODFlags import AODFlags
00007 AODFlags.allSetOff()
00008 AODFlags.fastSetOn()
00009 AODFlags.SpclMC = True
00010 AODFlags.MissingEtTruth = True
00011 AODFlags.TruthParticleJet = True
00012 AODFlags.McEventKey="GEN_EVENT"
00013 AODFlags.Print()
00014 
00015 from AthenaCommon.GlobalFlags import GlobalFlags
00016 GlobalFlags.Luminosity.set_zero()
00017 
00018 # This allows JetsFromTruthTool to read GEN_EVENT input
00019 from JetSimTools.JetSimToolsConf import JetsFromTruthTool
00020 tool = JetsFromTruthTool('JetTruthTool')
00021 tool.TruthCollectionName = AODFlags.McEventKey
00022 
00023 # This is necessary for making truth jets,
00024 # as RecFlags.doTruth is also tested
00025 from RecExConfig.RecFlags import rec
00026 rec.doTruth=True
00027 
00028 # The function that makes the truth jets, with appropriate
00029 # arguments
00030 from JetRec.JetRec_defaults import make_StandardJets
00031 make_StandardJets(doTowerJet = False, doTopoJet = False, doTruthJet = True, doLocalCalib = False)
00032 
00033 # Build AOD objects and write them out to a POOL file
00034 include ("AthenaPoolCnvSvc/WriteAthenaPool_jobOptions.py")
00035 include( "ParticleBuilderOptions/AODtoPool_jobOptions.py" )
00036 
00037 # Define the output file name
00038 Stream1.OutputFile  = "AOD.pool.root"

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