File indexing completed on 2024-04-06 12:06:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 from DPGAnalysis.Skims.WElectronSkim_cff import *
0006
0007
0008
0009
0010 looseElectronSelection = cms.EDFilter("GsfElectronRefSelector",
0011 src = cms.InputTag( ELECTRON_COLL ),
0012 cut = cms.string( ELECTRON_CUTS )
0013 )
0014
0015
0016
0017
0018
0019 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
0020
0021 hltBtagTopMuEGSelection = cms.EDFilter("HLTHighLevel",
0022 TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
0023 HLTPaths = cms.vstring(
0024
0025 'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBtagDeepCSV_1p5_v*',
0026 'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_CaloDiJet30_CaloBtagDeepCSV_1p5_v*',
0027
0028 'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBtagDeepJet_1p5_v*',
0029 'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PNet2BTagMean0p50_v*',
0030 ),
0031 eventSetupPathsKey = cms.string(''),
0032 andOr = cms.bool(True),
0033 throw = cms.bool(False),
0034
0035 )
0036
0037
0038
0039
0040
0041 muonSelection = cms.EDFilter("MuonSelector",
0042 src = cms.InputTag("muons"),
0043 cut = cms.string('pt > 20 && abs(eta)<2.4 && isGlobalMuon = 1 && isTrackerMuon = 1 && abs(innerTrack().dxy)<2.0'),
0044 filter = cms.bool(True)
0045 )
0046
0047
0048
0049 muonDecayProducer = cms.EDProducer("CandViewShallowCloneCombiner",
0050 checkCharge = cms.bool(False),
0051 cut = cms.string('mass > 0'),
0052 decay = cms.string("muonSelection looseElectronSelection")
0053 )
0054 muonDecaySelection = cms.EDFilter("CandViewCountFilter",
0055 src = cms.InputTag("muonDecayProducer"),
0056 minNumber = cms.uint32(1)
0057 )
0058
0059
0060
0061
0062
0063 AK4CandidateJetProducer = cms.EDFilter("EtaPtMinCandViewSelector",
0064 src = cms.InputTag("ak4PFJets"),
0065 ptMin = cms.double(30),
0066 etaMin = cms.double(-2.5),
0067 etaMax = cms.double(2.5)
0068 )
0069
0070 dijetSelection = cms.EDFilter("CandViewCountFilter",
0071 src = cms.InputTag("AK4CandidateJetProducer"),
0072 minNumber = cms.uint32(2)
0073 )
0074
0075
0076 TopMuEGsequence = cms.Sequence(hltBtagTopMuEGSelection * muonSelection * looseElectronSelection * muonDecayProducer * muonDecaySelection * AK4CandidateJetProducer * dijetSelection)