1 import FWCore.ParameterSet.Config
as cms
3 from DQMOffline.Trigger.HLTMuonOfflineAnalyzer_cfi
import hltMuonOfflineAnalyzer
5 globalMuonParams = cms.PSet(
6 d0Cut = cms.untracked.double(2.0),
7 z0Cut = cms.untracked.double(25.0),
8 recoCuts = cms.untracked.string(
"isGlobalMuon && abs(eta) < 2.4"),
9 hltCuts = cms.untracked.string(
"abs(eta) < 2.4"),
12 globalAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
13 globalAnalyzerTnP.destination =
"HLT/Muon/DistributionsGlobal" 14 globalAnalyzerTnP.targetParams = globalMuonParams
17 refPathsList = cms.vstring(
18 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v",
19 "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v",
20 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v",
21 "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
22 "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
23 "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v" 26 "HLT_Mu18_Mu9_SameSign_DZ_v",
27 "HLT_Mu18_Mu9_SameSign_v" 30 globalAnalyzerRef = hltMuonOfflineAnalyzer.clone()
31 globalAnalyzerRef.destination =
"HLT/Muon/DistributionsGlobal" 32 globalAnalyzerRef.targetParams = globalMuonParams
33 globalAnalyzerRef.hltPathsToCheck = refPathsList
34 globalAnalyzerRef.requiredTriggers = cms.untracked.vstring(
35 "HLT_Mu17_TrkIsoVVL_v")
39 refPathsList19 = cms.vstring(
44 globalAnalyzerRef19 = hltMuonOfflineAnalyzer.clone()
45 globalAnalyzerRef19.destination =
"HLT/Muon/DistributionsGlobal" 46 globalAnalyzerRef19.targetParams = globalMuonParams
47 globalAnalyzerRef19.hltPathsToCheck = refPathsList19
48 globalAnalyzerRef19.requiredTriggers = cms.untracked.vstring(
49 "HLT_Mu19_TrkIsoVVL_v")
53 hltMuonOfflineAnalyzers = cms.Sequence(
59 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
60 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
61 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
63 for muAna
in [globalAnalyzerTnP.targetParams,
64 globalAnalyzerRef.targetParams]:
65 for e
in [pA_2016, ppRef_2017, pp_on_AA]:
66 e.toModify(muAna, ptCut_Jpsi = cms.untracked.double( 5.0))
67 for muAna
in [globalAnalyzerTnP.binParams,
68 globalAnalyzerRef.binParams]:
69 for e
in [pA_2016, ppRef_2017, pp_on_AA]:
70 e.toModify(muAna, ptCoarse = cms.untracked.vdouble(0.,1.,2.,3.,4.,5.,7.,9.,12.,15.,20.,30.,40.))