CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/L1TriggerOffline/L1Analyzer/python/L1MergedJetRecoAnalysis_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Select Reco
00004 from L1TriggerOffline.L1Analyzer.RecoSelection_cff import *
00005 # Select L1
00006 from L1TriggerOffline.L1Analyzer.L1Selection_cff import *
00007 # Histogram limits
00008 from L1TriggerOffline.L1Analyzer.HistoLimits_cfi import *
00009 # Root output file
00010 from L1TriggerOffline.L1Analyzer.TFile_cfi import *
00011 
00012 # Match Reco and L1 tau jets 
00013 MatchMergedJetsReco = cms.EDFilter("TrivialDeltaRMatcher",
00014     src = cms.InputTag("SelectMergedL1ExtraJets"),
00015     distMin = cms.double(1.0),
00016     matched = cms.InputTag("SelectRecoCenJets")                              
00017 )
00018 
00019 # Match L1 and Reco tau jets
00020 MatchRecoMergedJets = cms.EDFilter("TrivialDeltaRMatcher",
00021     src = cms.InputTag("SelectRecoCenJets"),                       
00022     distMin = cms.double(1.0),
00023     matched = cms.InputTag("SelectMergedL1ExtraJets")
00024 )
00025 
00026 # Analyzer
00027 L1AnalyzerMergedJetsReco = cms.EDAnalyzer("L1Analyzer",
00028     histoLimits,
00029     EffMatchMapSource = cms.untracked.InputTag("MatchRecoMergedJets"),
00030     ReferenceSource = cms.untracked.InputTag("SelectRecoCenJets"),                
00031     CandidateSource = cms.untracked.InputTag("SelectMergedL1ExtraJets"),
00032     ResMatchMapSource = cms.untracked.InputTag("MatchMergedJetsReco")
00033 )
00034 
00035 # Define analysis sequence
00036 #L1MergedJetRecoAnalysis = cms.Sequence(RecoCenJetSelection+L1MergedJetSelection*MatchMergedJetsReco+MatchRecoMergedJets*L1AnalyzerMergedJetsReco)
00037 L1MergedJetRecoAnalysis = cms.Sequence(RecoCenJetSelection+MatchMergedJetsReco+MatchRecoMergedJets*L1AnalyzerMergedJetsReco)