CMS 3D CMS Logo

gemEfficiencyAnalyzerCosmics_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
3 from RecoMuon.TrackingTools.MuonServiceProxy_cff import MuonServiceProxy
4 from DQMOffline.Muon.gemEfficiencyAnalyzerCosmicsDefault_cfi import gemEfficiencyAnalyzerCosmicsDefault as _gemEfficiencyAnalyzerCosmicsDefault
5 
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'),
11 )
12 
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'),
18 )
19 
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))
24 
25 phase2_GEM.toModify(gemEfficiencyAnalyzerCosmicsOneLeg,
26  etaNbins=cms.untracked.int32(15),
27  etaUp=cms.untracked.double(3.0))
MuonServiceProxy_cff