CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTMuonOfflineAnalyzer_cosmics_cff.py
Go to the documentation of this file.
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 barrelAnalyzer.destination = "HLT/Muon/DistributionsBarrel"
29 barrelAnalyzer.targetParams = barrelMuonParams
30 barrelAnalyzer.probeParams = cms.PSet()
31 
32 endcapAnalyzer = hltMuonOfflineAnalyzer.clone()
33 endcapAnalyzer.destination = "HLT/Muon/DistributionsEndcap"
34 endcapAnalyzer.targetParams = endcapMuonParams
35 endcapAnalyzer.probeParams = cms.PSet()
36 
37 allAnalyzer = hltMuonOfflineAnalyzer.clone()
38 allAnalyzer.destination = "HLT/Muon/DistributionsAll"
39 allAnalyzer.targetParams = allMuonParams
40 allAnalyzer.probeParams = allMuonParams
41 
42 hltMuonOfflineAnalyzers = cms.Sequence(
43  barrelAnalyzer *
44  endcapAnalyzer *
45  allAnalyzer
46 )