CMS 3D CMS Logo

rpcTnPEfficiencyTask_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 rpcTnPEfficiencyMonitor = DQMEDAnalyzer('RPCTnPEfficiencyTask',
5  # The muon object input tag
6  inputTagMuons = cms.untracked.InputTag('muons'),
7  inputTagPrimaryVertices = cms.untracked.InputTag('offlinePrimaryVertices'),
8  trigResultsTag = cms.untracked.InputTag("TriggerResults::HLT"),
9  trigEventTag = cms.untracked.InputTag("hltTriggerSummaryAOD::HLT"),
10  # A string-based cut on muon variables
11  probeCut = cms.untracked.string('isTrackerMuon && (innerTrack.normalizedChi2 < 10) && (innerTrack.hitPattern.numberOfValidPixelHits > 0) && (innerTrack.hitPattern.trackerLayersWithMeasurement > 5) && ((isolationR03.sumPt)/(pt) < 0.1) && pt>10.' ),
12  probeDxyCut = cms.untracked.double(0.2),
13  probeDzCut = cms.untracked.double(0.5),
14  #Cut on muon ID:
15  # CutBasedIdLoose = 1UL << 0
16  # CutBasedIdMedium = 1UL << 1
17  # CutBasedIdMediumPrompt = 1UL << 2
18  # CutBasedIdTight = 1UL << 3
19  tagCut = cms.untracked.string('(selectors & 8) && ((isolationR03.sumPt)/(pt) < 0.05) && pt>24.'),
20  borderCut = cms.untracked.double(-10.),
21  lowPairMassCut = cms.untracked.double (80.),
22  highPairMassCut = cms.untracked.double (100.),
23  trigName = cms.untracked.string("HLT_IsoMu*"),
24  #cuts for passing probe definition
25  dx_cut = cms.untracked.double(10.),
26  # If true, enables detailed analysis plots
27  detailedAnalysis = cms.untracked.bool(True)
28 )