CMS 3D CMS Logo

SingleJetValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 SingleJetMetPaths = DQMEDAnalyzer('HLTJetMETValidation',
5  triggerEventObject = cms.untracked.InputTag("hltTriggerSummaryRAW","","HLT"),
6  DQMFolder = cms.untracked.string("HLT/HLTJETMET/"),
7  PatternJetTrg = cms.untracked.string("HLT_PF(NoPU)?Jet([0-9])+(_v[0-9]+)?$"),
8  PatternMetTrg = cms.untracked.string("HLT_+[Calo|PF]+MET([0-9])+[_NotCleaned|_BeamHaloCleaned]+(_v[0-9]+)?$"),
9  PatternMuTrg = cms.untracked.string("HLT_Mu([0-9])+(_v[0-9]+)?$"),
10  LogFileName = cms.untracked.string('JetMETSingleJetValidation.log'),
11  PFJetAlgorithm = cms.untracked.InputTag("hltAK4PFJets"),
12  GenJetAlgorithm = cms.untracked.InputTag("ak4GenJets"),
13  CaloMETCollection = cms.untracked.InputTag("hltMet"),
14  GenMETCollection = cms.untracked.InputTag("genMetCalo"),
15  HLTriggerResults = cms.InputTag("TriggerResults::HLT"),
16 )
17 
18 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
19 phase2_common.toModify(SingleJetMetPaths,
20  PatternJetTrg = "HLT_(AK4|AK8)?PF(Puppi)?Jet[0-9]+(_v[0-9]+)?$",
21  PatternMetTrg = "HLT_PF(Puppi)?MET(TypeOne)?[0-9]+(_PF(Puppi)?MHT[0-9]+)?(_v[0-9]+)?$",
22  PFJetAlgorithm = "hltAK4PFPuppiJetsCorrected"
23  )
24 
25 SingleJetValidation = cms.Sequence(SingleJetMetPaths)