Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.RazorMonitor_cff import *
0004 from DQMOffline.Trigger.VBFSUSYMonitor_cff import *
0005 from DQMOffline.Trigger.LepHTMonitor_cff import *
0006 from DQMOffline.Trigger.susyHLTEleCaloJets_cff import *
0007 from DQMOffline.Trigger.SoftMuHardJetMETSUSYMonitor_cff import *
0008 from DQMOffline.Trigger.TopMonitor_cfi import hltTOPmonitoring
0009 
0010 # muon
0011 double_soft_muon_muonpt = hltTOPmonitoring.clone(
0012     FolderName   = 'HLT/SUSY/SOS/Muon/',
0013     # Selections
0014     nmuons           = 2,
0015     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0016     HTcut            = 60,
0017     enableMETPlot = True,
0018     metSelection     ='pt>150',
0019     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0020     MHTcut           = 150,
0021     invMassUppercut  = 50,
0022     invMassLowercut  = 10
0023 )
0024 # Binning
0025 double_soft_muon_muonpt.histoPSet.muPtBinning      =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
0026 double_soft_muon_muonpt.histoPSet.muPtBinning2D    =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
0027 # Triggers
0028 double_soft_muon_muonpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
0029 double_soft_muon_muonpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFMET140_PFMHT140_v*')
0030 
0031 # met
0032 double_soft_muon_metpt = hltTOPmonitoring.clone(
0033     FolderName   = 'HLT/SUSY/SOS/MET/',
0034     # Selections
0035     nmuons           = 2,
0036     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0037     HTcut            = 60,
0038     muoSelection     = 'pt>18 & abs(eta)<2.4',
0039     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0040     MHTcut           = 150,
0041     invMassUppercut  = 50,
0042     invMassLowercut  = 10,
0043     enableMETPlot    = True
0044 )
0045 # Binning
0046 double_soft_muon_metpt.histoPSet.metPSet   =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
0047 # Triggers
0048 double_soft_muon_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
0049 double_soft_muon_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
0050 
0051 # inv Mass
0052 double_soft_muon_mll = hltTOPmonitoring.clone(
0053     FolderName   = 'HLT/SUSY/SOS/Mll/',
0054     # Selections
0055     nmuons           = 2,
0056     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0057     HTcut            = 60,
0058     muoSelection     = 'pt>10 & abs(eta)<2.4',
0059     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0060     MHTcut            = 150,
0061     enableMETPlot = True,
0062     metSelection      = 'pt>150'
0063 )
0064 # Binning
0065 double_soft_muon_mll.histoPSet.invMassVariableBinning      =cms.vdouble(8,12,15,20,25,30,35,40,45,47,50,60)
0066 
0067 # Triggers
0068 double_soft_muon_mll.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
0069 double_soft_muon_mll.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Dimuon12_Upsilon_eta1p5_v*')
0070 
0071 # mht
0072 double_soft_muon_mhtpt = hltTOPmonitoring.clone(
0073     FolderName   = 'HLT/SUSY/SOS/MHT/',
0074     # Selections
0075     nmuons           = 2,
0076     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0077     HTcut            = 60,
0078     muoSelection     = 'pt>18 & abs(eta)<2.0',
0079     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0080     enableMETPlot = True,
0081     metSelection     = 'pt>150',
0082     invMassUppercut       = 50,
0083     invMassLowercut       = 10
0084 )
0085 # Binning
0086 double_soft_muon_mhtpt.histoPSet.MHTVariableBinning      =cms.vdouble(50,60,70,80,90,100,110,120,130,150,200,300)
0087 
0088 # Triggers
0089 double_soft_muon_mhtpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
0090 double_soft_muon_mhtpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
0091 
0092 # backup1, met
0093 double_soft_muon_backup_70_metpt = hltTOPmonitoring.clone(
0094     FolderName   = 'HLT/SUSY/SOS/backup70/MET/',
0095     # Selections
0096     nmuons           = 2,
0097     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0098     HTcut            = 60,
0099     muoSelection     = 'pt>18 & abs(eta)<2.4',
0100     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0101     MHTcut           = 150,
0102     invMassUppercut       = 50,
0103     invMassLowercut       = 10,
0104     enableMETPlot = True
0105 )
0106 # Binning
0107 double_soft_muon_backup_70_metpt.histoPSet.metPSet   =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
0108 # Triggers
0109 double_soft_muon_backup_70_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET70_PFMHT70_v*')
0110 double_soft_muon_backup_70_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
0111 
0112 # backup1, mht
0113 double_soft_muon_backup_70_mhtpt = hltTOPmonitoring.clone(
0114     FolderName   = 'HLT/SUSY/SOS/backup70/MHT/',
0115     # Selections
0116     nmuons           = 2,
0117     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0118     HTcut            = 60,
0119     muoSelection     = 'pt>18 & abs(eta)<2.0',
0120     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0121     enableMETPlot = True,
0122     metSelection     = 'pt>150',
0123     invMassUppercut       = 50,
0124     invMassLowercut       = 10
0125 )
0126 # Binning
0127 double_soft_muon_backup_70_mhtpt.histoPSet.MHTVariableBinning      =cms.vdouble(50,60,70,80,90,100,110,120,130,150,200,300)
0128 
0129 # Triggers
0130 double_soft_muon_backup_70_mhtpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET70_PFMHT70_v*')
0131 double_soft_muon_backup_70_mhtpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
0132 
0133 # backup2, met
0134 double_soft_muon_backup_90_metpt = hltTOPmonitoring.clone(
0135     FolderName   = 'HLT/SUSY/SOS/backup90/MET/',
0136     # Selections
0137     nmuons           = 2,
0138     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0139     HTcut            = 60,
0140     muoSelection     = 'pt>18 & abs(eta)<2.4',
0141     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0142     MHTcut           = 150,
0143     invMassUppercut       = 50,
0144     invMassLowercut       = 10,
0145     enableMETPlot = True
0146 )
0147 # Binning
0148 double_soft_muon_backup_90_metpt.histoPSet.metPSet   =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
0149 # Triggers
0150 double_soft_muon_backup_90_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET90_PFMHT90_v*')
0151 double_soft_muon_backup_90_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
0152 
0153 # backup2, mht
0154 double_soft_muon_backup_90_mhtpt = hltTOPmonitoring.clone(
0155     FolderName   = 'HLT/SUSY/SOS/backup90/MHT/',
0156     # Selections
0157     nmuons           = 2,
0158     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0159     HTcut            = 60,
0160     muoSelection     = 'pt>18 & abs(eta)<2.0',
0161     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0162     enableMETPlot = True,
0163     metSelection     = 'pt>150',
0164     invMassUppercut       = 50,
0165     invMassLowercut       = 10
0166 )
0167 # Binning
0168 double_soft_muon_backup_90_mhtpt.histoPSet.MHTVariableBinning      =cms.vdouble(50,60,70,80,90,100,110,120,130,150,200,300)
0169 # Triggers
0170 double_soft_muon_backup_90_mhtpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET90_PFMHT90_v*')
0171 double_soft_muon_backup_90_mhtpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
0172 
0173 # triple muon
0174 triple_muon_mupt = hltTOPmonitoring.clone(
0175     FolderName   = 'HLT/SUSY/SOS/TripleMu/Muon',
0176     # Selections
0177     nmuons           = 3,
0178     muoSelection     = 'isGlobalMuon()',
0179     invMassUppercut       = 50,
0180     invMassLowercut       = 10,
0181     invMassCutInAllMuPairs= True
0182 )
0183 # Triggers
0184 triple_muon_mupt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_TripleMu_5_3_3_Mass3p8to60_DZ_v*')
0185 triple_muon_mupt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Trimuon5_3p5_2_Upsilon_Muon_v*')
0186 
0187 # triplemu dca
0188 triple_muon_dca_mupt = hltTOPmonitoring.clone(
0189     FolderName   = 'HLT/SUSY/SOS/TripleMu/DCA/Muon',
0190     # Selections
0191     nmuons           = 3,
0192     muoSelection     = 'isGlobalMuon()',
0193     invMassUppercut       = 50,
0194     invMassLowercut       = 10,
0195     invMassCutInAllMuPairs =True
0196 )
0197 # Triggers
0198 triple_muon_dca_mupt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_TripleMu_5_3_3_Mass3p8to60_DCA_v*')
0199 triple_muon_dca_mupt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Trimuon5_3p5_2_Upsilon_Muon_v*')
0200 
0201 # MuonEG
0202 susyMuEGMonitoring = hltTOPmonitoring.clone(
0203     FolderName = 'HLT/SUSY/MuonEG/',
0204     nmuons = 1,
0205     nphotons = 1,
0206     nelectrons = 0,
0207     njets = 0,
0208     enablePhotonPlot =  True,
0209     muoSelection = 'pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & isTrackerMuon & numberOfMatches>1  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0  & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.) )/pt<0.15',
0210     phoSelection = '(pt > 30 && abs(eta)<1.4442 && hadTowOverEm<0.0597 && full5x5_sigmaIetaIeta()<0.01031 && chargedHadronIso<1.295 && neutralHadronIso < 5.931+0.0163*pt+0.000014*pt*pt && photonIso < 6.641+0.0034*pt) || (pt > 30 && abs(eta)>1.4442 && hadTowOverEm<0.0481 && full5x5_sigmaIetaIeta()<0.03013 && chargedHadronIso<1.011 && neutralHadronIso < 1.715+0.0163*pt+0.000014*pt*pt && photonIso < 3.863+0.0034*pt)'
0211 )
0212 susyMuEGMonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_Photon30_IsoCaloId*')
0213 susyMuEGMonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring('')
0214 
0215 # muon dca
0216 double_soft_muon_dca_muonpt = hltTOPmonitoring.clone(
0217     FolderName   = 'HLT/SUSY/SOS/DCA/Muon/',
0218     # Selections
0219     nmuons           = 2,
0220     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0221     HTcut            = 60,
0222     enableMETPlot = True,
0223     metSelection     = 'pt>150',
0224     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0225     MHTcut           = 150,
0226     invMassUppercut  = 50,
0227     invMassLowercut  = 10
0228 )
0229 # Binning
0230 double_soft_muon_dca_muonpt.histoPSet.muPtBinning      =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
0231 double_soft_muon_dca_muonpt.histoPSet.muPtBinning2D    =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
0232 # Triggers
0233 double_soft_muon_dca_muonpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DCA_PFMET50_PFMHT60_v*')
0234 double_soft_muon_dca_muonpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFMET140_PFMHT140_v*')
0235 
0236 # met
0237 double_soft_muon_dca_metpt = hltTOPmonitoring.clone(
0238     FolderName   = 'HLT/SUSY/SOS/DCA/MET/',
0239     # Selections
0240     nmuons           = 2,
0241     HTdefinition     = 'pt>30 & abs(eta)<2.4',
0242     HTcut            = 60,
0243     muoSelection     = 'pt>18 & abs(eta)<2.4',
0244     MHTdefinition    = 'pt>30 & abs(eta)<2.4',
0245     MHTcut           = 150,
0246     invMassUppercut       = 50,
0247     invMassLowercut       = 10,
0248     enableMETPlot = True
0249 )
0250 # Binning
0251 double_soft_muon_dca_metpt.histoPSet.metPSet   =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
0252 # Triggers
0253 double_soft_muon_dca_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DCA_PFMET50_PFMHT60_v*')
0254 double_soft_muon_dca_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v*')
0255 
0256 susyMonitorHLT = cms.Sequence(
0257     susyHLTRazorMonitoring
0258   + susyHLTVBFMonitoring
0259   + LepHTMonitor
0260   + susyHLTEleCaloJets
0261   + double_soft_muon_muonpt
0262   + double_soft_muon_metpt
0263   + double_soft_muon_mhtpt
0264   + double_soft_muon_mll
0265   + double_soft_muon_backup_70_metpt
0266   + double_soft_muon_backup_70_mhtpt
0267   + double_soft_muon_backup_90_metpt
0268   + double_soft_muon_backup_90_mhtpt
0269   + triple_muon_mupt
0270   + triple_muon_dca_mupt
0271   + susyMuEGMonitoring 
0272   + double_soft_muon_dca_muonpt
0273   + double_soft_muon_dca_metpt
0274   + susyHLTSoftMuHardJetMETMonitoring
0275 )
0276 
0277 susHLTDQMSourceExtra = cms.Sequence(
0278 )