SkimmingTools=[DRAW_TAUMUH_SkimmingTool]) topSequence += DRAW_TAUMUH_Seq ################## ### Output stream ################## from OutputStreamAthenaPool.MultipleStreamManager import MSMgr from D2PDMaker.D2PDHelpers import buildFileName from PrimaryDPDMaker.PrimaryDPDFlags import primDPD streamName = primDPD.WriteDRAW_TAUMUH.StreamName fileName = buildFileName(primDPD.WriteDRAW_TAUMUH) # Remove the .pool.root ending in the file name, this is a RAW file! if fileName.endswith(".pool.root"): fileName = fileName.rstrip(".pool.root") pass StreamDRAW_TAUMUH = MSMgr.NewByteStream(streamName, fileName) StreamDRAW_TAUMUH.AddRequireAlgs(["DRAW_TAUMUHKernel"]) # Don't write an output RAW file if it is empty StreamDRAW_TAUMUH.bsOutputSvc.WriteEventlessFiles = primDPD.WriteEventlessFiles( ) ######################################### # Add the containers to the output stream ######################################### from PrimaryDPDMaker import PrimaryDPD_OutputDefinitions as dpdOutput # Take everything from the input ExcludeList = [] dpdOutput.addAllItemsFromInputExceptExcludeList(streamName, ExcludeList)
from OutputStreamAthenaPool.MultipleStreamManager import MSMgr from PrimaryDPDMaker.PrimaryDPDHelpers import buildFileName from PrimaryDPDMaker.PrimaryDPDFlags import primDPD streamName = primDPD.WriteRAWPhysDPD_RPVLL.StreamName fileName = buildFileName(primDPD.WriteRAWPhysDPD_RPVLL) if fileName.endswith(".pool.root"): fileName = fileName.rstrip(".pool.root") fileName += ".dat" pass if fileName.endswith("root"): fileName = fileName.rstrip(".root") fileName += ".dat" pass RPVLL = MSMgr.NewByteStream(streamName, fileName) RPVLL.bsOutputSvc.WriteEventlessFiles = primDPD.WriteEventlessFiles() RPVLL.AddAcceptAlgs(RPVLLfilterNames) ######################################### # Add the containers to the output stream ######################################### from PrimaryDPDMaker import PrimaryDPD_OutputDefinitions as dpdOutput # Take everything from the input ExcludeList = [] dpdOutput.addAllItemsFromInputExceptExcludeList(streamName, ExcludeList)
SkimmingTools=[DRAW_EGZ_SkimmingTool]) topSequence += DRAW_EGZ_Seq ################## ### Output stream ################## from OutputStreamAthenaPool.MultipleStreamManager import MSMgr from D2PDMaker.D2PDHelpers import buildFileName from PrimaryDPDMaker.PrimaryDPDFlags import primDPD streamName = primDPD.WriteDRAW_EGZ.StreamName fileName = buildFileName(primDPD.WriteDRAW_EGZ) # Remove the .pool.root ending in the file name, this is a RAW file! if fileName.endswith(".pool.root"): fileName = fileName.rstrip(".pool.root") pass StreamDRAW_EGZ = MSMgr.NewByteStream(streamName, fileName) StreamDRAW_EGZ.AddRequireAlgs(["DRAW_EGZKernel"]) # Don't write an output RAW file if it is empty StreamDRAW_EGZ.bsOutputSvc.WriteEventlessFiles = primDPD.WriteEventlessFiles() ######################################### # Add the containers to the output stream ######################################### from PrimaryDPDMaker import PrimaryDPD_OutputDefinitions as dpdOutput # Take everything from the input ExcludeList = [] dpdOutput.addAllItemsFromInputExceptExcludeList(streamName, ExcludeList)
################## ### Output stream ################## from OutputStreamAthenaPool.MultipleStreamManager import MSMgr from D2PDMaker.D2PDHelpers import buildFileName from PrimaryDPDMaker.PrimaryDPDFlags import primDPD streamName = primDPD.WriteDRAW_TOPSLMU.StreamName fileName = buildFileName(primDPD.WriteDRAW_TOPSLMU) # Remove the .pool.root ending in the file name, this is a RAW file! if fileName.endswith(".pool.root"): fileName = fileName.rstrip(".pool.root") pass StreamDRAW_TOPSLMU = MSMgr.NewByteStream(streamName, fileName) StreamDRAW_TOPSLMU.AddRequireAlgs(["DRAW_TOPSLMUKernel"]) # Don't write an output RAW file if it is empty StreamDRAW_TOPSLMU.bsOutputSvc.WriteEventlessFiles = primDPD.WriteEventlessFiles( ) ######################################### # Add the containers to the output stream ######################################### from PrimaryDPDMaker import PrimaryDPD_OutputDefinitions as dpdOutput # Take everything from the input ExcludeList = [] dpdOutput.addAllItemsFromInputExceptExcludeList(streamName, ExcludeList)