CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.enableMETPlot = True
42 SoftMuHardJetMETSUSYmonitoring_muPt.metSelection = cms.string('pt>150')
43 SoftMuHardJetMETSUSYmonitoring_muPt.MHTcut = cms.double(150)
44 
45 ## Binning ##
46 SoftMuHardJetMETSUSYmonitoring_muPt.histoPSet.muPtBinning = cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
47 
48 ##############
49 ### Jet pt ###
50 ##############
51 SoftMuHardJetMETSUSYmonitoring_jetPt = SoftMuHardJetMETSUSYmonitoring.clone()
52 SoftMuHardJetMETSUSYmonitoring_jetPt.FolderName = cms.string('HLT/SUSY/SoftMuHardJetMET/Jet')
53 
54 ## Selection ##
55 SoftMuHardJetMETSUSYmonitoring_jetPt.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_IsoMu27_v*")
56 # Muon selection
57 SoftMuHardJetMETSUSYmonitoring_jetPt.nmuons = cms.uint32(1)
58 SoftMuHardJetMETSUSYmonitoring_jetPt.muoSelection = cms.string('pt>30 & abs(eta)<1.5')
59 # Jet selection
60 SoftMuHardJetMETSUSYmonitoring_jetPt.njets = cms.uint32(1)
61 SoftMuHardJetMETSUSYmonitoring_jetPt.jetSelection = cms.string("abs(eta)<2.5")
62 # MET selection
63 SoftMuHardJetMETSUSYmonitoring_jetPt.enableMETPlot = True
64 SoftMuHardJetMETSUSYmonitoring_jetPt.metSelection = cms.string('pt>150')
65 SoftMuHardJetMETSUSYmonitoring_jetPt.MHTcut = cms.double(150)
66 
67 # Binning
68 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)
69 
70 ##############
71 ### MET pt ###
72 ##############
73 SoftMuHardJetMETSUSYmonitoring_metPt = SoftMuHardJetMETSUSYmonitoring.clone()
74 SoftMuHardJetMETSUSYmonitoring_metPt.FolderName = cms.string('HLT/SUSY/SoftMuHardJetMET/MET')
75 
76 ## Selection ##
77 SoftMuHardJetMETSUSYmonitoring_metPt.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_IsoMu27_v*")
78 # Muon selection
79 SoftMuHardJetMETSUSYmonitoring_metPt.nmuons = cms.uint32(1)
80 SoftMuHardJetMETSUSYmonitoring_metPt.muoSelection = cms.string('pt>30 & abs(eta)<1.5')
81 # Jet selection
82 SoftMuHardJetMETSUSYmonitoring_metPt.njets = cms.uint32(1)
83 SoftMuHardJetMETSUSYmonitoring_metPt.jetSelection = cms.string("pt>130 & abs(eta)<2.5")
84 # MET selection
85 SoftMuHardJetMETSUSYmonitoring_metPt.enableMETPlot = True
86 
87 # Binning
88 SoftMuHardJetMETSUSYmonitoring_metPt.histoPSet.metPSet = cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300))
89 
90 susyHLTSoftMuHardJetMETMonitoring = cms.Sequence(
91  SoftMuHardJetMETSUSYmonitoring_muPt
92  + SoftMuHardJetMETSUSYmonitoring_jetPt
93  + SoftMuHardJetMETSUSYmonitoring_metPt
94 )