CMS 3D CMS Logo

dtTriggerEfficiencyTask_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 dtTriggerEfficiencyMonitor = DQMEDAnalyzer('DTTriggerEfficiencyTask',
5  # label for muons
6  inputTagMuons = cms.untracked.InputTag('muons'),
7 
8  SegmArbitration = cms.untracked.string("SegmentAndTrackArbitration"),
9 
10  # labels of DDU/TM data and 4D segments
11  inputTagTM = cms.untracked.InputTag('dttfDigis'),
12 # inputTagTM = cms.untracked.InputTag('dttfDigis'),
13  inputTagDDU = cms.untracked.InputTag('muonDTDigis'),
14  inputTagSEG = cms.untracked.InputTag('dt4DSegments'),
15  inputTagGMT = cms.untracked.InputTag('gtDigis'),
16  processDDU = cms.untracked.bool(True), # Not needed any longer. Switches below for 2016 Eras and onwards
17  processTM = cms.untracked.bool(True), # if true enables TM data analysis
18  minBXDDU = cms.untracked.int32(7), # min BX for DDU eff computation
19  maxBXDDU = cms.untracked.int32(15), # max BX for DDU eff computation
20 
21  checkRPCtriggers = cms.untracked.bool(False), # Not needed any longer. Swittches below for 2016 Eras and onwards
22 
23  nMinHitsPhi = cms.untracked.int32(5),
24  phiAccRange = cms.untracked.double(30.),
25 
26  detailedAnalysis = cms.untracked.bool(False), #if true enables detailed analysis plots
27 )
28 
29 #
30 # Modify for running in run 2 2016 data
31 #
32 from Configuration.Eras.Modifier_run2_common_cff import run2_common
33 run2_common.toModify( dtTriggerEfficiencyMonitor, checkRPCtriggers = cms.untracked.bool(False),processDDU = cms.untracked.bool(False))
34 
35