Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:58:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.topMonitoring_cfi import topMonitoring
0004 
0005 hltTOPmonitoring = topMonitoring.clone()
0006 
0007 hltTOPmonitoring.FolderName = 'HLT/TOP/default/'
0008 hltTOPmonitoring.requireValidHLTPaths = True 
0009 
0010 # histo PSets
0011 hltTOPmonitoring.histoPSet.lsPSet.nbins =  250
0012 hltTOPmonitoring.histoPSet.lsPSet.xmin  =    0
0013 hltTOPmonitoring.histoPSet.lsPSet.xmax  = 2500
0014 
0015 hltTOPmonitoring.histoPSet.metPSet.nbins =  30
0016 hltTOPmonitoring.histoPSet.metPSet.xmin  =   0
0017 hltTOPmonitoring.histoPSet.metPSet.xmax  = 300
0018 
0019 hltTOPmonitoring.histoPSet.ptPSet.nbins =  60
0020 hltTOPmonitoring.histoPSet.ptPSet.xmin  =   0
0021 hltTOPmonitoring.histoPSet.ptPSet.xmax  = 300
0022 
0023 hltTOPmonitoring.histoPSet.lsPSet.nbins = 2500
0024 
0025 hltTOPmonitoring.histoPSet.phiPSet.nbins = 32
0026 hltTOPmonitoring.histoPSet.phiPSet.xmin  = -3.2
0027 hltTOPmonitoring.histoPSet.phiPSet.xmax  =  3.2
0028 
0029 hltTOPmonitoring.histoPSet.etaPSet.nbins = 24
0030 hltTOPmonitoring.histoPSet.etaPSet.xmin  = -2.4
0031 hltTOPmonitoring.histoPSet.etaPSet.xmax  =  2.4
0032 
0033 hltTOPmonitoring.histoPSet.htPSet.nbins =  60
0034 hltTOPmonitoring.histoPSet.htPSet.xmin  =   0
0035 hltTOPmonitoring.histoPSet.htPSet.xmax  = 600
0036 
0037 hltTOPmonitoring.histoPSet.csvPSet.nbins = 50
0038 hltTOPmonitoring.histoPSet.csvPSet.xmin  =  0
0039 hltTOPmonitoring.histoPSet.csvPSet.xmax  =  1
0040 
0041 hltTOPmonitoring.histoPSet.DRPSet.nbins = 60
0042 hltTOPmonitoring.histoPSet.DRPSet.xmin  =  0
0043 hltTOPmonitoring.histoPSet.DRPSet.xmax  =  6
0044 
0045 hltTOPmonitoring.histoPSet.invMassPSet.nbins = 40
0046 hltTOPmonitoring.histoPSet.invMassPSet.xmin  =  0
0047 hltTOPmonitoring.histoPSet.invMassPSet.xmax  = 80
0048 
0049 hltTOPmonitoring.histoPSet.MHTPSet.nbins =  80
0050 hltTOPmonitoring.histoPSet.MHTPSet.xmin  =  60
0051 hltTOPmonitoring.histoPSet.MHTPSet.xmax  = 300
0052 
0053 # MET and HT binning
0054 hltTOPmonitoring.histoPSet.metBinning = [0,20,40,60,80,100,125,150,175,200]
0055 hltTOPmonitoring.histoPSet.HTBinning  = [0,20,40,60,80,100,125,150,175,200,300,400,500,700]
0056 # Eta binning
0057 hltTOPmonitoring.histoPSet.eleEtaBinning = [-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4]
0058 hltTOPmonitoring.histoPSet.jetEtaBinning = [-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4]
0059 hltTOPmonitoring.histoPSet.muEtaBinning  = [-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4]
0060 # pt binning
0061 hltTOPmonitoring.histoPSet.elePtBinning = [0,5,10,20,30,40,50,70,100,200,400]
0062 hltTOPmonitoring.histoPSet.jetPtBinning = [0,5,10,20,30,40,50,70,100,200,400]
0063 hltTOPmonitoring.histoPSet.muPtBinning  = [0,5,10,20,30,40,50,70,100,200,400]
0064 # Eta binning 2D
0065 hltTOPmonitoring.histoPSet.eleEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
0066 hltTOPmonitoring.histoPSet.jetEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
0067 hltTOPmonitoring.histoPSet.muEtaBinning2D  = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
0068 hltTOPmonitoring.histoPSet.phoEtaBinning2D = [-2.5,-1.5,-0.6,0.,0.6,1.5,2.5]
0069 # pt binning 2D
0070 hltTOPmonitoring.histoPSet.elePtBinning2D = [0,20,30,50,100,200,400]
0071 hltTOPmonitoring.histoPSet.jetPtBinning2D = [0,20,30,50,100,200,400]
0072 hltTOPmonitoring.histoPSet.muPtBinning2D  = [0,20,30,50,100,200,400]
0073 hltTOPmonitoring.histoPSet.phoPtBinning2D = [0,20,30,50,100,200,400]
0074 # HT and phi binning 2D
0075 hltTOPmonitoring.histoPSet.HTBinning2D  = [0,20,40,70,100,150,200,400,700]
0076 hltTOPmonitoring.histoPSet.phiBinning2D = [-3.1416,-1.8849,-0.6283,0.6283,1.8849,3.1416]
0077 
0078 hltTOPmonitoring.enablePhotonPlot = False
0079 hltTOPmonitoring.enableMETPlot = False
0080 hltTOPmonitoring.enable2DPlots = True
0081 
0082 hltTOPmonitoring.applyLeptonPVcuts = False
0083 hltTOPmonitoring.leptonPVcuts.dxy = 9999.
0084 hltTOPmonitoring.leptonPVcuts.dz  = 9999.
0085 
0086 hltTOPmonitoring.met       = "pfMet" # pfMet
0087 hltTOPmonitoring.jets      = "ak4PFJetsCHS" # ak4PFJets, ak4PFJetsCHS, ak4PFJets
0088 hltTOPmonitoring.electrons = "gedGsfElectrons" # while pfIsolatedElectronsEI are reco::PFCandidate !
0089 hltTOPmonitoring.elecID    = "egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight" #Electron ID
0090 hltTOPmonitoring.muons     = "muons" # while pfIsolatedMuonsEI are reco::PFCandidate !
0091 hltTOPmonitoring.photons   = "photons" # reco::Photon
0092 hltTOPmonitoring.vertices  = "offlinePrimaryVertices"
0093 
0094 hltTOPmonitoring.btagAlgos = ['pfDeepCSVJetTags:probb', 'pfDeepCSVJetTags:probbb']
0095 hltTOPmonitoring.workingpoint = 0.8484 # Medium wp
0096 
0097 hltTOPmonitoring.HTdefinition = 'pt>30 & abs(eta)<2.5'
0098 hltTOPmonitoring.leptJetDeltaRmin = 0.4
0099 hltTOPmonitoring.bJetMuDeltaRmax  = 9999.
0100 hltTOPmonitoring.bJetDeltaEtaMax  = 9999.
0101 
0102 hltTOPmonitoring.numGenericTriggerEventPSet.andOr         = False
0103 hltTOPmonitoring.numGenericTriggerEventPSet.andOrHlt      = True # True:=OR; False:=AND
0104 hltTOPmonitoring.numGenericTriggerEventPSet.hltInputTag   = "TriggerResults::HLT"
0105 hltTOPmonitoring.numGenericTriggerEventPSet.errorReplyHlt = False
0106 hltTOPmonitoring.numGenericTriggerEventPSet.verbosityLevel = 0
0107 
0108 hltTOPmonitoring.denGenericTriggerEventPSet.andOr         = False
0109 hltTOPmonitoring.denGenericTriggerEventPSet.andOrHlt      = True # True:=OR; False:=AND
0110 hltTOPmonitoring.denGenericTriggerEventPSet.hltInputTag   = "TriggerResults::HLT"
0111 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyHlt = False
0112 hltTOPmonitoring.denGenericTriggerEventPSet.dcsInputTag   = "scalersRawToDigi"
0113 hltTOPmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = "onlineMetaDataDigis"
0114 hltTOPmonitoring.denGenericTriggerEventPSet.dcsPartitions = [24, 25, 26, 27, 28, 29] # 24-27: strip, 28-29: pixel, we should add all other detectors !
0115 hltTOPmonitoring.denGenericTriggerEventPSet.andOrDcs      = False
0116 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyDcs = True
0117 hltTOPmonitoring.denGenericTriggerEventPSet.verbosityLevel = 0
0118 
0119 hltTOPmonitoring.MHTdefinition = 'pt>30 & abs(eta)<2.5'
0120 hltTOPmonitoring.MHTcut = -1
0121 hltTOPmonitoring.invMassUppercut = -1.0
0122 hltTOPmonitoring.invMassLowercut = -1.0
0123 hltTOPmonitoring.oppositeSignMuons = False
0124 hltTOPmonitoring.invMassCutInAllMuPairs = False