from D3PDMakerRoot.D3PDMakerRootConf import D3PD__RootD3PDSvc ServiceMgr += D3PD__RootD3PDSvc("SMDYEE_D3PDSvc") ServiceMgr.SMDYEE_D3PDSvc.VetoedNames = [ "L1_.*", "L2_.*", "EF_m.*", "EF_2m.*", "EF_j.*", "EF_2j.*", "EF_tau.*" ] ServiceMgr.SMDYEE_D3PDSvc.VetoedNames += ["trig_EF_trigmu.*"] ServiceMgr.SMDYEE_D3PDSvc.VetoedNames += ["MET.*", ".*etx.*", ".*ety.*"] # Create the D3PD streams: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr SMDYEED3PDStream = MSMgr.NewRootStream(streamName, fileName, "physics") SMDYEED3PDStream.D3PDSvc = ServiceMgr.SMDYEE_D3PDSvc # Now add all the content to this stream: from PhysicsD3PDMaker.SMWZLightD3PD import SMWZLightD3PD SMWZLightD3PD(SMDYEED3PDStream, stdElectronContainer='LowPtElectrons') # apply skim SMDYEED3PDStream.AddAcceptAlgs(["SMWZ_JPsieeFilter"]) # add cut flow information from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig SMDYEED3PDStream.MetadataTools += [CutFlowMetadataConfig(SMDYEED3PDStream)] # Silence tool warnings: from AthenaCommon.AppMgr import ToolSvc if not hasattr(ToolSvc, "TrigDecisionTool"): from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool ToolSvc += Trig__TrigDecisionTool("TrigDecisionTool") pass
"EF_tau.*" ] ServiceMgr.SMZMUMU_D3PDSvc.VetoedNames += ["trig_EF_el.*"] ServiceMgr.SMZMUMU_D3PDSvc.VetoedNames += [".*etx.*", ".*ety.*"] # Create the D3PD streams: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr SMZMUMUD3PDStream = MSMgr.NewRootStream(streamName, fileName, "physics") SMZMUMUD3PDStream.D3PDSvc = ServiceMgr.SMZMUMU_D3PDSvc # Now add all the content to this stream: from PhysicsD3PDMaker.SMWZLightD3PD import SMWZLightD3PD from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags SMWZLightD3PD(SMZMUMUD3PDStream, stdElectronContainer='HighPtElectrons', stacoMuonContainer='LowPtStacoMuons', muidMuonContainer='LowPtMuidMuons', photonContainer='HighPtPhotons', jetContainer='HighPtJets') # apply skim SMZMUMUD3PDStream.AddAcceptAlgs( ["SMWZ_ZmumuStacoFilter", "SMWZ_ZmumuMuidFilter"]) # add cut flow information from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig SMZMUMUD3PDStream.MetadataTools += [CutFlowMetadataConfig(SMZMUMUD3PDStream)] # Silence tool warnings: from AthenaCommon.AppMgr import ToolSvc if not hasattr(ToolSvc, "TrigDecisionTool"):
"L1_.*", "L2_.*", "EF_j.*", "EF_2j.*", "EF_tau.*" ] ServiceMgr.SMLIGHT_D3PDSvc.VetoedNames += [".*etx.*", ".*ety.*"] # Create the D3PD streams: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr SMLIGHTD3PDStream = MSMgr.NewRootStream(streamName, fileName, "physics") SMLIGHTD3PDStream.D3PDSvc = ServiceMgr.SMLIGHT_D3PDSvc # Now add all the content to this stream: from PhysicsD3PDMaker.SMWZLightD3PD import SMWZLightD3PD from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags SMWZLightD3PD(SMLIGHTD3PDStream, stdElectronContainer='HighPtElectrons', gsfElectronContainer='HighPtGSFElectrons', stacoMuonContainer='HighPtStacoMuons', muidMuonContainer='HighPtMuidMuons', photonContainer='HighPtPhotons', jetContainer='HighPtJets') # add cut flow information from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig SMLIGHTD3PDStream.MetadataTools += [CutFlowMetadataConfig(SMLIGHTD3PDStream)] # Silence tool warnings: from AthenaCommon.AppMgr import ToolSvc if not hasattr(ToolSvc, "TrigDecisionTool"): from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool ToolSvc += Trig__TrigDecisionTool("TrigDecisionTool") pass
include ("PhysicsD3PDMaker/PhotonSelector.py") include ("PhysicsD3PDMaker/MuonSelector.py") include ("PhysicsD3PDMaker/JetSelector.py") include ("PhysicsD3PDMaker/TauSelector.py") if doGSF: gsfCont = 'HighPtGSFElectrons' else: gsfCont = 'None' if LightSkim: from PhysicsD3PDMaker.SMWZLightD3PD import SMWZLightD3PD SMWZLightD3PD( SkimD3PDStream, stdElectronContainer = 'HighPtElectrons', gsfElectronContainer = gsfCont, stacoMuonContainer = 'HighPtStacoMuons', muidMuonContainer = 'HighPtMuidMuons', photonContainer = 'HighPtPhotons', tauContainer = 'HighPtTaus', jetContainer = 'HighPtJets' ) else: from PhysicsD3PDMaker.SMWZD3PD import SMWZD3PD SMWZD3PD( SkimD3PDStream, stdElectronContainer = 'HighPtElectrons', gsfElectronContainer = gsfCont, stacoMuonContainer = 'HighPtStacoMuons', muidMuonContainer = 'HighPtMuidMuons', caloMuonContainer = 'None', photonContainer = 'HighPtPhotons', tauContainer = 'HighPtTaus', jetEM4Container = 'HighPtJets',
ServiceMgr.SMDYMUMU_D3PDSvc.VetoedNames = [ "L1_.*", "L2_.*", "EF_e.*", "EF_2e.*", "EF_g.*", "EF_j.*", "EF_2j.*", "EF_tau.*" ] ServiceMgr.SMDYMUMU_D3PDSvc.VetoedNames += ["trig_EF_el.*"] ServiceMgr.SMDYMUMU_D3PDSvc.VetoedNames += ["MET.*", ".*etx.*", ".*ety.*"] # Create the D3PD streams: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr SMDYMUMUD3PDStream = MSMgr.NewRootStream(streamName, fileName, "physics") SMDYMUMUD3PDStream.D3PDSvc = ServiceMgr.SMDYMUMU_D3PDSvc # Now add all the content to this stream: from PhysicsD3PDMaker.SMWZLightD3PD import SMWZLightD3PD SMWZLightD3PD(SMDYMUMUD3PDStream, stacoMuonContainer='LowPtStacoMuons', muidMuonContainer='LowPtMuidMuons') # apply skim SMDYMUMUD3PDStream.AddAcceptAlgs( ["SMWZ_JPsimumuStacoFilter", "SMWZ_JPsimumuMuidFilter"]) # add cut flow information from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig SMDYMUMUD3PDStream.MetadataTools += [CutFlowMetadataConfig(SMDYMUMUD3PDStream)] # Silence tool warnings: from AthenaCommon.AppMgr import ToolSvc if not hasattr(ToolSvc, "TrigDecisionTool"): from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool
ServiceMgr.SMWENU_D3PDSvc.VetoedNames += [ "trig_EF_trigmu.*" ] ServiceMgr.SMWENU_D3PDSvc.VetoedNames += [ ".*etx.*",".*ety.*" ] # Create the D3PD streams: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr SMWENUD3PDStream = MSMgr.NewRootStream( streamName, fileName, "physics" ) SMWENUD3PDStream.D3PDSvc = ServiceMgr.SMWENU_D3PDSvc # Now add all the content to this stream: from PhysicsD3PDMaker.SMWZLightD3PD import SMWZLightD3PD from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags SMWZLightD3PD( SMWENUD3PDStream, stdElectronContainer = 'HighPtElectrons', stacoMuonContainer = 'HighPtStacoMuons', photonContainer = 'HighPtPhotons', jetContainer = 'HighPtJets' ) # apply skim SMWENUD3PDStream.AddAcceptAlgs( ["SMWZ_HighPtElectronFilter"] ) # add cut flow information from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig SMWENUD3PDStream.MetadataTools += [ CutFlowMetadataConfig( SMWENUD3PDStream ) ] # Silence tool warnings: