CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from DQMOffline.Trigger.HLTMuonOfflineAnalyzer_cfi import hltMuonOfflineAnalyzer
00004 
00005 globalMuonParams = cms.PSet(
00006     d0Cut = cms.untracked.double(2.0),
00007     z0Cut = cms.untracked.double(25.0),
00008     recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"),
00009     hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
00010 )
00011 
00012 trackerMuonParams = cms.PSet(
00013     d0Cut = cms.untracked.double(2.0),
00014     z0Cut = cms.untracked.double(25.0),
00015     recoCuts = cms.untracked.string("isTrackerMuon && abs(eta) < 2.4"),
00016     hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
00017 )
00018 
00019 
00020 tightMuonParams = cms.PSet(
00021     d0Cut = cms.untracked.double(0.2),
00022     z0Cut = cms.untracked.double(0.5),
00023     recoCuts = cms.untracked.string(' && '.join([
00024         "isGlobalMuon && isPFMuon && isTrackerMuon",
00025         "abs(eta) < 2.4",
00026         "innerTrack.hitPattern.numberOfValidPixelHits > 0",
00027         "innerTrack.hitPattern.trackerLayersWithMeasurement > 5",
00028         "(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt < 0.12", 
00029         "globalTrack.hitPattern.numberOfValidMuonHits > 0",
00030         "globalTrack.normalizedChi2 < 10",
00031         "numberOfMatches > 1"
00032         ])),
00033     hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
00034 )
00035 
00036 
00037 
00038 looseMuonParams = cms.PSet(
00039     d0Cut = cms.untracked.double(50),
00040     z0Cut = cms.untracked.double(100),
00041     recoCuts = cms.untracked.string(' && '.join([
00042         "isPFMuon && (isTrackerMuon || isGlobalMuon)",
00043         "(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt < 0.20"
00044         ])),
00045     hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
00046 )
00047 
00048 
00049 globalAnalyzer = hltMuonOfflineAnalyzer.clone()
00050 globalAnalyzer.destination = "HLT/Muon/DistributionsGlobal"
00051 globalAnalyzer.targetParams = globalMuonParams
00052 #globalAnalyzer.probeParams = cms.PSet()
00053 
00054 trackerAnalyzer = hltMuonOfflineAnalyzer.clone()
00055 trackerAnalyzer.destination = "HLT/Muon/DistributionsTracker"
00056 trackerAnalyzer.targetParams = trackerMuonParams
00057 #trackerAnalyzer.probeParams = cms.PSet()
00058 
00059 tightAnalyzer = hltMuonOfflineAnalyzer.clone()
00060 tightAnalyzer.destination = "HLT/Muon/DistributionsTight"
00061 tightAnalyzer.targetParams = tightMuonParams
00062 #tightAnalyzer.probeParams = cms.PSet() 
00063 
00064 looseAnalyzer = hltMuonOfflineAnalyzer.clone()
00065 looseAnalyzer.destination = "HLT/Muon/DistributionsLoose"
00066 looseAnalyzer.targetParams = looseMuonParams
00067 #tightAnalyzer.probeParams = cms.PSet() 
00068 
00069 
00070 
00071 hltMuonOfflineAnalyzers = cms.Sequence(
00072     globalAnalyzer *
00073     trackerAnalyzer *
00074     tightAnalyzer *
00075     looseAnalyzer
00076 )