1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
4 from DQMOffline.Muon.gemEfficiencyAnalyzerDefault_cfi
import gemEfficiencyAnalyzerDefault
as _gemEfficiencyAnalyzerDefault
6 gemOfflineDQMTightGlbMuons = cms.EDFilter(
"MuonSelector",
7 src = cms.InputTag(
'muons'),
11 '&& globalTrack.isNonnull'
12 '&& passed(\'CutBasedIdTight\')'
14 filter = cms.bool(
False)
17 gemOfflineDQMStaMuons = cms.EDFilter(
"MuonSelector",
18 src = cms.InputTag(
'muons'),
22 '&& outerTrack.isNonnull'
24 filter = cms.bool(
False)
27 gemEfficiencyAnalyzerTightGlb = _gemEfficiencyAnalyzerDefault.clone(
28 ServiceParameters = MuonServiceProxy.ServiceParameters.clone(),
29 folder = cms.untracked.string(
'GEM/Efficiency/type1'),
30 muonTag = cms.InputTag(
'gemOfflineDQMTightGlbMuons'),
31 name = cms.untracked.string(
'Tight GLB Muon'),
32 useGlobalMuon = cms.untracked.bool(
True),
35 gemEfficiencyAnalyzerSta = _gemEfficiencyAnalyzerDefault.clone(
36 ServiceParameters = MuonServiceProxy.ServiceParameters.clone(),
37 muonTag = cms.InputTag(
"gemOfflineDQMStaMuons"),
38 folder = cms.untracked.string(
'GEM/Efficiency/type2'),
39 name = cms.untracked.string(
'STA Muon'),
40 useGlobalMuon = cms.untracked.bool(
False),
43 from Configuration.Eras.Modifier_phase2_GEM_cff
import phase2_GEM
45 gemEfficiencyAnalyzerTightGlb,
46 etaNbins=cms.untracked.int32(15),
47 etaUp=cms.untracked.double(3.0))
50 gemEfficiencyAnalyzerSta,
51 etaNbins=cms.untracked.int32(15),
52 etaUp=cms.untracked.double(3.0))
54 gemEfficiencyAnalyzerTightGlbSeq = cms.Sequence(
55 cms.ignore(gemOfflineDQMTightGlbMuons) *
56 gemEfficiencyAnalyzerTightGlb)
58 gemEfficiencyAnalyzerStaSeq = cms.Sequence(
59 cms.ignore(gemOfflineDQMStaMuons) *
60 gemEfficiencyAnalyzerSta)