Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from DQMOffline.Trigger.HLTMuonOfflineAnalyzer_cfi import hltMuonOfflineAnalyzer
00004
00005 barrelMuonParams = cms.PSet(
00006 d0Cut = cms.untracked.double(1000.0),
00007 z0Cut = cms.untracked.double(1000.0),
00008 recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 0.9"),
00009 hltCuts = cms.untracked.string("abs(eta) < 0.9"),
00010 )
00011
00012 endcapMuonParams = cms.PSet(
00013 d0Cut = cms.untracked.double(1000.0),
00014 z0Cut = cms.untracked.double(1000.0),
00015 recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) > 1.4 && "
00016 "abs(eta) < 2.0"),
00017 hltCuts = cms.untracked.string("abs(eta) > 1.4 && abs(eta) < 2.0"),
00018 )
00019
00020 allMuonParams = cms.PSet(
00021 d0Cut = cms.untracked.double(1000.0),
00022 z0Cut = cms.untracked.double(1000.0),
00023 recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 2.0"),
00024 hltCuts = cms.untracked.string("abs(eta) < 2.0"),
00025 )
00026
00027 barrelAnalyzer = hltMuonOfflineAnalyzer.clone()
00028 barrelAnalyzer.destination = "HLT/Muon/DistributionsBarrel"
00029 barrelAnalyzer.targetParams = barrelMuonParams
00030 barrelAnalyzer.probeParams = cms.PSet()
00031
00032 endcapAnalyzer = hltMuonOfflineAnalyzer.clone()
00033 endcapAnalyzer.destination = "HLT/Muon/DistributionsEndcap"
00034 endcapAnalyzer.targetParams = endcapMuonParams
00035 endcapAnalyzer.probeParams = cms.PSet()
00036
00037 allAnalyzer = hltMuonOfflineAnalyzer.clone()
00038 allAnalyzer.destination = "HLT/Muon/DistributionsAll"
00039 allAnalyzer.targetParams = allMuonParams
00040 allAnalyzer.probeParams = allMuonParams
00041
00042 hltMuonOfflineAnalyzers = cms.Sequence(
00043 barrelAnalyzer *
00044 endcapAnalyzer *
00045 allAnalyzer
00046 )