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