Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #setup names for multiple plots that use the same paths+modules
0004 caloJet_pathName = "HLT_PAAK4CaloJet40_Eta5p1"
0005 caloJet_moduleName = "hltSinglePAAK4CaloJet40Eta5p1"
0006 
0007 pfJet_pathName = "HLT_PAAK4PFJet40_Eta5p1" 
0008 pfJet_moduleName = "hltSinglePAAK4PFJet40Eta5p1"
0009 
0010 diCaloJet_pathName = "HLT_PADiAK4CaloJetAve40_Eta5p1" 
0011 diCaloJet_moduleName = "hltDiAk4CaloJetAve40Eta5p1"
0012 
0013 diPfJet_pathName = "HLT_PADiAK4PFJetAve40_Eta5p1" 
0014 diPfJet_moduleName = "hltDiAk4PFJetAve40Eta5p1"
0015 
0016 photon_pathName = "HLT_PASinglePhoton10_Eta3p1" 
0017 photon_moduleName = "hltHIPhoton10Eta3p1"
0018 
0019 photonPP_pathName = "HLT_PAPhoton10_Eta3p1_PPStyle" 
0020 photonPP_moduleName = "hltEGBptxAND10HEFilter"
0021 
0022 caloBJet_pathName = "HLT_PAAK4CaloBJetCSV40_Eta2p1" 
0023 caloBJet_moduleName = "hltPABLifetimeL3FilterCSVCaloJet40Eta2p1"
0024 
0025 pfBJet_pathName = "HLT_PAAK4PFBJetCSV40_Eta2p1" 
0026 pfBJet_moduleName = "hltBTagPFCSVp016SingleWithMatching40"
0027 
0028 electron_pathName = "HLT_PAEle20_WPLoose_Gsf" 
0029 electron_moduleName = "hltPAEle20WPLooseGsfTrackIsoFilter"
0030 
0031 l3muon3_pathName = "HLT_PAL3Mu3" 
0032 l3muon3_moduleName = "hltL3fL1sSingleMu3BptxANDL1f0L2f0L3Filtered3"
0033 
0034 l2muon12_pathName = "HLT_PAL2Mu12" 
0035 l2muon12_moduleName = "hltL2fL1sSingleMu7BptxANDL1f0L2Filtered12"
0036 
0037 l3muon12_pathName = "HLT_PAL3Mu12" 
0038 l3muon12_moduleName = "hltL3fL1sSingleMu7BptxANDL1f0L2f0L3Filtered12"
0039 
0040 #To avoid booking histogram, set pathName = cms.string("")
0041 
0042 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0043 hltObjectMonitorProtonLead = DQMEDAnalyzer('HLTObjectMonitorProtonLead',
0044     processName         = cms.string("HLT"),
0045     triggerResults      = cms.InputTag("TriggerResults", "", "HLT"),
0046     triggerEvent        = cms.InputTag("hltTriggerSummaryAOD", "", "HLT"),
0047     caloAK4JetPt = cms.PSet(
0048         pathName = cms.string(caloJet_pathName),
0049         moduleName = cms.string(caloJet_moduleName),
0050         plotLabel = cms.string("caloAK4Jet_pT"),
0051         axisLabel = cms.string("caloAK4Jet p_{T} [GeV]"),
0052         mainWorkspace = cms.bool(True),
0053         NbinsX = cms.int32(60),
0054         Xmin = cms.double(0),
0055         Xmax = cms.double(120)
0056         ),
0057     caloAK4JetEta = cms.PSet(
0058         pathName = cms.string(caloJet_pathName),
0059         moduleName = cms.string(caloJet_moduleName),
0060         plotLabel = cms.string("caloAK4Jet_eta"),
0061         axisLabel = cms.string("caloAK4Jet eta"),
0062         mainWorkspace = cms.bool(True),
0063         NbinsX = cms.int32(75),
0064         Xmin = cms.double(-5.2),
0065         Xmax = cms.double(5.2)
0066         ),
0067     caloAK4JetPhi = cms.PSet(
0068         pathName = cms.string(caloJet_pathName),
0069         moduleName = cms.string(caloJet_moduleName),
0070         plotLabel = cms.string("caloAK4Jet_phi"),
0071         axisLabel = cms.string("caloAK4Jet phi"),
0072         mainWorkspace = cms.bool(True),
0073         NbinsX = cms.int32(50),
0074         Xmin = cms.double(-3.2),
0075         Xmax = cms.double(3.2)
0076         ),
0077     pfAK4JetPt = cms.PSet(
0078         pathName = cms.string(pfJet_pathName),
0079         moduleName = cms.string(pfJet_moduleName),
0080         plotLabel = cms.string("pfAK4Jet_pT"),
0081         axisLabel = cms.string("pfAK4Jet p_{T} [GeV]"),
0082         mainWorkspace = cms.bool(True),
0083         NbinsX = cms.int32(60),
0084         Xmin = cms.double(0),
0085         Xmax = cms.double(120)
0086         ),
0087     pfAK4JetEta = cms.PSet(
0088         pathName = cms.string(pfJet_pathName),
0089         moduleName = cms.string(pfJet_moduleName),
0090         plotLabel = cms.string("pfAK4Jet_eta"),
0091         axisLabel = cms.string("pfAK4Jet eta"),
0092         mainWorkspace = cms.bool(True),
0093         NbinsX = cms.int32(75),
0094         Xmin = cms.double(-5.2),
0095         Xmax = cms.double(5.2)
0096         ),
0097     pfAK4JetPhi = cms.PSet(
0098         pathName = cms.string(pfJet_pathName),
0099         moduleName = cms.string(pfJet_moduleName),
0100         plotLabel = cms.string("pfAK4Jet_phi"),
0101         axisLabel = cms.string("pfAK4Jet phi"),
0102         mainWorkspace = cms.bool(True),
0103         NbinsX = cms.int32(50),
0104         Xmin = cms.double(-3.2),
0105         Xmax = cms.double(3.2)
0106         ),
0107     caloDiAK4JetPt = cms.PSet(
0108         pathName = cms.string(diCaloJet_pathName),
0109         moduleName = cms.string(diCaloJet_moduleName),
0110         plotLabel = cms.string("caloDiAK4Jet_pT"),
0111         axisLabel = cms.string("caloDiAK4Jet p_{T} [GeV]"),
0112         mainWorkspace = cms.bool(True),
0113         NbinsX = cms.int32(60),
0114         Xmin = cms.double(0),
0115         Xmax = cms.double(120)
0116         ),
0117     caloDiAK4JetEta = cms.PSet(
0118         pathName = cms.string(diCaloJet_pathName),
0119         moduleName = cms.string(diCaloJet_moduleName),
0120         plotLabel = cms.string("caloDiAK4Jet_eta"),
0121         axisLabel = cms.string("caloDiAK4Jet eta"),
0122         mainWorkspace = cms.bool(True),
0123         NbinsX = cms.int32(75),
0124         Xmin = cms.double(-5.2),
0125         Xmax = cms.double(5.2)
0126         ),
0127     caloDiAK4JetPhi = cms.PSet(
0128         pathName = cms.string(diCaloJet_pathName),
0129         moduleName = cms.string(diCaloJet_moduleName),
0130         plotLabel = cms.string("caloDiAK4Jet_phi"),
0131         axisLabel = cms.string("caloDiAK4Jet phi"),
0132         mainWorkspace = cms.bool(True),
0133         NbinsX = cms.int32(50),
0134         Xmin = cms.double(-3.2),
0135         Xmax = cms.double(3.2)
0136         ),
0137     pfDiAK4JetPt = cms.PSet(
0138         pathName = cms.string(diPfJet_pathName),
0139         moduleName = cms.string(diPfJet_moduleName),
0140         plotLabel = cms.string("pfDiAK4Jet_pT"),
0141         axisLabel = cms.string("pfDiAK4Jet p_{T} [GeV]"),
0142         mainWorkspace = cms.bool(True),
0143         NbinsX = cms.int32(60),
0144         Xmin = cms.double(0),
0145         Xmax = cms.double(120)
0146         ),
0147     pfDiAK4JetEta = cms.PSet(
0148         pathName = cms.string(diPfJet_pathName),
0149         moduleName = cms.string(diPfJet_moduleName),
0150         plotLabel = cms.string("pfDiAK4Jet_eta"),
0151         axisLabel = cms.string("pfDiAK4Jet eta"),
0152         mainWorkspace = cms.bool(True),
0153         NbinsX = cms.int32(75),
0154         Xmin = cms.double(-5.2),
0155         Xmax = cms.double(5.2)
0156         ),
0157     pfDiAK4JetPhi = cms.PSet(
0158         pathName = cms.string(diPfJet_pathName),
0159         moduleName = cms.string(diPfJet_moduleName),
0160         plotLabel = cms.string("pfDiAK4Jet_phi"),
0161         axisLabel = cms.string("pfDiAK4Jet phi"),
0162         mainWorkspace = cms.bool(True),
0163         NbinsX = cms.int32(50),
0164         Xmin = cms.double(-3.2),
0165         Xmax = cms.double(3.2)
0166         ),
0167     photonPt = cms.PSet(
0168         pathName = cms.string(photon_pathName),
0169         moduleName = cms.string(photon_moduleName),
0170         plotLabel = cms.string("Photon_pT"),
0171         axisLabel = cms.string("photon p_{T} [GeV]"),
0172         mainWorkspace = cms.bool(True),
0173         NbinsX = cms.int32(40),
0174         Xmin = cms.double(0),
0175         Xmax = cms.double(80)
0176         ),
0177     photonEta = cms.PSet(
0178         pathName = cms.string(photon_pathName),
0179         moduleName = cms.string(photon_moduleName),
0180         plotLabel = cms.string("Photon_eta"),
0181         axisLabel = cms.string("photon eta"),
0182         mainWorkspace = cms.bool(True),
0183         NbinsX = cms.int32(50),
0184         Xmin = cms.double(-3.2),
0185         Xmax = cms.double(3.2)
0186         ),
0187     photonPhi = cms.PSet(
0188         pathName = cms.string(photon_pathName),
0189         moduleName = cms.string(photon_moduleName),
0190         plotLabel = cms.string("Photon_phi"),
0191         axisLabel = cms.string("photon phi"),
0192         mainWorkspace = cms.bool(True),
0193         NbinsX = cms.int32(50),
0194         Xmin = cms.double(-3.2),
0195         Xmax = cms.double(3.2)
0196         ),
0197     photonPPPt = cms.PSet(
0198         pathName = cms.string(photonPP_pathName),
0199         moduleName = cms.string(photonPP_moduleName),
0200         plotLabel = cms.string("PhotonPP_pT"),
0201         axisLabel = cms.string("photonPP p_{T} [GeV]"),
0202         mainWorkspace = cms.bool(True),
0203         NbinsX = cms.int32(40),
0204         Xmin = cms.double(0),
0205         Xmax = cms.double(80)
0206         ),
0207     photonPPEta = cms.PSet(
0208         pathName = cms.string(photonPP_pathName),
0209         moduleName = cms.string(photonPP_moduleName),
0210         plotLabel = cms.string("PhotonPP_eta"),
0211         axisLabel = cms.string("photonPP eta"),
0212         mainWorkspace = cms.bool(True),
0213         NbinsX = cms.int32(50),
0214         Xmin = cms.double(-3.2),
0215         Xmax = cms.double(3.2)
0216         ),
0217     photonPPPhi = cms.PSet(
0218         pathName = cms.string(photonPP_pathName),
0219         moduleName = cms.string(photonPP_moduleName),
0220         plotLabel = cms.string("PhotonPP_phi"),
0221         axisLabel = cms.string("photonPP phi"),
0222         mainWorkspace = cms.bool(True),
0223         NbinsX = cms.int32(50),
0224         Xmin = cms.double(-3.2),
0225         Xmax = cms.double(3.2)
0226         ),
0227 
0228     caloBJetPt = cms.PSet(
0229         pathName = cms.string(caloBJet_pathName),
0230         moduleName = cms.string(caloBJet_moduleName),
0231         plotLabel = cms.string("caloBJet_pT"),
0232         axisLabel = cms.string("caloBJet p_{T} [GeV]"),
0233         mainWorkspace = cms.bool(True),
0234         NbinsX = cms.int32(60),
0235         Xmin = cms.double(0),
0236         Xmax = cms.double(120)
0237         ),
0238     caloBJetEta = cms.PSet(
0239         pathName = cms.string(caloBJet_pathName),
0240         moduleName = cms.string(caloBJet_moduleName),
0241         plotLabel = cms.string("caloBJet_eta"),
0242         axisLabel = cms.string("caloBJet eta"),
0243         mainWorkspace = cms.bool(True),
0244         NbinsX = cms.int32(40),
0245         Xmin = cms.double(-2.2),
0246         Xmax = cms.double(2.2)
0247         ),
0248     caloBJetPhi = cms.PSet(
0249         pathName = cms.string(caloBJet_pathName),
0250         moduleName = cms.string(caloBJet_moduleName),
0251         plotLabel = cms.string("caloBJet_phi"),
0252         axisLabel = cms.string("caloBJet phi"),
0253         mainWorkspace = cms.bool(True),
0254         NbinsX = cms.int32(50),
0255         Xmin = cms.double(-3.2),
0256         Xmax = cms.double(3.2)
0257         ),
0258     pfBJetPt = cms.PSet(
0259         pathName = cms.string(pfBJet_pathName),
0260         moduleName = cms.string(pfBJet_moduleName),
0261         plotLabel = cms.string("pfBJet_pT"),
0262         axisLabel = cms.string("pfBJet p_{T} [GeV]"),
0263         mainWorkspace = cms.bool(True),
0264         NbinsX = cms.int32(60),
0265         Xmin = cms.double(0),
0266         Xmax = cms.double(120)
0267         ),
0268     pfBJetEta = cms.PSet(
0269         pathName = cms.string(pfBJet_pathName),
0270         moduleName = cms.string(pfBJet_moduleName),
0271         plotLabel = cms.string("pfBJet_eta"),
0272         axisLabel = cms.string("pfBJet eta"),
0273         mainWorkspace = cms.bool(True),
0274         NbinsX = cms.int32(40),
0275         Xmin = cms.double(-2.2),
0276         Xmax = cms.double(2.2)
0277         ),
0278     pfBJetPhi = cms.PSet(
0279         pathName = cms.string(pfBJet_pathName),
0280         moduleName = cms.string(pfBJet_moduleName),
0281         plotLabel = cms.string("pfBJet_phi"),
0282         axisLabel = cms.string("pfBJet phi"),
0283         mainWorkspace = cms.bool(True),
0284         NbinsX = cms.int32(50),
0285         Xmin = cms.double(-3.2),
0286         Xmax = cms.double(3.2)
0287         ),
0288     electronPt = cms.PSet(
0289         pathName = cms.string(electron_pathName),
0290         moduleName = cms.string(electron_moduleName),
0291         plotLabel = cms.string("Electron_pT"),
0292         axisLabel = cms.string("electron p_{T} [GeV]"),
0293         mainWorkspace = cms.bool(True),
0294         NbinsX = cms.int32(40),
0295         Xmin = cms.double(0),
0296         Xmax = cms.double(80)
0297         ),
0298     electronEta = cms.PSet(
0299         pathName = cms.string(electron_pathName),
0300         moduleName = cms.string(electron_moduleName),
0301         plotLabel = cms.string("Electron_eta"),
0302         axisLabel = cms.string("electron eta"),
0303         mainWorkspace = cms.bool(True),
0304         NbinsX = cms.int32(50),
0305         Xmin = cms.double(-2.6),
0306         Xmax = cms.double(2.6)
0307         ),
0308     electronPhi = cms.PSet(
0309         pathName = cms.string(electron_pathName),
0310         moduleName = cms.string(electron_moduleName),
0311         plotLabel = cms.string("Electron_phi"),
0312         axisLabel = cms.string("electron phi"),
0313         mainWorkspace = cms.bool(True),
0314         NbinsX = cms.int32(50),
0315         Xmin = cms.double(-3.4),
0316         Xmax = cms.double(3.4)
0317         ),
0318     l3muon3Pt = cms.PSet(
0319         pathName = cms.string(l3muon3_pathName),
0320         moduleName = cms.string(l3muon3_moduleName),
0321         plotLabel = cms.string("l3muon3_pT"),
0322         axisLabel = cms.string("l3muon3 p_{T} [GeV]"),
0323         mainWorkspace = cms.bool(True),
0324         NbinsX = cms.int32(25),
0325         Xmin = cms.double(0),
0326         Xmax = cms.double(50)
0327         ),
0328     l3muon3Eta = cms.PSet(
0329         pathName = cms.string(l3muon3_pathName),
0330         moduleName = cms.string(l3muon3_moduleName),
0331         plotLabel = cms.string("l3muon3_eta"),
0332         axisLabel = cms.string("l3muon3 eta"),
0333         mainWorkspace = cms.bool(True),
0334         NbinsX = cms.int32(40),
0335         Xmin = cms.double(-2.5),
0336         Xmax = cms.double(2.5)
0337         ),
0338     l3muon3Phi = cms.PSet(
0339         pathName = cms.string(l3muon3_pathName),
0340         moduleName = cms.string(l3muon3_moduleName),
0341         plotLabel = cms.string("l3muon3_phi"),
0342         axisLabel = cms.string("l3muon3 phi"),
0343         mainWorkspace = cms.bool(True),
0344         NbinsX = cms.int32(50),
0345         Xmin = cms.double(-3.2),
0346         Xmax = cms.double(3.2)
0347         ),
0348     l2muon12Pt = cms.PSet(
0349         pathName = cms.string(l2muon12_pathName),
0350         moduleName = cms.string(l2muon12_moduleName),
0351         plotLabel = cms.string("l2muon12_pT"),
0352         axisLabel = cms.string("l2muon12 p_{T} [GeV]"),
0353         mainWorkspace = cms.bool(True),
0354         NbinsX = cms.int32(25),
0355         Xmin = cms.double(0),
0356         Xmax = cms.double(50)
0357         ),
0358     l2muon12Eta = cms.PSet(
0359         pathName = cms.string(l2muon12_pathName),
0360         moduleName = cms.string(l2muon12_moduleName),
0361         plotLabel = cms.string("l2muon12_eta"),
0362         axisLabel = cms.string("l2muon12 eta"),
0363         mainWorkspace = cms.bool(True),
0364         NbinsX = cms.int32(40),
0365         Xmin = cms.double(-2.5),
0366         Xmax = cms.double(2.5)
0367         ),
0368     l2muon12Phi = cms.PSet(
0369         pathName = cms.string(l2muon12_pathName),
0370         moduleName = cms.string(l2muon12_moduleName),
0371         plotLabel = cms.string("l2muon12_phi"),
0372         axisLabel = cms.string("l2muon12 phi"),
0373         mainWorkspace = cms.bool(True),
0374         NbinsX = cms.int32(50),
0375         Xmin = cms.double(-3.2),
0376         Xmax = cms.double(3.2)
0377         ),
0378     l3muon12Pt = cms.PSet(
0379         pathName = cms.string(l3muon12_pathName),
0380         moduleName = cms.string(l3muon12_moduleName),
0381         plotLabel = cms.string("l3muon12_pT"),
0382         axisLabel = cms.string("l3muon12 p_{T} [GeV]"),
0383         mainWorkspace = cms.bool(True),
0384         NbinsX = cms.int32(25),
0385         Xmin = cms.double(0),
0386         Xmax = cms.double(50)
0387         ),
0388     l3muon12Eta = cms.PSet(
0389         pathName = cms.string(l3muon12_pathName),
0390         moduleName = cms.string(l3muon12_moduleName),
0391         plotLabel = cms.string("l3muon12_eta"),
0392         axisLabel = cms.string("l3muon12 eta"),
0393         mainWorkspace = cms.bool(True),
0394         NbinsX = cms.int32(40),
0395         Xmin = cms.double(-2.5),
0396         Xmax = cms.double(2.5)
0397         ),
0398     l3muon12Phi = cms.PSet(
0399         pathName = cms.string(l3muon12_pathName),
0400         moduleName = cms.string(l3muon12_moduleName),
0401         plotLabel = cms.string("l3muon12_phi"),
0402         axisLabel = cms.string("l3muon12 phi"),
0403         mainWorkspace = cms.bool(True),
0404         NbinsX = cms.int32(50),
0405         Xmin = cms.double(-3.2),
0406         Xmax = cms.double(3.2)
0407         ),
0408     pAL1DoubleMuZMass = cms.PSet(
0409     pathName = cms.string("HLT_PAL1DoubleMu10"),
0410     moduleName = cms.string("hltL1fL1sDoubleMu10BptxANDL1Filtered0"),
0411     plotLabel = cms.string("PAL1DoubleMu10_ZMass"),
0412     axisLabel = cms.string("L1 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     pAL2DoubleMuZMass = cms.PSet(
0419     pathName = cms.string("HLT_PAL2DoubleMu10"),
0420     moduleName = cms.string("hltL2fL1sDoubleMu10BptxANDL1f0L2Filtered10"),
0421     plotLabel = cms.string("PAL2DoubleMu10_ZMass"),
0422     axisLabel = cms.string("L2 dimuon mass [GeV]"),
0423     mainWorkspace = cms.bool(True),
0424     NbinsX = cms.int32(50),
0425     Xmin = cms.double(60.0),
0426     Xmax = cms.double(160.0)
0427     ),
0428     pAL3DoubleMuZMass = cms.PSet(
0429     pathName = cms.string("HLT_PAL3DoubleMu10"),
0430     moduleName = cms.string("hltL3fL1sDoubleMu10BptxANDL1f0L2f10L3Filtered10"),
0431     plotLabel = cms.string("PAL3DoubleMu10_ZMass"),
0432     axisLabel = cms.string("L3 dimuon mass [GeV]"),
0433     mainWorkspace = cms.bool(True),
0434     NbinsX = cms.int32(50),
0435     Xmin = cms.double(60.0),
0436     Xmax = cms.double(160.0)
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 )