FourJetSelectorSUSY = D2PDJetSelector( "FourJetSelectorSUSY", inputCollection = D2PDFlags.InputSUSYJetCollection() , outputLinkCollection = 'AntiKt4H1TopoJets_SelectedFourjetLinks', minNumberPassed = 4, useJetSignalState = 0, jetScaledEtMin = 30.0*Units.GeV, jetSignalStateAbsEtaMax = 3.0 ) # MET filter(s) from D2PDMaker.D2PDMakerConf import D2PDMissingEtSelector METSelectorSUSY = D2PDMissingEtSelector( "METSelectorSUSY", inputCollection = 'MET_Topo', outputCollection = 'MET_Topo_SUSYselection', minNumberPassed = 1, missingEtMin = 40.0*Units.GeV ) # Combined filters from PrimaryDPDMaker.LogicalFilterCombiner import LogicalFilterCombiner #MuonPlusJet and ElectronPlusJet are not needed anymore! #MuonPlusJetSelectorSUSY = LogicalFilterCombiner("MuonPlusJetSelectorSUSY") #MuonPlusJetSelectorSUSY.cmdstring = "(StacoMuonSelectorSUSY or MuidMuonSelectorSUSY) and DiJetSelectorSUSY_WithLep" #ElectronPlusJetSelectorSUSY = LogicalFilterCombiner("ElectronPlusJetSelectorSUSY") #ElectronPlusJetSelectorSUSY.cmdstring = "ElectronSelectorSUSY and DiJetSelectorSUSY_WithLep"
# boosted jet selector from D2PDMaker.D2PDMakerConf import D2PDJetSelector sequencer += D2PDJetSelector( "HSG5ZHMET_BoostedJetFilter", inputCollection = 'CamKt12LCTopoJets', outputLinkCollection = 'HSG5ZHMET_boosted_LooseBoostedJetLinkCollection', minNumberPassed = 1, ptMin = 20.0*Units.GeV) HSG5D3PD_Stream.RequireAlgs.append("HSG5ZHMET_BoostedJetFilter") # MET selector from D2PDMaker.D2PDMakerConf import D2PDMissingEtSelector sequencer += D2PDMissingEtSelector( "HSG5ZHMET_MissingEtFilter", inputCollection = 'MET_RefFinal', outputCollection = 'HSG5ZHMET_NeutrinoRefFinal', minNumberPassed = 1, missingEtMin = 40.0*Units.GeV) #missingEtSignificanceMin = 5.0) HSG5D3PD_Stream.RequireAlgs.append("HSG5ZHMET_MissingEtFilter") if False: # (for private production only) insert in beginning of PreD3PDSequencer mainSequencer = AlgSequence(D3PDMakerFlags.PreD3PDAlgSeqName(), StopOverride = False) if not hasattr( topSequence, D3PDMakerFlags.PreD3PDAlgSeqName() ): topSequence += mainSequencer mainSequencer.insert(0,sequencer)
#==================================================================== # Define the individual missing et selection #==================================================================== from D2PDMaker.D2PDMakerConf import D2PDMissingEtSelector # MET_RefFinal selection topSequence += D2PDMissingEtSelector( "MissingEtRefFinalSelectorInWenuStream", OutputLevel = DEBUG, inputCollection = "MET_RefFinal", outputCollection = "WenuStreamNeutrinoRefFinal", missingEtMin = 20.0*Units.GeV, minNumberPassed = 1 ) algsToBookkeep.append( "MissingEtRefFinalSelectorInWenuStream" ) # MET_LocHadTopoObj selection topSequence += D2PDMissingEtSelector( "MissingEtLocHadTopoObjSelectorInWenuStream", OutputLevel = DEBUG, inputCollection = "MET_LocHadTopoObj", outputCollection = "WenuStreamNeutrinoLocHadTopoObj", missingEtMin = 20.0*Units.GeV, minNumberPassed = 1 ) algsToBookkeep.append( "MissingEtLocHadTopoObjSelectorInWenuStream" )