CMS 3D CMS Logo

SoftMuHardJetMETSUSYMonitor_cff.py
Go to the documentation of this file.
1 # Offline DQM for HLT_Mu3er1p5_PFJet100er2p5_PFMETX_PFMHTX_IDTight (X = 70, 80, 90)
2 # Mateusz Zarucki 2018
3 
4 import FWCore.ParameterSet.Config as cms
5 
6 from DQMOffline.Trigger.SusyMonitor_cfi import hltSUSYmonitoring
7 
8 SoftMuHardJetMETSUSYmonitoring = hltSUSYmonitoring.clone()
9 SoftMuHardJetMETSUSYmonitoring.FolderName = cms.string('HLT/SUSY/SoftMuHardJetMET/')
10 
11 SoftMuHardJetMETSUSYmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag("TriggerResults","","HLT")
12 SoftMuHardJetMETSUSYmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring(
13  "HLT_Mu3er1p5_PFJet100er2p5_PFMET70_PFMHT70_IDTight_v*",
14  "HLT_Mu3er1p5_PFJet100er2p5_PFMET80_PFMHT80_IDTight_v*",
15  "HLT_Mu3er1p5_PFJet100er2p5_PFMET90_PFMHT90_IDTight_v*"
16 )
17 
18 SoftMuHardJetMETSUSYmonitoring.met = cms.InputTag("pfMetEI")
19 SoftMuHardJetMETSUSYmonitoring.jets = cms.InputTag("ak4PFJetsCHS")
20 SoftMuHardJetMETSUSYmonitoring.muons = cms.InputTag("muons")
21 
22 SoftMuHardJetMETSUSYmonitoring.HTdefinition = cms.string('pt>30 & abs(eta)<2.5')
23 SoftMuHardJetMETSUSYmonitoring.leptJetDeltaRmin = cms.double(0.4)
24 SoftMuHardJetMETSUSYmonitoring.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
25 
26 ###############
27 ### Muon pt ###
28 ###############
29 SoftMuHardJetMETSUSYmonitoring_muPt = SoftMuHardJetMETSUSYmonitoring.clone()
30 SoftMuHardJetMETSUSYmonitoring_muPt.FolderName = cms.string('HLT/SUSY/SoftMuHardJetMET/Muon')
31 
32 ## Selection ##
33 SoftMuHardJetMETSUSYmonitoring_muPt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFMET120_PFMHT120_IDTight_v*', 'HLT_PFMET130_PFMHT130_IDTight_v*', 'HLT_PFMET140_PFMHT140_IDTight_v*')
34 # Muon selection
35 SoftMuHardJetMETSUSYmonitoring_muPt.nmuons = cms.uint32(1)
36 SoftMuHardJetMETSUSYmonitoring_muPt.muoSelection = cms.string('abs(eta)<1.5')
37 # Jet selection
38 SoftMuHardJetMETSUSYmonitoring_muPt.njets = cms.uint32(1)
39 SoftMuHardJetMETSUSYmonitoring_muPt.jetSelection = cms.string("pt>130 & abs(eta)<2.5")
40 # MET selection
41 SoftMuHardJetMETSUSYmonitoring_muPt.metSelection = cms.string('pt>150')
42 SoftMuHardJetMETSUSYmonitoring_muPt.MHTcut = cms.double(150)
43 
44 ## Binning ##
45 SoftMuHardJetMETSUSYmonitoring_muPt.histoPSet.muPtBinning = cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
46 
47 ##############
48 ### Jet pt ###
49 ##############
50 SoftMuHardJetMETSUSYmonitoring_jetPt = SoftMuHardJetMETSUSYmonitoring.clone()
51 SoftMuHardJetMETSUSYmonitoring_jetPt.FolderName = cms.string('HLT/SUSY/SoftMuHardJetMET/Jet')
52 
53 ## Selection ##
54 SoftMuHardJetMETSUSYmonitoring_jetPt.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_IsoMu27_v*")
55 # Muon selection
56 SoftMuHardJetMETSUSYmonitoring_jetPt.nmuons = cms.uint32(1)
57 SoftMuHardJetMETSUSYmonitoring_jetPt.muoSelection = cms.string('pt>30 & abs(eta)<1.5')
58 # Jet selection
59 SoftMuHardJetMETSUSYmonitoring_jetPt.njets = cms.uint32(1)
60 SoftMuHardJetMETSUSYmonitoring_jetPt.jetSelection = cms.string("abs(eta)<2.5")
61 # MET selection
62 SoftMuHardJetMETSUSYmonitoring_jetPt.metSelection = cms.string('pt>150')
63 SoftMuHardJetMETSUSYmonitoring_jetPt.MHTcut = cms.double(150)
64 
65 # Binning
66 SoftMuHardJetMETSUSYmonitoring_jetPt.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400)
67 
68 ##############
69 ### MET pt ###
70 ##############
71 SoftMuHardJetMETSUSYmonitoring_metPt = SoftMuHardJetMETSUSYmonitoring.clone()
72 SoftMuHardJetMETSUSYmonitoring_metPt.FolderName = cms.string('HLT/SUSY/SoftMuHardJetMET/MET')
73 
74 ## Selection ##
75 SoftMuHardJetMETSUSYmonitoring_metPt.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_IsoMu27_v*")
76 # Muon selection
77 SoftMuHardJetMETSUSYmonitoring_metPt.nmuons = cms.uint32(1)
78 SoftMuHardJetMETSUSYmonitoring_metPt.muoSelection = cms.string('pt>30 & abs(eta)<1.5')
79 # Jet selection
80 SoftMuHardJetMETSUSYmonitoring_metPt.njets = cms.uint32(1)
81 SoftMuHardJetMETSUSYmonitoring_metPt.jetSelection = cms.string("pt>130 & abs(eta)<2.5")
82 # MET selection
83 SoftMuHardJetMETSUSYmonitoring_metPt.enableMETplot = cms.bool(True)
84 
85 # Binning
86 SoftMuHardJetMETSUSYmonitoring_metPt.histoPSet.metPSet = cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300))
87 
88 susyHLTSoftMuHardJetMETMonitoring = cms.Sequence(
89  SoftMuHardJetMETSUSYmonitoring_muPt
90  + SoftMuHardJetMETSUSYmonitoring_jetPt
91  + SoftMuHardJetMETSUSYmonitoring_metPt
92 )