Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #setup names for multiple plots that use the same paths+modules
0004 photon_pathName = "HLT_DoublePhoton33_CaloIdL" # "HLT_Photon30_R9Id90_HE10_IsoM"
0005 photon_moduleName = "hltEG33CaloIdLClusterShapeFilter" # "hltEG30R9Id90HE10IsoMTrackIsoFilter"
0006 
0007 muon_pathName = "HLT_IsoMu27"
0008 muon_moduleName = "hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07" # "hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p09"
0009 
0010 l2muon_pathName = "HLT_L2Mu10"
0011 l2muon_moduleName = "hltL2fL1sMu22L1f0L2Filtered10Q"
0012 
0013 l2NoBPTXmuon_pathName = "HLT_L2Mu40_NoVertex_3Sta_NoBPTX3BX" # "HLT_L2Mu10_NoVertex_NoBPTX3BX"
0014 l2NoBPTXmuon_moduleName = "hltL2fL1sMuOpenNotBptxORNoHaloMu3BXL1f0NoVtxCosmicSeedMeanTimerL2Filtered40Sta3" # "hltL2fL1sMuOpenNotBptxORNoHaloMu3BXL1f0NoVtxCosmicSeedMeanTimerL2Filtered10"
0015 
0016 electron_pathName = "HLT_Ele38_WPTight_Gsf" # "HLT_Ele23_WPLoose_Gsf"
0017 electron_moduleName = "hltEle38noerWPTightGsfTrackIsoFilter" # "hltEle23WPLooseGsfTrackIsoFilter"
0018 
0019 caloMet_pathName = "HLT_MET60_IsoTrk35_Loose"
0020 caloMet_moduleName = "hltMET60"
0021 
0022 pfMet_pathName = "HLT_PFMET120_PFMHT120_IDTight"
0023 pfMet_moduleName = "hltPFMET120"
0024 
0025 jetAk8_pathName = "HLT_AK8PFJet400_TrimMass30" # "HLT_AK8PFJet360_TrimMass30"
0026 jetAk8_moduleName = "hltAK8SinglePFJet400TrimModMass30" # "hltAK8SinglePFJet360TrimModMass30"
0027 
0028 rsq_mr_pathName = "HLT_RsqMR240_Rsq0p09_MR200"
0029 rsq_mr_moduleName = "hltRsqMR240Rsq0p09MR200"
0030 
0031 bJet_pathNameCalo = "HLT_DoubleJets100_DoubleBTagCSV_0p92_DoublePFJets128MaxDeta1p6" # "HLT_PFMET120_BTagCSV_p067"
0032 bJet_moduleNameCalo = "hltBTagCalo80x6CSVp0p92DoubleWithMatching" # "hltBTagCaloCSVp067Single"
0033 
0034 bJet_pathNamePF = "HLT_PFHT380_SixJet32_DoubleBTagCSV_p075" # "HLT_QuadPFJet_BTagCSV_p016_VBF_Mqq500"
0035 bJet_moduleNamePF = "hltBTagPFCSVp075Double" # "hltBTagPFCSVp016SingleWithMatching"
0036 
0037 #To avoid booking histogram, set pathName = cms.string("")
0038 
0039 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0040 hltObjectMonitor = DQMEDAnalyzer('HLTObjectMonitor',
0041     processName = cms.string("HLT"),
0042     alphaT = cms.PSet(
0043         pathName = cms.string("HLT_PFHT200_DiPFJetAve90_PFAlphaT0p63"),
0044         moduleName = cms.string("hltPFHT200PFAlphaT0p63"),
0045         axisLabel = cms.string("Alpha_{T}"),
0046         plotLabel = cms.string("alphaT"),
0047         mainWorkspace = cms.bool(True),
0048         NbinsX = cms.int32(30),
0049         Xmin = cms.double(0),
0050         Xmax = cms.double(5)
0051         ),
0052     photonPt = cms.PSet(
0053         pathName = cms.string(photon_pathName),
0054         moduleName = cms.string(photon_moduleName),
0055         plotLabel = cms.string("Photon_pT"),
0056         axisLabel = cms.string("photon p_{T} [GeV]"),
0057         mainWorkspace = cms.bool(True),
0058         NbinsX = cms.int32(100),
0059         Xmin = cms.double(0),
0060         Xmax = cms.double(200)
0061         ),
0062     photonEta = cms.PSet(
0063         pathName = cms.string(photon_pathName),
0064         moduleName = cms.string(photon_moduleName),
0065         plotLabel = cms.string("Photon_eta"),
0066         axisLabel = cms.string("photon eta"),
0067         mainWorkspace = cms.bool(False),
0068         NbinsX = cms.int32(50),
0069         Xmin = cms.double(-3),
0070         Xmax = cms.double(3)
0071         ),
0072     photonPhi = cms.PSet(
0073         pathName = cms.string(photon_pathName),
0074         moduleName = cms.string(photon_moduleName),
0075         plotLabel = cms.string("Photon_phi"),
0076         axisLabel = cms.string("photon phi"),
0077         mainWorkspace = cms.bool(False),
0078         NbinsX = cms.int32(50),
0079         Xmin = cms.double(-3.4),
0080         Xmax = cms.double(3.4)
0081         ),
0082     muonPt = cms.PSet(
0083         pathName = cms.string(muon_pathName),
0084         moduleName = cms.string(muon_moduleName),
0085         plotLabel = cms.string("Muon_pT"),
0086         axisLabel = cms.string("muon p_{T} [GeV]"),
0087         mainWorkspace = cms.bool(True),
0088         NbinsX = cms.int32(75),
0089         Xmin = cms.double(0),
0090         Xmax = cms.double(150)
0091         ),
0092     muonEta = cms.PSet(
0093         pathName = cms.string(muon_pathName),
0094         moduleName = cms.string(muon_moduleName),
0095         plotLabel = cms.string("Muon_eta"),
0096         axisLabel = cms.string("muon eta"),
0097         mainWorkspace = cms.bool(False),
0098         NbinsX = cms.int32(50),
0099         Xmin = cms.double(-3),
0100         Xmax = cms.double(3)
0101         ),
0102     muonPhi = cms.PSet(
0103         pathName = cms.string(muon_pathName),
0104         moduleName = cms.string(muon_moduleName),
0105         plotLabel = cms.string("Muon_phi"),
0106         axisLabel = cms.string("muon phi"),
0107         mainWorkspace = cms.bool(False),
0108         NbinsX = cms.int32(50),
0109         Xmin = cms.double(-3.4),
0110         Xmax = cms.double(3.4)
0111         ),
0112     l2muonPt = cms.PSet(
0113         pathName = cms.string(l2muon_pathName),
0114         moduleName = cms.string(l2muon_moduleName),
0115         plotLabel = cms.string("L2Muon_pT"),
0116         axisLabel = cms.string("L2 muon p_{T} [GeV]"),
0117         mainWorkspace = cms.bool(True),
0118         NbinsX = cms.int32(75),
0119         Xmin = cms.double(0),
0120         Xmax = cms.double(150)
0121         ),
0122     l2muonEta = cms.PSet(
0123         pathName = cms.string(l2muon_pathName),
0124         moduleName = cms.string(l2muon_moduleName),
0125         plotLabel = cms.string("L2Muon_eta"),
0126         axisLabel = cms.string("L2 muon eta"),
0127         mainWorkspace = cms.bool(False),
0128         NbinsX = cms.int32(50),
0129         Xmin = cms.double(-3),
0130         Xmax = cms.double(3)
0131         ),
0132     l2muonPhi = cms.PSet(
0133         pathName = cms.string(l2muon_pathName),
0134         moduleName = cms.string(l2muon_moduleName),
0135         plotLabel = cms.string("L2Muon_phi"),
0136         axisLabel = cms.string("L2 muon phi"),
0137         mainWorkspace = cms.bool(False),
0138         NbinsX = cms.int32(50),
0139         Xmin = cms.double(-3.4),
0140         Xmax = cms.double(3.4)
0141         ),
0142     l2NoBPTXmuonPt = cms.PSet(
0143         pathName = cms.string(l2NoBPTXmuon_pathName),
0144         moduleName = cms.string(l2NoBPTXmuon_moduleName),
0145         plotLabel = cms.string("L2NoBPTXMuon_pT"),
0146         axisLabel = cms.string("L2 No BPTX muon p_{T} [GeV]"),
0147         mainWorkspace = cms.bool(True),
0148         NbinsX = cms.int32(75),
0149         Xmin = cms.double(0),
0150         Xmax = cms.double(150)
0151         ),
0152     l2NoBPTXmuonEta = cms.PSet(
0153         pathName = cms.string(l2NoBPTXmuon_pathName),
0154         moduleName = cms.string(l2NoBPTXmuon_moduleName),
0155         plotLabel = cms.string("L2NoBPTXMuon_eta"),
0156         axisLabel = cms.string("L2 NoBPTX muon eta"),
0157         mainWorkspace = cms.bool(False),
0158         NbinsX = cms.int32(50),
0159         Xmin = cms.double(-3),
0160         Xmax = cms.double(3)
0161         ),
0162     l2NoBPTXmuonPhi = cms.PSet(
0163         pathName = cms.string(l2NoBPTXmuon_pathName),
0164         moduleName = cms.string(l2NoBPTXmuon_moduleName),
0165         plotLabel = cms.string("L2NoBPTXMuon_phi"),
0166         axisLabel = cms.string("L2 NoBPTX muon phi"),
0167         mainWorkspace = cms.bool(False),
0168         NbinsX = cms.int32(50),
0169         Xmin = cms.double(-3.4),
0170         Xmax = cms.double(3.4)
0171         ),
0172     electronPt = cms.PSet(
0173         pathName = cms.string(electron_pathName),
0174         moduleName = cms.string(electron_moduleName),
0175         plotLabel = cms.string("Electron_pT"),
0176         axisLabel = cms.string("electron p_{T} [GeV]"),
0177         mainWorkspace = cms.bool(True),
0178         NbinsX = cms.int32(75),
0179         Xmin = cms.double(0),
0180         Xmax = cms.double(150)
0181         ),
0182     electronEta = cms.PSet(
0183         pathName = cms.string(electron_pathName),
0184         moduleName = cms.string(electron_moduleName),
0185         plotLabel = cms.string("Electron_eta"),
0186         axisLabel = cms.string("electron eta"),
0187         mainWorkspace = cms.bool(False),
0188         NbinsX = cms.int32(50),
0189         Xmin = cms.double(-3),
0190         Xmax = cms.double(3)
0191         ),
0192     electronPhi = cms.PSet(
0193         pathName = cms.string(electron_pathName),
0194         moduleName = cms.string(electron_moduleName),
0195         plotLabel = cms.string("Electron_phi"),
0196         axisLabel = cms.string("electron phi"),
0197         mainWorkspace = cms.bool(False),
0198         NbinsX = cms.int32(50),
0199         Xmin = cms.double(-3.4),
0200         Xmax = cms.double(3.4)
0201         ),
0202     jetPt = cms.PSet(
0203         pathName = cms.string("HLT_PFJet200"),
0204         moduleName = cms.string("hltSinglePFJet200"),
0205         plotLabel = cms.string("Jet_pT"),
0206         axisLabel = cms.string("jet p_{T} [GeV]"),
0207         mainWorkspace = cms.bool(True),
0208         NbinsX = cms.int32(75),
0209         Xmin = cms.double(150),
0210         Xmax = cms.double(550)
0211         ),
0212     jetAK8Pt = cms.PSet(
0213         pathName = cms.string(jetAk8_pathName),
0214         moduleName = cms.string(jetAk8_moduleName),
0215         axisLabel = cms.string("AK8 jet p_{T} [GeV]"),
0216         plotLabel = cms.string("JetAK8_Pt"),
0217         mainWorkspace = cms.bool(True),
0218         NbinsX = cms.int32(75),
0219         Xmin = cms.double(300),
0220         Xmax = cms.double(750)
0221         ),
0222     jetAK8Mass = cms.PSet(
0223         pathName = cms.string(jetAk8_pathName),
0224         moduleName = cms.string(jetAk8_moduleName),
0225         plotLabel = cms.string("JetAK8_mass"),
0226         axisLabel = cms.string("AK8 jet mass [GeV]"),
0227         mainWorkspace = cms.bool(True),
0228         NbinsX = cms.int32(100),
0229         Xmin = cms.double(0),
0230         Xmax = cms.double(200)
0231         ),   
0232     tauPt = cms.PSet(
0233         pathName = cms.string("HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1"), # HLT_DoubleMediumIsoPFTau40_Trk1_eta2p1_Reg"),
0234         moduleName = cms.string("hltOverlapFilterIsoMu24MediumChargedIsoPFTau35MonitoringReg"), #hltDoublePFTau40TrackPt1MediumIsolationDz02Reg"),
0235         axisLabel = cms.string("tau p_{T} [GeV]"),
0236         plotLabel = cms.string("Tau_pT"),
0237         mainWorkspace = cms.bool(True),
0238         NbinsX = cms.int32(75),
0239         Xmin = cms.double(30),
0240         Xmax = cms.double(350)
0241         ),
0242     diMuonLowMass = cms.PSet(
0243         pathName = cms.string("HLT_DoubleMu4_3_Jpsi_Displaced"),
0244         moduleName = cms.string("hltDisplacedmumuFilterDoubleMu43Jpsi"),
0245         plotLabel = cms.string("Dimuon_LowMass"),
0246         axisLabel = cms.string("di-muon low mass [GeV]"),
0247         mainWorkspace = cms.bool(True),
0248         NbinsX = cms.int32(100),
0249         Xmin = cms.double(2.5),
0250         Xmax = cms.double(3.5)
0251         ),
0252     caloMetPt = cms.PSet(
0253         pathName = cms.string(caloMet_pathName),
0254         moduleName = cms.string(caloMet_moduleName),
0255         plotLabel = cms.string("CaloMET_pT"),
0256         axisLabel = cms.string("calo MET p_{T} [GeV]"),
0257         mainWorkspace = cms.bool(True),
0258         NbinsX = cms.int32(60),
0259         Xmin = cms.double(50),
0260         Xmax = cms.double(250)
0261         ),
0262     caloMetPhi = cms.PSet(
0263         pathName = cms.string(caloMet_pathName),
0264         moduleName = cms.string(caloMet_moduleName),
0265         plotLabel = cms.string("CaloMET_phi"),
0266         axisLabel = cms.string("calo MET phi"),
0267         mainWorkspace = cms.bool(False),
0268         NbinsX = cms.int32(50),
0269         Xmin = cms.double(-3.4),
0270         Xmax = cms.double(3.4)
0271         ),
0272     pfMetPt = cms.PSet(
0273         pathName = cms.string(pfMet_pathName),
0274         moduleName = cms.string(pfMet_moduleName),
0275         plotLabel = cms.string("PFMET_pT"),
0276         axisLabel = cms.string("PF MET p_{T} [GeV]"),
0277         mainWorkspace = cms.bool(True),
0278         NbinsX = cms.int32(60),
0279         Xmin = cms.double(100),
0280         Xmax = cms.double(500)
0281         ),
0282     pfMetPhi = cms.PSet(
0283         pathName = cms.string(pfMet_pathName),
0284         moduleName = cms.string(pfMet_moduleName),
0285         plotLabel = cms.string("PFMET_phi"),
0286         axisLabel = cms.string("PF MET phi"),
0287         mainWorkspace = cms.bool(False),
0288         NbinsX = cms.int32(50),
0289         Xmin = cms.double(-3.4),
0290         Xmax = cms.double(3.4)
0291         ),
0292     caloHtPt = cms.PSet(
0293         pathName = cms.string("HLT_HT650_DisplacedDijet80_Inclusive"),
0294         moduleName = cms.string("hltHT650"),
0295         plotLabel = cms.string("CaloHT_pT"),
0296         axisLabel = cms.string("calo HT p_{T} [GeV]"),
0297         mainWorkspace = cms.bool(True),
0298         NbinsX = cms.int32(200),
0299         Xmin = cms.double(0),
0300         Xmax = cms.double(2000)
0301         ),
0302     pfHtPt = cms.PSet(
0303         pathName = cms.string("HLT_PFHT750_4JetPt50"),
0304         moduleName = cms.string("hltPF4JetPt50HT750"),
0305         plotLabel = cms.string("PFHT_pT"),
0306         axisLabel = cms.string("PF HT p_{T} [GeV]"),
0307         mainWorkspace = cms.bool(True),
0308         NbinsX = cms.int32(200),
0309         Xmin = cms.double(0),
0310         Xmax = cms.double(2000)
0311         ),
0312     bJetEta = cms.PSet(
0313         pathName = cms.string(bJet_pathNameCalo),
0314         moduleName = cms.string(bJet_moduleNameCalo),
0315         pathName_OR = cms.string(bJet_pathNamePF),
0316         moduleName_OR = cms.string(bJet_moduleNamePF),
0317         plotLabel = cms.string("bJet_eta"),
0318         axisLabel = cms.string("b-jet eta"),
0319         mainWorkspace = cms.bool(False),
0320         NbinsX = cms.int32(50),
0321         Xmin = cms.double(-3),
0322         Xmax = cms.double(3)
0323         ),
0324     bJetPhi = cms.PSet(
0325         pathName = cms.string(bJet_pathNameCalo),
0326         moduleName = cms.string(bJet_moduleNameCalo),
0327         pathName_OR = cms.string(bJet_pathNamePF),
0328         moduleName_OR = cms.string(bJet_moduleNamePF),
0329         plotLabel = cms.string("bJet_phi"),
0330         axisLabel = cms.string("b-jet phi"),
0331         mainWorkspace = cms.bool(False),
0332         NbinsX = cms.int32(50),
0333         Xmin = cms.double(-3.4),
0334         Xmax = cms.double(3.4)
0335         ),
0336     bJetCSVCalo = cms.PSet(
0337         pathName = cms.string(bJet_pathNameCalo),
0338         moduleName = cms.string(bJet_moduleNameCalo),
0339         plotLabel = cms.string("bJetCSVCalo"),
0340         axisLabel = cms.string("calo b-jet CSV"),
0341         mainWorkspace = cms.bool(True),
0342         NbinsX = cms.int32(110),
0343         Xmin = cms.double(0),
0344         Xmax = cms.double(1)
0345         ),
0346     bJetCSVPF = cms.PSet(
0347         pathName = cms.string(bJet_pathNamePF),
0348         moduleName = cms.string(bJet_moduleNamePF),
0349         plotLabel = cms.string("bJetCSVPF"),
0350         axisLabel = cms.string("PF b-jet CSV"),
0351         mainWorkspace = cms.bool(True),
0352         NbinsX = cms.int32(110),
0353         Xmin = cms.double(0),
0354         Xmax = cms.double(1)
0355         ),
0356     rsq = cms.PSet(
0357         pathName = cms.string(rsq_mr_pathName),
0358         moduleName = cms.string(rsq_mr_moduleName),
0359         plotLabel = cms.string("Rsq"),
0360         axisLabel = cms.string("R^{2}"),
0361         mainWorkspace = cms.bool(True),
0362         NbinsX = cms.int32(30),
0363         Xmin = cms.double(0),
0364         Xmax = cms.double(2)
0365         ),                                  
0366     mr = cms.PSet(
0367         pathName = cms.string(rsq_mr_pathName),
0368         moduleName = cms.string(rsq_mr_moduleName),
0369         plotLabel = cms.string("mr"),
0370         axisLabel = cms.string("M_{R} [GeV]"),
0371         mainWorkspace = cms.bool(True),
0372         NbinsX = cms.int32(50),
0373         Xmin = cms.double(0),
0374         Xmax = cms.double(2000)
0375         ),
0376     diMuonMass = cms.PSet(
0377         pathName = cms.string("HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ"),
0378         moduleName = cms.string("hltDiMuonGlb17Glb8RelTrkIsoFiltered0p4"), #hltDiMuonGlb17Glb8RelTrkIsoFiltered0p4DzFiltered0p2"),
0379         pathName_OR = cms.string("HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ"),
0380         moduleName_OR = cms.string("hltDiMuonGlb17Glb8RelTrkIsoFiltered0p4"), # hltDiMuonGlb17Trk8RelTrkIsoFiltered0p4DzFiltered0p2"),
0381         plotLabel = cms.string("diMuon_Mass"),
0382         axisLabel = cms.string("dimuon mass [GeV]"),
0383         mainWorkspace = cms.bool(True),
0384         NbinsX = cms.int32(50),
0385         Xmin = cms.double(60),
0386         Xmax = cms.double(160)
0387         ),
0388     pAL1DoubleMuZMass = cms.PSet(
0389         pathName = cms.string("HLT_PAL1DoubleMu10"),
0390         moduleName = cms.string("hltL1fL1sDoubleMu10BptxANDL1Filtered0"),
0391         plotLabel = cms.string("PAL1DoubleMu10_ZMass"),
0392         axisLabel = cms.string("dimuon mass [GeV]"),
0393         mainWorkspace = cms.bool(True),
0394         NbinsX = cms.int32(50),
0395         Xmin = cms.double(60.0),
0396         Xmax = cms.double(160.0)
0397         ),
0398     pAL2DoubleMuZMass = cms.PSet(
0399         pathName = cms.string("HLT_PAL2DoubleMu10"),
0400         moduleName = cms.string("hltL2fL1sDoubleMu10BptxANDL1f0L2Filtered10"),
0401         plotLabel = cms.string("PAL2DoubleMu10_ZMass"),
0402         axisLabel = cms.string("dimuon mass [GeV]"),
0403         mainWorkspace = cms.bool(True),
0404         NbinsX = cms.int32(50),
0405         Xmin = cms.double(60.0),
0406         Xmax = cms.double(160.0)
0407         ),
0408     pAL3DoubleMuZMass = cms.PSet(
0409         pathName = cms.string("HLT_PAL3DoubleMu10"),
0410         moduleName = cms.string("hltL3fL1sDoubleMu10BptxANDL1f0L2f10L3Filtered10"),
0411         plotLabel = cms.string("PAL3DoubleMu10_ZMass"),
0412         axisLabel = cms.string("dimuon mass [GeV]"),
0413         mainWorkspace = cms.bool(True),
0414         NbinsX = cms.int32(50),
0415         Xmin = cms.double(60.0),
0416         Xmax = cms.double(160.0)
0417         ),
0418     diElecMass = cms.PSet(
0419         pathName = cms.string("HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ"),
0420         moduleName = cms.string("hltEle23Ele12CaloIdLTrackIdLIsoVLDZFilter"),
0421         plotLabel = cms.string("di-Electron_Mass"),
0422         axisLabel = cms.string("di-electron mass [GeV]"),
0423         mainWorkspace = cms.bool(True),
0424         NbinsX = cms.int32(50),
0425         Xmin = cms.double(0),
0426         Xmax = cms.double(160)
0427         ),
0428     muonDxy = cms.PSet(
0429         pathName = cms.string("HLT_DoubleMu18NoFiltersNoVtx"),
0430         moduleName = cms.string("hltL3fDimuonL1f0L2NVf10L3NoFiltersNoVtxFiltered18"),
0431         plotLabel = cms.string("Muon_dxy"),
0432         axisLabel = cms.string("muon d_{xy} [mm]"),
0433         mainWorkspace = cms.bool(True),
0434         NbinsX = cms.int32(2000),
0435         Xmin = cms.double(-10),
0436         Xmax = cms.double(10)
0437         ),
0438     wallTime = cms.PSet(
0439         pathName = cms.string("wall time per event"),
0440         moduleName = cms.string(""),
0441         plotLabel = cms.string("wallTime"),
0442         axisLabel = cms.string("wall time per event [seconds]"),
0443         mainWorkspace = cms.bool(True),
0444         NbinsX = cms.int32(1000),
0445         Xmin = cms.double(0),
0446         Xmax = cms.double(0.005)
0447         )
0448 
0449 )