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
5 from DQMOffline.Muon.gemEfficiencyAnalyzerCosmicsDefault_cfi import gemEfficiencyAnalyzerCosmicsDefault as _gemEfficiencyAnalyzerCosmicsDefault
6 
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'),
12 )
13 
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'),
19 )
20 
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))
25 
26 phase2_GEM.toModify(gemEfficiencyAnalyzerCosmicsOneLeg,
27  etaNbins=cms.untracked.int32(15),
28  etaUp=cms.untracked.double(3.0))
MuonServiceProxy_cff
TransientTrackBuilder_cfi