Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 jetMETHLTOfflineSourceAK4 = DQMEDAnalyzer(
0005     "JetMETHLTOfflineSource",
0006     dirname = cms.untracked.string("HLT/JME/Jets/AK4"),
0007     #
0008     processname = cms.string("HLT"),
0009     triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
0010     triggerResultsLabel = cms.InputTag("TriggerResults","","HLT"),
0011     pathnameMuon = cms.untracked.vstring("HLT_IsoMu24_IterTrk02_v"),
0012     pathnameMB = cms.untracked.vstring("HLT_Physics_v"),
0013     #
0014     verbose = cms.untracked.bool(False),
0015     runStandalone = cms.untracked.bool(False),
0016     #
0017     plotAll      = cms.untracked.bool(True),
0018     plotEff      = cms.untracked.bool(True),
0019     nameForEff   = cms.untracked.bool(True),
0020     #
0021     CaloMETCollectionLabel = cms.InputTag("caloMet"),
0022     PFMETCollectionLabel   = cms.InputTag("pfMet"),
0023     #Use on-the-fly correction
0024     CaloJetCollectionLabel = cms.InputTag("ak4CaloJets"),
0025     PFJetCollectionLabel   = cms.InputTag("ak4PFJets"),
0026     CaloJetCorLabel      = cms.InputTag("ak4CaloL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
0027     PFJetCorLabel        = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
0028     #
0029     fEMF       = cms.untracked.double(0.01),
0030     feta       = cms.untracked.double(2.6),
0031     fHPD       = cms.untracked.double(0.98),
0032     n90Hits    = cms.untracked.double(1),
0033     minNHEF    = cms.untracked.double(0.),
0034     maxNHEF    = cms.untracked.double(1.),
0035     minCHEF    = cms.untracked.double(0.),
0036     maxCHEF    = cms.untracked.double(1.),
0037     minNEMF    = cms.untracked.double(0.),
0038     maxNEMF    = cms.untracked.double(1.),
0039     minCEMF    = cms.untracked.double(0.),
0040     maxCEMF    = cms.untracked.double(1.),
0041     #
0042     pathFilter = cms.untracked.vstring("HLT_CaloJet",
0043                                        "HLT_PFJet",
0044                                        "HLT_PFNoPUJet",
0045                                        "HLT_DiPFJetAve",
0046                                        "HLT_DiCaloJetAve",
0047                                        "HLT_PFMET",
0048                                        "HLT_PFchMET",
0049                                        "HLT_MET",
0050                                        "HLT_CaloMET"),
0051     pathRejectKeyword = cms.untracked.vstring("dEdx","NoBPTX"),
0052     #
0053     pathPairs = cms.VPSet(
0054         cms.PSet(
0055             pathname = cms.string("HLT_PFJet60_v"),
0056             denompathname = cms.string("HLT_PFJet40_v"),
0057         ),
0058         cms.PSet(
0059             pathname = cms.string("HLT_PFJet80_v"),
0060             denompathname = cms.string("HLT_PFJet60_v"),
0061         ),
0062         cms.PSet(
0063             pathname = cms.string("HLT_PFJet140_v"),
0064             denompathname = cms.string("HLT_PFJet80_v"),
0065         ),
0066         cms.PSet(
0067             pathname = cms.string("HLT_PFJet200_v"),
0068             denompathname = cms.string("HLT_PFJet140_v"),
0069         ),
0070         cms.PSet(
0071             pathname = cms.string("HLT_PFJet260_v"),
0072             denompathname = cms.string("HLT_PFJet200_v"),
0073         ),
0074         cms.PSet(
0075             pathname = cms.string("HLT_PFJet320_v"),
0076             denompathname = cms.string("HLT_PFJet260_v"),
0077         ),
0078         cms.PSet(
0079             pathname = cms.string("HLT_PFJet400_v"),
0080             denompathname = cms.string("HLT_PFJet320_v"),
0081         ),
0082         cms.PSet(
0083             pathname = cms.string("HLT_PFJet450_v"),
0084             denompathname = cms.string("HLT_PFJet400_v"),
0085         ),
0086         cms.PSet(
0087             pathname = cms.string("HLT_PFJet500_v"),
0088             denompathname = cms.string("HLT_PFJet450_v"),
0089         )
0090     ),
0091     #
0092     JetIDParams  = cms.PSet(
0093         useRecHits      = cms.bool(True),
0094         hbheRecHitsColl = cms.InputTag("hbhereco"),
0095         hoRecHitsColl   = cms.InputTag("horeco"),
0096         hfRecHitsColl   = cms.InputTag("hfreco"),
0097         ebRecHitsColl   = cms.InputTag("ecalRecHit", "EcalRecHitsEB"),
0098         eeRecHitsColl   = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
0099         )
0100 )
0101 
0102 
0103 jetMETHLTOfflineSourceAK8 = jetMETHLTOfflineSourceAK4.clone(
0104     dirname = 'HLT/JME/Jets/AK8',
0105     #    CaloJetCollectionLabel = "ak4CaloJets", #ak8 not available in RECO anymore, so keep ak4...
0106     #    PFJetCollectionLabel   = "ak8PFJetsPuppi", # does not work in all matrix tests, yet
0107     #    PFJetCorLabel        = "ak8PFCHSL1FastjetL2L3ResidualCorrector", # does not work in all matrix tests, yet 
0108     PFJetCollectionLabel   = "ak4PFJets",
0109     PFJetCorLabel        = "ak4PFL1FastL2L3ResidualCorrector", #dummy residual corrections now also provided for MC GTs 
0110     pathFilter = ['HLT_AK8PFJet'],
0111 
0112     pathPairs = cms.VPSet(cms.PSet(
0113         denompathname = cms.string('HLT_AK8PFJet40_v'),
0114         pathname = cms.string('HLT_AK8PFJet60_v')
0115     ), 
0116         cms.PSet(
0117             denompathname = cms.string('HLT_AK8PFJet60_v'),
0118             pathname = cms.string('HLT_AK8PFJet80_v')
0119         ), 
0120         cms.PSet(
0121             denompathname = cms.string('HLT_AK8PFJet80_v'),
0122             pathname = cms.string('HLT_AK8PFJet140_v')
0123         ), 
0124         cms.PSet(
0125             denompathname = cms.string('HLT_AK8PFJet140_v'),
0126             pathname = cms.string('HLT_AK8PFJet200_v')
0127         ), 
0128         cms.PSet(
0129             denompathname = cms.string('HLT_AK8PFJet200_v'),
0130             pathname = cms.string('HLT_AK8PFJet260_v')
0131         ), 
0132         cms.PSet(
0133             denompathname = cms.string('HLT_AK8PFJet260_v'),
0134             pathname = cms.string('HLT_AK8PFJet320_v')
0135         ), 
0136         cms.PSet(
0137             denompathname = cms.string('HLT_AK8PFJet320_v'),
0138             pathname = cms.string('HLT_AK8PFJet400_v')
0139         ), 
0140         cms.PSet(
0141             denompathname = cms.string('HLT_AK8PFJet400_v'),
0142             pathname = cms.string('HLT_AK8PFJet450_v')
0143         ), 
0144         cms.PSet(
0145             denompathname = cms.string('HLT_AK8PFJet450_v'),
0146             pathname = cms.string('HLT_AK8PFJet500_v')
0147         )),
0148 
0149 )
0150 
0151 jetMETHLTOfflineSourceAK8Fwd = jetMETHLTOfflineSourceAK4.clone(
0152     dirname = 'HLT/JME/Jets/AK8Fwd',
0153     PFJetCollectionLabel   = "ak4PFJets",
0154     PFJetCorLabel        = "ak4PFL1FastL2L3ResidualCorrector", #dummy residual corrections now also provided for MC GTs
0155     pathFilter = ['HLT_AK8PFJetFwd'],
0156 
0157     pathPairs = cms.VPSet(cms.PSet(
0158         denompathname = cms.string('HLT_AK8PFJetFwd40_v'),
0159         pathname = cms.string('HLT_AK8PFJetFwd60_v')
0160     ), 
0161         cms.PSet(
0162             denompathname = cms.string('HLT_AK8PFJetFwd60_v'),
0163             pathname = cms.string('HLT_AK8PFJetFwd80_v')
0164         ), 
0165         cms.PSet(
0166             denompathname = cms.string('HLT_AK8PFJetFwd80_v'),
0167             pathname = cms.string('HLT_AK8PFJetFwd140_v')
0168         ), 
0169         cms.PSet(
0170             denompathname = cms.string('HLT_AK8PFJetFwd140_v'),
0171             pathname = cms.string('HLT_AK8PFJetFwd200_v')
0172         ), 
0173         cms.PSet(
0174             denompathname = cms.string('HLT_AK8PFJetFwd200_v'),
0175             pathname = cms.string('HLT_AK8PFJetFwd260_v')
0176         ), 
0177         cms.PSet(
0178             denompathname = cms.string('HLT_AK8PFJetFwd260_v'),
0179             pathname = cms.string('HLT_AK8PFJetFwd320_v')
0180         ), 
0181         cms.PSet(
0182             denompathname = cms.string('HLT_AK8PFJetFwd320_v'),
0183             pathname = cms.string('HLT_AK8PFJetFwd400_v')
0184         ), 
0185         cms.PSet(
0186             denompathname = cms.string('HLT_AK8PFJetFwd400_v'),
0187             pathname = cms.string('HLT_AK8PFJetFwd450_v')
0188         ), 
0189         cms.PSet(
0190             denompathname = cms.string('HLT_AK8PFJetFwd450_v'),
0191             pathname = cms.string('HLT_AK8PFJetFwd500_v')
0192         )),
0193 
0194 )
0195 
0196 jetMETHLTOfflineSourceAK4Fwd = jetMETHLTOfflineSourceAK4.clone(
0197     dirname = 'HLT/JME/Jets/AK4Fwd',
0198     PFJetCollectionLabel   = "ak4PFJets",
0199     PFJetCorLabel        = "ak4PFL1FastL2L3ResidualCorrector", #dummy residual corrections now also provided for MC GTs
0200     pathFilter = ['HLT_PFJetFwd'],
0201 
0202     pathPairs = cms.VPSet(cms.PSet(
0203         denompathname = cms.string('HLT_PFJetFwd40_v'),
0204         pathname = cms.string('HLT_PFJetFwd60_v')
0205     ), 
0206         cms.PSet(
0207             denompathname = cms.string('HLT_PFJetFwd60_v'),
0208             pathname = cms.string('HLT_PFJetFwd80_v')
0209         ), 
0210         cms.PSet(
0211             denompathname = cms.string('HLT_PFJetFwd80_v'),
0212             pathname = cms.string('HLT_PFJetFwd140_v')
0213         ), 
0214         cms.PSet(
0215             denompathname = cms.string('HLT_PFJetFwd140_v'),
0216             pathname = cms.string('HLT_PFJetFwd200_v')
0217         ), 
0218         cms.PSet(
0219             denompathname = cms.string('HLT_PFJetFwd200_v'),
0220             pathname = cms.string('HLT_PFJetFwd260_v')
0221         ), 
0222         cms.PSet(
0223             denompathname = cms.string('HLT_PFJetFwd260_v'),
0224             pathname = cms.string('HLT_PFJetFwd320_v')
0225         ), 
0226         cms.PSet(
0227             denompathname = cms.string('HLT_PFJetFwd320_v'),
0228             pathname = cms.string('HLT_PFJetFwd400_v')
0229         ), 
0230         cms.PSet(
0231             denompathname = cms.string('HLT_PFJetFwd400_v'),
0232             pathname = cms.string('HLT_PFJetFwd450_v')
0233         ), 
0234         cms.PSet(
0235             denompathname = cms.string('HLT_PFJetFwd450_v'),
0236             pathname = cms.string('HLT_PFJetFwd500_v')
0237         )),
0238 
0239 )
0240 
0241 jetMETHLTOfflineSource = cms.Sequence( jetMETHLTOfflineSourceAK4 * jetMETHLTOfflineSourceAK8 * jetMETHLTOfflineSourceAK4Fwd * jetMETHLTOfflineSourceAK8Fwd)