1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
4 from DQMOffline.Muon.gemEfficiencyAnalyzerCosmicsDefault_cfi
import gemEfficiencyAnalyzerCosmicsDefault
as _gemEfficiencyAnalyzerCosmicsDefault
7 gemEfficiencyAnalyzerCosmics = _gemEfficiencyAnalyzerCosmicsDefault.clone(
8 ServiceParameters = MuonServiceProxy.ServiceParameters.clone(),
9 muonTag = cms.InputTag(
'muons'),
10 name = cms.untracked.string(
'Cosmic 2-Leg STA Muon'),
11 folder = cms.untracked.string(
'GEM/Efficiency/type1'),
14 gemEfficiencyAnalyzerCosmicsOneLeg = _gemEfficiencyAnalyzerCosmicsDefault.clone(
15 ServiceParameters = MuonServiceProxy.ServiceParameters.clone(),
16 muonTag = cms.InputTag(
'muons1Leg'),
17 name = cms.untracked.string(
'Cosmic 1-Leg STA Muon'),
18 folder = cms.untracked.string(
'GEM/Efficiency/type2'),
21 from Configuration.Eras.Modifier_phase2_GEM_cff
import phase2_GEM
22 phase2_GEM.toModify(gemEfficiencyAnalyzerCosmics,
23 etaNbins=cms.untracked.int32(15),
24 etaUp=cms.untracked.double(3.0))
26 phase2_GEM.toModify(gemEfficiencyAnalyzerCosmicsOneLeg,
27 etaNbins=cms.untracked.int32(15),
28 etaUp=cms.untracked.double(3.0))