00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from L1TriggerOffline.L1Analyzer.RecoSelection_cff import *
00005
00006 from L1TriggerOffline.L1Analyzer.L1Selection_cff import *
00007
00008 from L1TriggerOffline.L1Analyzer.HistoLimits_cfi import *
00009
00010 from L1TriggerOffline.L1Analyzer.TFile_cfi import *
00011
00012 MatchNonIsoEmReco = cms.EDFilter("TrivialDeltaRMatcher",
00013 src = cms.InputTag("SelectL1NonIsoEm"),
00014 distMin = cms.double(0.5),
00015 matched = cms.InputTag("SelectRecoElec")
00016 )
00017
00018
00019 MatchRecoNonIsoEm = cms.EDFilter("TrivialDeltaRMatcher",
00020 src = cms.InputTag("SelectRecoElec"),
00021 distMin = cms.double(0.5),
00022 matched = cms.InputTag("SelectL1NonIsoEm")
00023 )
00024
00025
00026 L1AnalyzerNonIsoEmReco = cms.EDAnalyzer("L1Analyzer",
00027 histoLimits,
00028 EffMatchMapSource = cms.untracked.InputTag("MatchRecoNonIsoEm"),
00029 ReferenceSource = cms.untracked.InputTag("SelectRecoElec"),
00030 CandidateSource = cms.untracked.InputTag("SelectL1NonIsoEm"),
00031 ResMatchMapSource = cms.untracked.InputTag("MatchNonIsoEmReco")
00032 )
00033
00034
00035 L1NonIsoEmRecoAnalysis = cms.Sequence(RecoElecSelection+L1NonIsoEmSelection*MatchNonIsoEmReco+MatchRecoNonIsoEm*L1AnalyzerNonIsoEmReco)
00036