CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/L1TriggerOffline/L1Analyzer/python/L1CenJetRecoAnalysis_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 # Match Reco and L1 jets 
00012 MatchCenJetsReco = cms.EDFilter("TrivialDeltaRMatcher",
00013     src = cms.InputTag("SelectL1CenJets"),
00014     distMin = cms.double(0.5),
00015     matched = cms.InputTag("SelectRecoCenJets")
00016 )
00017 
00018 # Match L1 and Reco jets
00019 MatchRecoCenJets = cms.EDFilter("TrivialDeltaRMatcher",
00020     src = cms.InputTag("SelectRecoCenJets"),
00021     distMin = cms.double(0.5),
00022     matched = cms.InputTag("SelectL1CenJets")
00023 )
00024 
00025 # Analyzer
00026 L1AnalyzerCenJetsReco = cms.EDAnalyzer("L1Analyzer",
00027     histoLimits,
00028     EffMatchMapSource = cms.untracked.InputTag("MatchRecoCenJets"),
00029     ReferenceSource = cms.untracked.InputTag("SelectRecoCenJets"),
00030     CandidateSource = cms.untracked.InputTag("SelectL1CenJets"),
00031     ResMatchMapSource = cms.untracked.InputTag("MatchCenJetsReco")
00032 )
00033 
00034 # Define analysis sequence
00035 L1CenJetRecoAnalysis = cms.Sequence(RecoCenJetSelection+L1CenJetSelection*MatchCenJetsReco+MatchRecoCenJets*L1AnalyzerCenJetsReco)
00036