1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
5 from DQMOffline.Muon.gemEfficiencyAnalyzerDefault_cfi
import gemEfficiencyAnalyzerDefault
as _gemEfficiencyAnalyzerDefault
7 gemOfflineDQMTightGlbMuons = cms.EDFilter(
"MuonSelector",
8 src = cms.InputTag(
'muons'),
12 '&& globalTrack.isNonnull'
13 '&& passed(\'CutBasedIdTight\')'
15 filter = cms.bool(
False)
18 gemOfflineDQMStaMuons = cms.EDFilter(
"MuonSelector",
19 src = cms.InputTag(
'muons'),
23 '&& outerTrack.isNonnull'
25 filter = cms.bool(
False)
28 gemEfficiencyAnalyzerTightGlb = _gemEfficiencyAnalyzerDefault.clone(
29 ServiceParameters = MuonServiceProxy.ServiceParameters.clone(),
30 folder = cms.untracked.string(
'GEM/Efficiency/type1'),
31 muonTag = cms.InputTag(
'gemOfflineDQMTightGlbMuons'),
32 name = cms.untracked.string(
'Tight GLB Muon'),
33 useGlobalMuon = cms.untracked.bool(
True),
36 gemEfficiencyAnalyzerSta = _gemEfficiencyAnalyzerDefault.clone(
37 ServiceParameters = MuonServiceProxy.ServiceParameters.clone(),
38 muonTag = cms.InputTag(
"gemOfflineDQMStaMuons"),
39 folder = cms.untracked.string(
'GEM/Efficiency/type2'),
40 name = cms.untracked.string(
'STA Muon'),
41 useGlobalMuon = cms.untracked.bool(
False),
44 from Configuration.Eras.Modifier_phase2_GEM_cff
import phase2_GEM
46 gemEfficiencyAnalyzerTightGlb,
47 etaNbins=cms.untracked.int32(15),
48 etaUp=cms.untracked.double(3.0))
51 gemEfficiencyAnalyzerSta,
52 etaNbins=cms.untracked.int32(15),
53 etaUp=cms.untracked.double(3.0))
55 gemEfficiencyAnalyzerTightGlbSeq = cms.Sequence(
56 cms.ignore(gemOfflineDQMTightGlbMuons) *
57 gemEfficiencyAnalyzerTightGlb)
59 gemEfficiencyAnalyzerStaSeq = cms.Sequence(
60 cms.ignore(gemOfflineDQMStaMuons) *
61 gemEfficiencyAnalyzerSta)