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 recoMaxEtaCut = cms.untracked.double(2.4),
9 recoMinEtaCut = cms.untracked.double(0.0),
10 recoGlbMuCut = cms.untracked.bool(
True),
11 hltMaxEtaCut = cms.untracked.double(2.4),
12 hltMinEtaCut = cms.untracked.double(0.0),
15 globalAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
16 globalAnalyzerTnP.destination =
"HLT/Muon/DistributionsGlobal" 17 globalAnalyzerTnP.targetParams = globalMuonParams
20 refPathsList = cms.vstring(
21 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v",
22 "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v",
23 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v",
24 "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
25 "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
26 "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v" 29 "HLT_Mu18_Mu9_SameSign_DZ_v",
30 "HLT_Mu18_Mu9_SameSign_v" 33 globalAnalyzerRef = hltMuonOfflineAnalyzer.clone()
34 globalAnalyzerRef.destination =
"HLT/Muon/DistributionsGlobal" 35 globalAnalyzerRef.targetParams = globalMuonParams
36 globalAnalyzerRef.hltPathsToCheck = refPathsList
37 globalAnalyzerRef.requiredTriggers = cms.untracked.vstring(
38 "HLT_Mu17_TrkIsoVVL_v")
42 refPathsList19 = cms.vstring(
47 globalAnalyzerRef19 = hltMuonOfflineAnalyzer.clone()
48 globalAnalyzerRef19.destination =
"HLT/Muon/DistributionsGlobal" 49 globalAnalyzerRef19.targetParams = globalMuonParams
50 globalAnalyzerRef19.hltPathsToCheck = refPathsList19
51 globalAnalyzerRef19.requiredTriggers = cms.untracked.vstring(
52 "HLT_Mu19_TrkIsoVVL_v")
56 hltMuonOfflineAnalyzers = cms.Sequence(
62 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
63 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
64 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
66 for muAna
in [globalAnalyzerTnP.targetParams,
67 globalAnalyzerRef.targetParams]:
68 for e
in [pA_2016, ppRef_2017, pp_on_AA]:
69 e.toModify(muAna, ptCut_Jpsi = cms.untracked.double( 5.0))
70 for muAna
in [globalAnalyzerTnP.binParams,
71 globalAnalyzerRef.binParams]:
72 for e
in [pA_2016, ppRef_2017, pp_on_AA]:
73 e.toModify(muAna, ptCoarse = cms.untracked.vdouble(0.,1.,2.,3.,4.,5.,7.,9.,12.,15.,20.,30.,40.))