CMS 3D CMS Logo

HLTMuonOfflineAnalyzer_cosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.HLTMuonOfflineAnalyzer_cfi import hltMuonOfflineAnalyzer
4 
5 barrelMuonParams = cms.PSet(
6  d0Cut = cms.untracked.double(1000.0),
7  z0Cut = cms.untracked.double(1000.0),
8  recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 0.9"),
9  hltCuts = cms.untracked.string("abs(eta) < 0.9"),
10 )
11 
12 endcapMuonParams = cms.PSet(
13  d0Cut = cms.untracked.double(1000.0),
14  z0Cut = cms.untracked.double(1000.0),
15  recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) > 1.4 && "
16  "abs(eta) < 2.0"),
17  hltCuts = cms.untracked.string("abs(eta) > 1.4 && abs(eta) < 2.0"),
18 )
19 
20 allMuonParams = cms.PSet(
21  d0Cut = cms.untracked.double(1000.0),
22  z0Cut = cms.untracked.double(1000.0),
23  recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 2.0"),
24  hltCuts = cms.untracked.string("abs(eta) < 2.0"),
25 )
26 
27 barrelAnalyzer = hltMuonOfflineAnalyzer.clone(
28  destination = "HLT/Muon/DistributionsBarrel",
29  targetParams = barrelMuonParams
30 )
31 barrelAnalyzer.probeParams = cms.PSet()
32 
33 endcapAnalyzer = hltMuonOfflineAnalyzer.clone(
34  destination = "HLT/Muon/DistributionsEndcap",
35  targetParams = endcapMuonParams
36 )
37 endcapAnalyzer.probeParams = cms.PSet()
38 
39 allAnalyzer = hltMuonOfflineAnalyzer.clone(
40  destination = "HLT/Muon/DistributionsAll",
41  targetParams = allMuonParams,
42  probeParams = allMuonParams
43 )
44 hltMuonOfflineAnalyzers = cms.Sequence(
45  barrelAnalyzer *
46  endcapAnalyzer *
47  allAnalyzer
48 )