CMS 3D CMS Logo

TopMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.topMonitoring_cfi import topMonitoring
4 
5 hltTOPmonitoring = topMonitoring.clone()
6 
7 hltTOPmonitoring.FolderName = 'HLT/TOP/default/'
8 hltTOPmonitoring.requireValidHLTPaths = True
9 
10 # histo PSets
11 hltTOPmonitoring.histoPSet.lsPSet.nbins = 250
12 hltTOPmonitoring.histoPSet.lsPSet.xmin = 0
13 hltTOPmonitoring.histoPSet.lsPSet.xmax = 2500
14 
15 hltTOPmonitoring.histoPSet.metPSet.nbins = 30
16 hltTOPmonitoring.histoPSet.metPSet.xmin = 0
17 hltTOPmonitoring.histoPSet.metPSet.xmax = 300
18 
19 hltTOPmonitoring.histoPSet.ptPSet.nbins = 60
20 hltTOPmonitoring.histoPSet.ptPSet.xmin = 0
21 hltTOPmonitoring.histoPSet.ptPSet.xmax = 300
22 
23 hltTOPmonitoring.histoPSet.lsPSet.nbins = 2500
24 
25 hltTOPmonitoring.histoPSet.phiPSet.nbins = 32
26 hltTOPmonitoring.histoPSet.phiPSet.xmin = -3.2
27 hltTOPmonitoring.histoPSet.phiPSet.xmax = 3.2
28 
29 hltTOPmonitoring.histoPSet.etaPSet.nbins = 24
30 hltTOPmonitoring.histoPSet.etaPSet.xmin = -2.4
31 hltTOPmonitoring.histoPSet.etaPSet.xmax = 2.4
32 
33 hltTOPmonitoring.histoPSet.htPSet.nbins = 60
34 hltTOPmonitoring.histoPSet.htPSet.xmin = 0
35 hltTOPmonitoring.histoPSet.htPSet.xmax = 600
36 
37 hltTOPmonitoring.histoPSet.csvPSet.nbins = 50
38 hltTOPmonitoring.histoPSet.csvPSet.xmin = 0
39 hltTOPmonitoring.histoPSet.csvPSet.xmax = 1
40 
41 hltTOPmonitoring.histoPSet.DRPSet.nbins = 60
42 hltTOPmonitoring.histoPSet.DRPSet.xmin = 0
43 hltTOPmonitoring.histoPSet.DRPSet.xmax = 6
44 
45 hltTOPmonitoring.histoPSet.invMassPSet.nbins = 40
46 hltTOPmonitoring.histoPSet.invMassPSet.xmin = 0
47 hltTOPmonitoring.histoPSet.invMassPSet.xmax = 80
48 
49 hltTOPmonitoring.histoPSet.MHTPSet.nbins = 80
50 hltTOPmonitoring.histoPSet.MHTPSet.xmin = 60
51 hltTOPmonitoring.histoPSet.MHTPSet.xmax = 300
52 
53 # MET and HT binning
54 hltTOPmonitoring.histoPSet.metBinning = [0,20,40,60,80,100,125,150,175,200]
55 hltTOPmonitoring.histoPSet.HTBinning = [0,20,40,60,80,100,125,150,175,200,300,400,500,700]
56 # Eta binning
57 hltTOPmonitoring.histoPSet.eleEtaBinning = [-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4]
58 hltTOPmonitoring.histoPSet.jetEtaBinning = [-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4]
59 hltTOPmonitoring.histoPSet.muEtaBinning = [-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4]
60 # pt binning
61 hltTOPmonitoring.histoPSet.elePtBinning = [0,5,10,20,30,40,50,70,100,200,400]
62 hltTOPmonitoring.histoPSet.jetPtBinning = [0,5,10,20,30,40,50,70,100,200,400]
63 hltTOPmonitoring.histoPSet.muPtBinning = [0,5,10,20,30,40,50,70,100,200,400]
64 # Eta binning 2D
65 hltTOPmonitoring.histoPSet.eleEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
66 hltTOPmonitoring.histoPSet.jetEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
67 hltTOPmonitoring.histoPSet.muEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
68 hltTOPmonitoring.histoPSet.phoEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
69 # pt binning 2D
70 hltTOPmonitoring.histoPSet.elePtBinning2D = [0,20,30,50,100,200,400]
71 hltTOPmonitoring.histoPSet.jetPtBinning2D = [0,20,30,50,100,200,400]
72 hltTOPmonitoring.histoPSet.muPtBinning2D = [0,20,30,50,100,200,400]
73 hltTOPmonitoring.histoPSet.phoPtBinning2D = [0,20,30,50,100,200,400]
74 # HT and phi binning 2D
75 hltTOPmonitoring.histoPSet.HTBinning2D = [0,20,40,70,100,150,200,400,700]
76 hltTOPmonitoring.histoPSet.phiBinning2D = [-3.1416,-1.8849,-0.6283,0.6283,1.8849,3.1416]
77 
78 hltTOPmonitoring.enablePhotonPlot = False
79 hltTOPmonitoring.enableMETPlot = False
80 hltTOPmonitoring.enable2DPlots = True
81 
82 hltTOPmonitoring.applyLeptonPVcuts = False
83 hltTOPmonitoring.leptonPVcuts.dxy = 9999.
84 hltTOPmonitoring.leptonPVcuts.dz = 9999.
85 
86 hltTOPmonitoring.met = "pfMet" # pfMet
87 hltTOPmonitoring.jets = "ak4PFJetsCHS" # ak4PFJets, ak4PFJetsCHS, ak4PFJets
88 hltTOPmonitoring.electrons = "gedGsfElectrons" # while pfIsolatedElectronsEI are reco::PFCandidate !
89 hltTOPmonitoring.elecID = "egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight" #Electron ID
90 hltTOPmonitoring.muons = "muons" # while pfIsolatedMuonsEI are reco::PFCandidate !
91 hltTOPmonitoring.photons = "photons" # reco::Photon
92 hltTOPmonitoring.vertices = "offlinePrimaryVertices"
93 
94 hltTOPmonitoring.btagAlgos = ['pfDeepCSVJetTags:probb', 'pfDeepCSVJetTags:probbb']
95 hltTOPmonitoring.workingpoint = 0.8484 # Medium wp
96 
97 hltTOPmonitoring.HTdefinition = 'pt>30 & abs(eta)<2.5'
98 hltTOPmonitoring.leptJetDeltaRmin = 0.4
99 hltTOPmonitoring.bJetMuDeltaRmax = 9999.
100 hltTOPmonitoring.bJetDeltaEtaMax = 9999.
101 
102 hltTOPmonitoring.numGenericTriggerEventPSet.andOr = False
103 hltTOPmonitoring.numGenericTriggerEventPSet.andOrHlt = True # True:=OR; False:=AND
104 hltTOPmonitoring.numGenericTriggerEventPSet.hltInputTag = "TriggerResults::HLT"
105 hltTOPmonitoring.numGenericTriggerEventPSet.errorReplyHlt = False
106 hltTOPmonitoring.numGenericTriggerEventPSet.verbosityLevel = 0
107 
108 hltTOPmonitoring.denGenericTriggerEventPSet.andOr = False
109 hltTOPmonitoring.denGenericTriggerEventPSet.andOrHlt = True # True:=OR; False:=AND
110 hltTOPmonitoring.denGenericTriggerEventPSet.hltInputTag = "TriggerResults::HLT"
111 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyHlt = False
112 hltTOPmonitoring.denGenericTriggerEventPSet.dcsInputTag = "scalersRawToDigi"
113 hltTOPmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = "onlineMetaDataDigis"
114 hltTOPmonitoring.denGenericTriggerEventPSet.dcsPartitions = [24, 25, 26, 27, 28, 29] # 24-27: strip, 28-29: pixel, we should add all other detectors !
115 hltTOPmonitoring.denGenericTriggerEventPSet.andOrDcs = False
116 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyDcs = True
117 hltTOPmonitoring.denGenericTriggerEventPSet.verbosityLevel = 0
118 
119 hltTOPmonitoring.MHTdefinition = 'pt>30 & abs(eta)<2.5'
120 hltTOPmonitoring.MHTcut = -1
121 hltTOPmonitoring.invMassUppercut = -1.0
122 hltTOPmonitoring.invMassLowercut = -1.0
123 hltTOPmonitoring.oppositeSignMuons = False
124 hltTOPmonitoring.invMassCutInAllMuPairs = False