Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-23 00:28:14

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.BTaggingMonitor_cfi import hltBTVmonitoring
0004 
0005 # BTagMu AK4
0006 BTagMu_AK4DiJet20_Mu5 = hltBTVmonitoring.clone(
0007     FolderName = 'HLT/BTV/BTagMu_DiJet/BTagMu_AK4DiJet20_Mu5',
0008     nmuons = 1,
0009     nelectrons = 0,
0010     njets = 2,
0011     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0012     jetSelection = 'pt>10 & abs(eta)<2.4',
0013     bjetSelection = 'pt>5 & abs(eta)<2.4',
0014     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK4DiJet20_Mu5_v*']),
0015     histoPSet = dict(jetPtBinning = [0,10,15,20,30,50,70,100,150,200,400,700,1000,1500,3000])
0016 )
0017 
0018 BTagMu_AK4DiJet40_Mu5 = hltBTVmonitoring.clone(
0019     FolderName = 'HLT/BTV/BTagMu_DiJet/BTagMu_AK4DiJet40_Mu5',
0020     nmuons = 1,
0021     nelectrons = 0,
0022     njets = 2,
0023     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0024     jetSelection = 'pt>30 & abs(eta)<2.4',
0025     bjetSelection = 'pt>20 & abs(eta)<2.4',
0026     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK4DiJet40_Mu5_v*']),
0027     histoPSet = dict(jetPtBinning = [0,30,40,50,70,100,150,200,400,700,1000,1500,3000])
0028 )
0029 
0030 BTagMu_AK4DiJet70_Mu5 = hltBTVmonitoring.clone(
0031     FolderName = 'HLT/BTV/BTagMu_DiJet/BTagMu_AK4DiJet70_Mu5',
0032     nmuons = 1,
0033     nelectrons = 0,
0034     njets = 2,
0035     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0036     jetSelection = 'pt>50 & abs(eta)<2.4',
0037     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK4DiJet70_Mu5_v*']),
0038     histoPSet = dict(jetPtBinning = [0,50,60,70,80,90,100,150,200,400,700,1000,1500,3000])
0039 )
0040 
0041 BTagMu_AK4DiJet110_Mu5 = hltBTVmonitoring.clone(
0042     FolderName = 'HLT/BTV/BTagMu_DiJet/BTagMu_AK4DiJet110_Mu5',
0043     nmuons = 1,
0044     nelectrons = 0,
0045     njets = 2,
0046     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0047     jetSelection = 'pt>90 & abs(eta)<2.4',
0048     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK4DiJet110_Mu5_v*']),
0049     histoPSet = dict(jetPtBinning = [0,90,100,110,120,130,150,200,400,700,1000,1500,3000])
0050 )
0051 
0052 
0053 BTagMu_AK4DiJet170_Mu5 = hltBTVmonitoring.clone(
0054     FolderName = 'HLT/BTV/BTagMu_DiJet/BTagMu_AK4DiJet170_Mu5',
0055     nmuons = 1,
0056     nelectrons = 0,
0057     njets = 2,
0058     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0059     jetSelection = 'pt>150 & abs(eta)<2.4',
0060     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK4DiJet170_Mu5_v*']),
0061     histoPSet = dict(jetPtBinning = [0,150,160,170,180,190,200,400,700,1000,1500,3000])
0062 )
0063 
0064 
0065 BTagMu_AK4Jet300_Mu5 = hltBTVmonitoring.clone(
0066     FolderName = 'HLT/BTV/BTagMu_Jet/BTagMu_AK4Jet300_Mu5',
0067     nmuons = 1,
0068     nelectrons = 0,
0069     njets = 1,
0070     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0071     jetSelection = 'pt>250 & abs(eta)<2.4',
0072     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK4Jet300_Mu5_v*']),
0073     histoPSet = dict(jetPtBinning = [0,250,280,300,320,360,400,700,1000,1500,3000])
0074 )
0075 
0076 
0077 #BTagMu AK8
0078 BTagMu_AK8DiJet170_Mu5 = hltBTVmonitoring.clone(
0079     FolderName = 'HLT/BTV/BTagMu_DiJet/BTagMu_AK8DiJet170_Mu5',
0080     nmuons = 1,
0081     nelectrons = 0,
0082     njets = 2,
0083     jets = "ak8PFJetsPuppi",
0084     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0085     jetSelection = 'pt>150 & abs(eta)<2.4',
0086     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK8DiJet170_Mu5_v*']),
0087     histoPSet = dict(jetPtBinning = [0,150,160,170,180,190,200,400,700,1000,1500,3000])
0088 )
0089 
0090 
0091 BTagMu_AK8Jet300_Mu5 = hltBTVmonitoring.clone(
0092     FolderName = 'HLT/BTV/BTagMu_Jet/BTagMu_AK8Jet300_Mu5',
0093     nmuons = 1,
0094     nelectrons = 0,
0095     njets = 1,
0096     jets = "ak8PFJetsPuppi",
0097     muoSelection = 'pt>3 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0098     jetSelection = 'pt>250 & abs(eta)<2.4',
0099     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK8Jet300_Mu5_v*']),
0100     histoPSet = dict(jetPtBinning = [0,250,280,300,320,360,400,700,1000,1500,3000])
0101 )
0102 
0103 
0104 BTagMu_AK8Jet170_DoubleMu5 = hltBTVmonitoring.clone(
0105     FolderName = 'HLT/BTV/BTagDiMu_Jet/BTagMu_AK8Jet170_DoubleMu5',
0106     nmuons = 2,
0107     nelectrons = 0,
0108     njets = 1,
0109     jets = "ak8PFJetsPuppi",
0110     muoSelection = 'pt>7 & abs(eta)<2.4 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.numberOfValidTrackerHits>7 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & numberOfMatchedStations>1 &globalTrack.normalizedChi2<10',
0111     jetSelection = 'pt>150 & abs(eta)<2.4',
0112     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_BTagMu_AK8Jet170_DoubleMu5_v*']),
0113     histoPSet = dict(jetPtBinning = [0,150,160,170,180,190,200,400,700,1000,1500,3000])
0114 )
0115 
0116 # PFJet AK4
0117 PFJet40 = hltBTVmonitoring.clone(
0118     FolderName = 'HLT/BTV/PFJet/PFJet40',
0119     nmuons = 0,
0120     nelectrons = 0,
0121     njets = 1,
0122     jetSelection = 'pt>30 & abs(eta)<2.4',
0123     bjetSelection = 'pt>20 & abs(eta)<2.4',
0124     histoPSet = dict(jetPtBinning = [0,30,35,40,45,50,60,70,100,150,200,400,700,1000,1500,3000]),
0125     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFJet40_v*'])
0126 )
0127 
0128 # PFJet AK8
0129 AK8PFJet40 = hltBTVmonitoring.clone(
0130     FolderName = 'HLT/BTV/PFJet/AK8PFJet40',
0131     nmuons = 0,
0132     nelectrons = 0,
0133     njets = 1,
0134     jets = "ak8PFJetsPuppi",
0135     jetSelection = 'pt>30 & abs(eta)<2.4',
0136     bjetSelection = 'pt>20 & abs(eta)<2.4',
0137     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_AK8PFJet40_v*']),
0138     histoPSet = dict(jetPtBinning = [0,30,35,40,45,50,60,70,100,150,200,400,700,1000,1500,3000])
0139 )
0140 
0141 # PFJetFwd AK4
0142 PFJetFwd40 = hltBTVmonitoring.clone(
0143     FolderName = 'HLT/BTV/PFJet/PFJetFwd40',
0144     nmuons = 0,
0145     nelectrons = 0,
0146     njets = 1,
0147     jetSelection = 'pt>30 & abs(eta)>2.7 & abs(eta)<5.0',
0148     bjetSelection = 'pt>20 & abs(eta)>2.7 & abs(eta)<5.0',
0149     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFJetFwd40_v*']),
0150     histoPSet = dict(
0151         jetPtBinning = [0,30,35,40,45,50,60,70,100,150,200,400,700,1000,1500,3000],
0152         jetEtaBinning = [-5.0,-4.7,-4.4,-4.1,-3.8,-3.5,-3.2,-2.9,-2.7,-2.4,-2.1,0.0,2.1,2.4,2.7,2.9,3.2,3.5,3.8,4.1,4.4,4.7,5.0],
0153         jetEtaBinning2D = [-5.0,-4.7,-4.4,-4.1,-3.8,-3.5,-3.2,-2.9,-2.7,-2.4,-2.1,0.0,2.1,2.4,2.7,2.9,3.2,3.5,3.8,4.1,4.4,4.7,5.0],
0154         etaPSet = dict(nbins=50, xmin=-5.0, xmax=5.0)
0155     )
0156 )
0157 
0158 # PFJetFwd AK8
0159 AK8PFJetFwd40 = hltBTVmonitoring.clone(
0160     FolderName = 'HLT/BTV/PFJet/AK8PFJetFwd40',
0161     nmuons = 0,
0162     nelectrons = 0,
0163     njets = 1,
0164     jets = "ak8PFJetsPuppi",
0165     jetSelection = 'pt>30 & abs(eta)>2.7 & abs(eta)<5.0',
0166     bjetSelection = 'pt>20 & abs(eta)>2.7 & abs(eta)<5.0',
0167     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_AK8PFJetFwd40_v*']),
0168     histoPSet = dict(
0169         jetPtBinning = [0,30,35,40,45,50,60,70,100,150,200,400,700,1000,1500,3000],
0170         jetEtaBinning = [-5.0,-4.7,-4.4,-4.1,-3.8,-3.5,-3.2,-2.9,-2.7,-2.4,-2.1,0.0,2.1,2.4,2.7,2.9,3.2,3.5,3.8,4.1,4.4,4.7,5.0],
0171         jetEtaBinning2D = [-5.0,-4.7,-4.4,-4.1,-3.8,-3.5,-3.2,-2.9,-2.7,-2.4,-2.1,0.0,2.1,2.4,2.7,2.9,3.2,3.5,3.8,4.1,4.4,4.7,5.0],
0172         etaPSet = dict(nbins=50, xmin=-5.0, xmax=5.0)
0173     )
0174 )
0175 
0176 ### Sequences
0177 
0178 btagMonitorHLT = cms.Sequence(
0179     BTagMu_AK4DiJet20_Mu5
0180   + BTagMu_AK4DiJet40_Mu5
0181   + BTagMu_AK4DiJet70_Mu5
0182   + BTagMu_AK4DiJet110_Mu5
0183   + BTagMu_AK4DiJet170_Mu5
0184   + BTagMu_AK8DiJet170_Mu5
0185   + BTagMu_AK8Jet170_DoubleMu5
0186   + BTagMu_AK4Jet300_Mu5
0187   + BTagMu_AK8Jet300_Mu5
0188 )
0189 
0190 btvHLTDQMSourceExtra = cms.Sequence(
0191     PFJet40
0192   + AK8PFJet40
0193   + PFJetFwd40
0194   + AK8PFJetFwd40
0195 )