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  recoMaxEtaCut = cms.untracked.double(0.9),
9  recoMinEtaCut = cms.untracked.double(0.0),
10  recoGlbMuCut = cms.untracked.bool(False), #is a SA muon
11  hltMaxEtaCut = cms.untracked.double(0.9),
12  hltMinEtaCut = cms.untracked.double(0.0),
13 )
14 
15 endcapMuonParams = cms.PSet(
16  d0Cut = cms.untracked.double(1000.0),
17  z0Cut = cms.untracked.double(1000.0),
18  recoMaxEtaCut = cms.untracked.double(2.0),
19  recoMinEtaCut = cms.untracked.double(1.4),
20  recoGlbMuCut = cms.untracked.bool(False), #is a SA muon
21  hltMaxEtaCut = cms.untracked.double(2.0),
22  hltMinEtaCut = cms.untracked.double(1.4),
23 )
24 
25 allMuonParams = cms.PSet(
26  d0Cut = cms.untracked.double(1000.0),
27  z0Cut = cms.untracked.double(1000.0),
28  recoMaxEtaCut = cms.untracked.double(2.0),
29  recoMinEtaCut = cms.untracked.double(0.0),
30  recoGlbMuCut = cms.untracked.bool(False), #is a SA muon
31  hltMaxEtaCut = cms.untracked.double(2.0),
32  hltMinEtaCut = cms.untracked.double(0.0),
33 )
34 
35 barrelAnalyzer = hltMuonOfflineAnalyzer.clone(
36  destination = "HLT/Muon/DistributionsBarrel",
37  targetParams = barrelMuonParams
38 )
39 barrelAnalyzer.probeParams = cms.PSet()
40 
41 endcapAnalyzer = hltMuonOfflineAnalyzer.clone(
42  destination = "HLT/Muon/DistributionsEndcap",
43  targetParams = endcapMuonParams
44 )
45 endcapAnalyzer.probeParams = cms.PSet()
46 
47 allAnalyzer = hltMuonOfflineAnalyzer.clone(
48  destination = "HLT/Muon/DistributionsAll",
49  targetParams = allMuonParams,
50  probeParams = allMuonParams
51 )
52 hltMuonOfflineAnalyzers = cms.Sequence(
53  barrelAnalyzer *
54  endcapAnalyzer *
55  allAnalyzer
56 )