CMS 3D CMS Logo

JetMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.jetMonitoring_cfi import jetMonitoring
4 
5 hltJetMETmonitoring = jetMonitoring.clone(
6  FolderName = 'HLT/JME/Jets/AK4/PFJet/HLT_PFJet450/',
7 
8  histoPSet = dict(
9  lsPSet = dict(
10  nbins = 250,
11  xmin = 0.,
12  xmax = 2500.),
13  jetPSet = dict(
14  nbins = 200,
15  xmin = -0.5,
16  xmax = 999.5),
17  jetPtThrPSet = dict(
18  nbins = 180,
19  xmin = 0.,
20  xmax = 900),
21  ),
22  jetSrc = 'ak4PFJets', # ak4PFJets, ak4PFJetsCHS
23  ptcut = 20.,
24  ispfjettrg = True, # is PFJet Trigger ?
25  iscalojettrg = False, # is CaloJet Trigger ?
26 
27  numGenericTriggerEventPSet = dict(
28  andOr = False,
29  dbLabel = "JetMETDQMTrigger", # it does not exist yet, we should consider the possibility of using the DB, but as it is now it will need a label per path !
30  andOrHlt = True, # True:=OR; False:=AND
31  hltInputTag = "TriggerResults::HLT",
32  hltPaths = ["HLT_PFJet450_v*"], # HLT_ZeroBias_v*
33  errorReplyHlt = False,
34  verbosityLevel = 1),
35 
36  denGenericTriggerEventPSet = dict(
37  andOr = False,
38  dcsInputTag = "scalersRawToDigi",
39  dcsRecordInputTag = "onlineMetaDataDigis",
40  dcsPartitions = [ 24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
41  andOrDcs = False,
42  errorReplyDcs = True,
43  verbosityLevel = 1)
44 )
45 
46 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
47 stage2L1Trigger.toModify(hltJetMETmonitoring,
48  numGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
49  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
50  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
51  ReadPrescalesFromFile = cms.bool(True)),
52  denGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
53  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
54  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
55  ReadPrescalesFromFile = cms.bool(True)))
56 
57