# Test to copy a POOL dst file to a ROOT dst file from Configurables import IOTest from GaudiConf.IOHelper import IOHelper from PRConfig import TestFileDB IOTest(EvtMax=5, LoadAll=True, DataType='MC09') ioh = IOHelper() ioh.setupServices() ioh.outStream('PFN:ROOT.dst', "InputCopyStream") TestFileDB.test_file_db["MC09-pool-dst"].run()
# Test to ensure a Reco14-Stripping20 mdst can be copied from Configurables import IOTest from GaudiConf.IOHelper import IOHelper from PRConfig import TestFileDB IOTest(EvtMax=5, LoadAll=True, DataContent='MDST', KillDAQ=True) ioh = IOHelper() ioh.setupServices() ioh.outStream('PFN:Reco14-Stripping20.mdst', "InputCopyStream") ioh.inputFiles([ 'PFN:root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/swtest/lhcb/LHCb/Collision12/BHADRON.MDST/00020198/0000/00020198_00000758_1.bhadron.mdst' ]) #TestFileDB.test_file_db["R14S20-bhadron.mdst"].run()
# Test to ensure a Reco12-Stripping17 dst can be copied from Configurables import IOTest from GaudiConf.IOHelper import IOHelper from PRConfig import TestFileDB IOTest(EvtMax=5, LoadAll=True) ioh = IOHelper() ioh.setupServices() ioh.outStream('PFN:Reco12-Stripping17.dst', "InputCopyStream") TestFileDB.test_file_db["R12S17-bhadron.dst"].run()
# Test to copy a POOL dst file to a ROOT mdst file from Configurables import IOTest from GaudiConf.IOHelper import IOHelper from PRConfig import TestFileDB IOTest(EvtMax=5, LoadAll=True, DataContent='MDST') ioh = IOHelper() ioh.setupServices() ioh.outStream('PFN:ROOT-Reco08.mdst', "InputCopyStream") TestFileDB.test_file_db["Reco08-charm.mdst"].run()
# Test to copy a POOL sim file to a ROOT sim file from Configurables import IOTest from GaudiConf.IOHelper import IOHelper from PRConfig import TestFileDB IOTest( EvtMax = 5, DataContent = "SIM", WithMC = True, LoadAll = True ) ioh = IOHelper() ioh.setupServices() #ioh.inputFiles(['PFN:root://castorlhcb.cern.ch//castor/cern.ch/user/g/gcorti/Gauss/2009/v37r0/30000000-100ev-20090407-MC09.sim?svcClass=default']) ioh.outStream('PFN:ROOT.sim',"InputCopyStream") TestFileDB.test_file_db["MC09-pool-sim"].run()