CMS 3D CMS Logo

MuonMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.muonMonitoring_cfi import muonMonitoring
4 
5 hltMuonmonitoring = muonMonitoring.clone(
6  FolderName = 'HLT/Muon/TrkMu16_DoubleTrkMu6NoFiltersNoVtx/',
7  met = "pfMet", # pfMet
8  muons = "muons", # while pfIsolatedElectronsEI are reco::PFCandidate !
9  nmuons = 0,
10 
11  histoPSet = dict(
12  lsPSet = dict(
13  nbins = 250 ,
14  xmin = 0.,
15  xmax = 2500.),
16  muonPSet = dict(
17  nbins = 500 ,
18  xmin = 0.0,
19  xmax = 500),
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_TrkMu16_DoubleTrkMu6NoFiltersNoVtx_v*"], # HLT_ZeroBias_v*
28  #hltDBKey = "EXO_HLT_MET",
29  errorReplyHlt = False,
30  verbosityLevel = 1),
31 
32  denGenericTriggerEventPSet = dict(
33  andOr = False,
34  andOrHlt = True,
35  hltInputTag = "TriggerResults::HLT",
36  hltPaths = [""], # HLT_ZeroBias_v*
37  errorReplyHlt = 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(hltMuonmonitoring,
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