#examine files using checkFile.py #(original script: https://twiki.cern.ch/twiki/bin/view/Atlas/PatVancouverTools) #the jo fragment: # - reads AOD # - dumps the contents (using Dump method of StoreGateSvc service) # I need converters because AOD contents have to be converted from Persistent to Transient state include( "TrigEventAthenaPool/TrigEventAthenaPool_joboptions.py" ) include( "ParticleBuilderOptions/AOD_PoolCnv_jobOptions.py") include( "ParticleBuilderOptions/McAOD_PoolCnv_jobOptions.py") #service manipulation from AthenaCommon.AppMgr import ServiceMgr # read in AOD import AthenaPoolCnvSvc.ReadAthenaPool # number of events to process theApp.EvtMax = 1 # the input file ServiceMgr.EventSelector.InputCollections=["inputfilename.AOD.pool.root"] # do the storegate dump StoreGateSvc = Service( "StoreGateSvc" ) StoreGateSvc.Dump = True-- LizaMijovic - 28 Oct 2008