myMuonD3PDObject.defineBlock(0, "miniiso10", BoostedTopD3PDMaker.MiniIsolationMuonFillerTool, MuIsolationTool=ToolSvc.MuonIsolationTool, KtDist=10., prefix="MI10_") myMuonD3PDObject.defineBlock(0, "miniiso15", BoostedTopD3PDMaker.MiniIsolationMuonFillerTool, MuIsolationTool=ToolSvc.MuonIsolationTool, KtDist=15., prefix="MI15_") #Add new triggers at request of HSG6 defineTriggerBits( TauD3PDObject, 0, ["EF_tau29T_medium1_xe55_tclcw", "EF_tau29T_medium1_xe55_tclcw_tight"]) #------------------------------------------------------------------ # Enable saving the object metadata for D3PDReader code generation #------------------------------------------------------------------ from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags D3PDMakerFlags.SaveObjectMetadata = True flags = CommonD3PDMakerFlags # ... high-pt tracks (nSCT>3; pt>4 GeV) if rec.doTruth(): # ... remove empty GenEvents from TruthD3PDAnalysis.TruthD3PDAnalysisConf import D3PD__GenObjectsFilterTool smwzGenEvtFilterTool = D3PD__GenObjectsFilterTool("smwzGenEvtFilterTool")
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # $Id$ # # @file CaloD3PDMaker/python/ZDCTriggerBitsD3PDObject.py # @author scott snyder <*****@*****.**> # @date Aug, 2010 # @brief ZDC trigger bits. # from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits from D3PDMakerCoreComps.D3PDObject import make_Void_D3PDObject ZDCTriggerBitsD3PDObject = \ make_Void_D3PDObject (default_object_name = 'ZDCTriggerBitsD3PDObject', default_name = 'ZDCTriggerBits') defineTriggerBits (ZDCTriggerBitsD3PDObject, 0, 'L1_ZDC')
sgkey=''): return D3PDMakerCoreComps.VoidObjFillerTool(name, Prefix=prefix) # Create the object type. SMWZTriggerBitsD3PDObject = \ D3PDObject (makeSMWZTriggerBitsD3PDObject, default_name = 'SMWZTriggerBitsFiller') ###### # Define blocks. if D3PDMakerFlags.DoTrigger(): defineTriggerBits(SMWZTriggerBitsD3PDObject, 0, ['EF_.*']) ##bjet bits defineTriggerBits( SMWZTriggerBitsD3PDObject, 0, [ "L1_J10", "L1_JE100", "L1_JE140", "L1_2J10_J50", "L1_3J15", "L1_3J20", "L1_4J10", "L1_4J15", # Level 2
from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits from D3PDMakerCoreComps.D3PDObject import make_Void_D3PDObject from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags #from SUSYD3PDMaker.SUSYD3PDFlags import SUSYD3PDFlags # Create the object type. GenericTriggerBitsD3PDObject = make_Void_D3PDObject( "", "GenericTriggerBitsD3PDObject", "GenericTriggerBitsFiller") ###### # Define blocks. if D3PDMakerFlags.DoTrigger(): #-- for R&D NTUP_Generic{SKIM}, put level of detail at 10 defineTriggerBits(GenericTriggerBitsD3PDObject, 10, ['EF_.*']) ##Tau bits defineTriggerBits(GenericTriggerBitsD3PDObject, 10, [ 'L1_Tau*', 'EF_Tau*', 'EF_mu4T*', 'EF_2mu4T*', 'EF_mu4Tmu6', ]) ##for TAU group defineTriggerBits(GenericTriggerBitsD3PDObject, 10, [ 'L1_J.*', 'L1_2J.*', 'L1_3J.*', 'L1_4J.*', 'EF_g.*', 'EF_2mu10.*', 'EF_xs.*' ])
from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits defineTriggerBits(EventInfoD3PDObject, 0, [ "EF_g120_loose", "EF_2g40_loose", "EF_xe80_tclcw", "EF_j80_a4tchad_xe100_tclcw_loose", "EF_4j80_a4tchad_L2FS", "EF_5j55_a4tchad_L2FS", "EF_6j45_a4tchad_L2FS_5L2j15" ])
import D3PDMakerCoreComps import TriggerD3PDMaker from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits from D3PDMakerCoreComps.D3PDObject import D3PDObject from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags # # The maker function. # We don't get any input from SG (directly). # def makeQcdTriggerBitsD3PDObject(name, prefix, object_name, getter=None, sgkey=''): return D3PDMakerCoreComps.VoidObjFillerTool(name, Prefix=prefix) # Create the object type. QcdTriggerBitsD3PDObject = D3PDObject(makeQcdTriggerBitsD3PDObject, default_name='QcdTriggerBitsFiller') ###### # Define blocks. if D3PDMakerFlags.DoTrigger(): defineTriggerBits(QcdTriggerBitsD3PDObject, 0, ['EF_.*']) # filter for "a4"ntiKt
JetTagTriggerBitsD3PDObject = \ make_Void_D3PDObject( "", "JetTagTriggerBitsD3PDObject", default_name = 'JetTagTriggerBitsFiller' ) ### add btag triggers # already added if btag trig info is included # but defineTriggerBits will handle the duplicates correctly defineTriggerBits(JetTagTriggerBitsD3PDObject, 0, ["EF_b.*", "EF_2b.*", "EF_3b.*", "EF_mu4_j10_a4tc_EFFS", "EF_mu4_L1J10_matched", "EF_mu4_L1J20_matched", "EF_mu4_L1J30_matched", "EF_mu4_L1J50_matched", "EF_mu4_L1J75_matched", "EF_4j30_a4tc_EFFS", "EF_mu4_j100_a4tc_EFFS_L1matched", "EF_mu4_j10_a4_EFFS", "EF_mu4_j10_a4tc_EFFS_matched" ]) defineTriggerBits(JetTagTriggerBitsD3PDObject, 0, ["L2_b.*", "L2_2b.*", "L2_3b.*", "L2_mu4_j10_a4tc_EFFS", "L2_mu4_L1J10_matched", "L2_mu4_L1J20_matched", "L2_mu4_L1J30_matched", "L2_mu4_L1J50_matched", "L2_mu4_L1J75_matched", "L2_4j30_a4tc_EFFS", "L2_mu4_j100_a4tc_EFFS_L1matched"]) defineTriggerBits(JetTagTriggerBitsD3PDObject, 0, ["L1_MU4.*","L2_mu4T.*","EF_mu4.*"])
def getJetTagTriggerBitsD3PDObject(triggerList): defineTriggerBits(JetTagTriggerBitsD3PDObject,0,triggerList); return JetTagTriggerBitsD3PDObject(0)
from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits defineTriggerBits( EventInfoD3PDObject, 0, [ "EF_g120_loose", "EF_2g40_loose", "EF_xe80_tclcw", "EF_j80_a4tchad_xe100_tclcw_loose", "EF_4j80_a4tchad_L2FS", "EF_5j55_a4tchad_L2FS", "EF_6j45_a4tchad_L2FS_5L2j15", ], )
# The maker function. # We don't get any input from SG (directly). # def makeSMWZLightTriggerBitsD3PDObject(name, prefix, object_name, getter=None, sgkey=''): return D3PDMakerCoreComps.VoidObjFillerTool(name, Prefix=prefix) # Create the object type. SMWZLightTriggerBitsD3PDObject = \ D3PDObject (makeSMWZLightTriggerBitsD3PDObject, default_name = 'SMWZLightTriggerBitsFiller') ###### # Define blocks. if D3PDMakerFlags.DoTrigger(): defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_e*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_2e*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_g*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_2g*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_mu*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_2mu*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_xe*']) defineTriggerBits(SMWZLightTriggerBitsD3PDObject, 0, ['EF_xs*'])
defineTriggerBits (ZPrimeEETriggerBitsD3PDObject, 0, [ #EF "EF_e22vh_loose", "EF_e22vh_loose0", "EF_e22vh_loose1", "EF_e24vh_loose", "EF_e24vh_loose0", "EF_e24vh_loose1", "EF_2e12Tvh_loose1", "EF_e22vh_medium1_IDTrkNoCut", "EF_e22vh_medium1", "EF_e22vhi_medium1", "EF_e24vh_medium1", "EF_e24vhi_medium1", "EF_e45_medium1", "EF_e60_medium1", "EF_e18_medium1_g25_loose", "EF_g20_etcut", "EF_g200_etcut", "EF_2g40_loose", "EF_g30_loose_g20_loose", "EF_g35_loose_g30_loose", "EF_g35_loose_g25_loose", "EF_g40_loose_g25_loose", "EF_g40_loose_g30_loose", "EF_e18_loose1_g25_medium", "EF_e18_loose1_g35_loose", "EF_e18_loose1_g35_medium", "EF_g20_loose", "EF_g30_loose", "EF_g40_loose", "EF_g60_loose", "EF_g80_loose", "EF_g100_loose", "EF_g120_loose", "EF_g30_medium_g20_medium", "EF_2g20vh_medium", "EF_g20_medium", "EF_g30_medium", "EF_e18_loose1", "EF_e18_medium1", "EF_e18vh_medium1", #L2 "L2_e22vh_loose", "L2_e22vh_loose0", "L2_e22vh_loose1", "L2_e24vh_loose", "L2_e24vh_loose0", "L2_e24vh_loose1", "L22e12Tvh_loose1", "L2_e22vh_medium1_IDTrkNoCut", "L2_e22vh_medium1", "L2e22vhi_medium1", "L2_e24vh_medium1", "L2_e24vhi_medium1", "L2_e45_medium1", "L2_e60_medium1", "L2_e18_medium1_g25_loose", "L2_g20_etcut", "L2_g200_etcut", "L2_2g40_loose", "L2_g30_loose_g20_loose", "L2_g35_loose_g30_loose", "L2_g35_loose_g25_loose", "L2_g40_loose_g25_loose", "L2_g40_loose_g30_loose", "L2_e18_loose1_g25_medium", "L2_e18_loose1_g35_loose", "L2_e18_loose1_g35_medium", "L2_g20_loose", "L2_2g20_loose", "L2_g30_loose", "L2_g40_loose", "L2_g60_loose", "L2_g80_loose", "L2_g100_loose", "L2_g120_loose", "L2_g30_medium_g20_medium", "L2_2g20vh_medium", "L2_g20_medium", "L2_g30_medium", "L2_e18_loose1", "L2_e18_medium1", "L2_e18vh_medium1", #L1 "L1_2EM10VH", "L1_2EM12", "L1_EM10VH", "L1_EM12", "L1_EM14VH", "L1_EM16V", "L1_EM16VH", "L1_EM18VH", "L1_EM30", ])
# Create the object type. WPrimeENTriggerBitsD3PDObject = \ D3PDObject (makeWPrimeENTriggerBitsD3PDObject, default_name = 'WPrimeENTriggerBitsFiller') ###### # Define blocks. if D3PDMakerFlags.DoTrigger(): defineTriggerBits (WPrimeENTriggerBitsD3PDObject, 0, [ "EF_2g20_loose", "EF_g120_loose", "EF_e20_loose", "EF_e20_medium", "EF_e22_medium", "EF_g80_loose", "EF_e13_etcut_xs60_noMu", "EF_e13_etcut_xs60_noMu_dphi2j10xe07", "EF_mu36_tight", "EF_mu40_tight", "EF_mu50_tight", "EF_e24vhi_medium1", "EF_e60_medium1", "EF_e45_medium1"])
from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits from D3PDMakerCoreComps.D3PDObject import D3PDObject from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags # # The maker function. # We don't get any input from SG (directly). # def makeWPrimeMNTriggerBitsD3PDObject(name, prefix, object_name, getter=None, sgkey=''): return D3PDMakerCoreComps.VoidObjFillerTool(name, Prefix=prefix) # Create the object type. WPrimeMNTriggerBitsD3PDObject = \ D3PDObject (makeWPrimeMNTriggerBitsD3PDObject, default_name = 'WPrimeMNTriggerBitsFiller') ###### # Define blocks. if D3PDMakerFlags.DoTrigger(): defineTriggerBits(WPrimeMNTriggerBitsD3PDObject, 0, ["EF_mu36_tight", "EF_mu50_MSonly_barrel_tight"])
def getBkgdTriggerBitsD3PDObject(triggerList): defineTriggerBits(BkgdTriggerBitsD3PDObject, 0, triggerList) return BkgdTriggerBitsD3PDObject(0)
## @file BackgroundD3PDMaker/python/BkgdTriggerBitsD3PDObject.py ## @brief D3PD object for background stream trigger bits ## @author Mark Tibbetts ## @date May 2012 ## from TriggerD3PDMaker.defineTriggerBits import defineTriggerBits from D3PDMakerCoreComps.D3PDObject import make_Void_D3PDObject BkgdTriggerBitsD3PDObject = make_Void_D3PDObject( "", "BkgdTriggerBitsD3PDObject", default_name='BkgdTriggerBitsFiller') # defineTriggerBits will handle the duplicates correctly defineTriggerBits( BkgdTriggerBitsD3PDObject, 0, ["EF_Background.*", "EF_mbSpTrk_unpaired_iso", "EF_mbSpBg_unpaired_iso"]) defineTriggerBits( BkgdTriggerBitsD3PDObject, 0, ["L2_Background.*", "L2_mbSpTrk_unpaired_iso", "L2_mbSpBg_unpaired_iso"]) defineTriggerBits(BkgdTriggerBitsD3PDObject, 0, [ "L1_RD0_UNPAIRED_ISO", "L1_RD0_EMPTY", "L1_BCM_AC_CA_BGRP0", "L1_BCM_AC_CA_UNPAIRED_ISO", "L1_BCM_Wide_EMPTY", "L1_BCM_Wide_UNPAIRED_ISO", "L1_BCM_Wide_UNPAIRED_NONISO", "L1_EM3_UNPAIRED_ISO", "L1_FJ30_UNPAIRED_ISO", "L1_J10_UNPAIRED_ISO", "L1_J10_UNPAIRED_NONISO", "L1_LUCID_A_C_EMPTY", "L1_LUCID_A_C_UNPAIRED_ISO", "L1_LUCID_A_C_UNPAIRED_NONISO", "L1_LUCID_COMM_EMPTY", "L1_LUCID_COMM_UNPAIRED_ISO", "L1_LUCID_EMPTY", "L1_LUCID_UNPAIRED_ISO", "L1_MU4_UNPAIRED_ISO"