CMS 3D CMS Logo

METMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.metMonitoring_cfi import metMonitoring
4 
5 hltMETmonitoring = metMonitoring.clone(
6  FolderName = 'HLT/JME/MET/PFMETNoMu120/',
7  met = "pfMet", # pfMet
8  jets = "ak4PFJets", # ak4PFJets, ak4PFJetsCHS
9  electrons = "gedGsfElectrons", # while pfIsolatedElectronsEI are reco::PFCandidate !
10  muons = "muons", # while pfIsolatedMuonsEI are reco::PFCandidate !
11 
12  histoPSet = dict(lsPSet = dict(
13  nbins = 250,
14  xmin = 0.,
15  xmax = 2500.),
16  metPSet = dict(
17  nbins = 200,
18  xmin = -0.5,
19  xmax = 19999.5)
20  ),
21 
22  numGenericTriggerEventPSet = dict(
23  andOr = False,
24  #dbLabel = "ExoDQMTrigger", # 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 !
25  andOrHlt = True, # True:=OR; False:=AND
26  hltInputTag = "TriggerResults::HLT",
27  hltPaths = ["HLT_PFMETNoMu120_PFMHTNoMu120_IDTight_v*"], # HLT_ZeroBias_v
28  #hltDBKey = "EXO_HLT_MET",
29  errorReplyHlt = False,
30  verbosityLevel = 0),
31 
32  denGenericTriggerEventPSet = dict(
33  andOr = False,
34  dcsInputTag = "scalersRawToDigi",
35  dcsRecordInputTag = "onlineMetaDataDigis",
36  dcsPartitions = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
37  andOrDcs = False,
38  errorReplyDcs = True,
39  verbosityLevel = 1,
40  hltPaths = ["HLT_IsoMu27_v*"])
41  # hltPaths = [])
42 )
43 
44 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
45 stage2L1Trigger.toModify(hltMETmonitoring,
46  numGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
47  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
48  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
49  ReadPrescalesFromFile = cms.bool(True)),
50  denGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
51  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
52  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
53  ReadPrescalesFromFile = cms.bool(True)))
54 
55