CMS 3D CMS Logo

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