Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-10-31 08:39:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.muonMonitoring_cfi import muonMonitoring
0004 
0005 hltMuonmonitoring = muonMonitoring.clone(
0006     FolderName = 'HLT/Muon/TrkMu16_DoubleTrkMu6NoFiltersNoVtx/',
0007     met       = "pfMet", # pfMet
0008     muons = "muons", # while pfIsolatedElectronsEI are reco::PFCandidate !
0009     nmuons = 0,
0010 
0011     histoPSet = dict(
0012         lsPSet = dict(
0013                     nbins =  250 ,
0014                     xmin  =   0.,
0015                     xmax  =  2500.),
0016         muonPSet = dict(
0017                     nbins =  500 , ### THIS SHOULD BE VARIABLE BINNING !!!!!
0018                     xmin  =  0.0,
0019                     xmax  = 500),
0020     ),
0021 
0022     numGenericTriggerEventPSet = dict(
0023         andOr         = False,
0024         #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 !
0025         andOrHlt      = True,# True:=OR; False:=AND
0026         hltInputTag   =  "TriggerResults::HLT" ,
0027         hltPaths      = ["HLT_TrkMu16_DoubleTrkMu6NoFiltersNoVtx_v*"], # HLT_ZeroBias_v*
0028         #hltDBKey      = "EXO_HLT_MET",
0029         errorReplyHlt =  False,
0030         verbosityLevel = 1),
0031 
0032     denGenericTriggerEventPSet = dict(
0033         andOr         =  False,
0034         andOrHlt      =  True,
0035         hltInputTag   = "TriggerResults::HLT",
0036         hltPaths      = [""], # HLT_ZeroBias_v*
0037         errorReplyHlt = False,
0038         dcsInputTag   = "scalersRawToDigi",
0039         dcsRecordInputTag = "onlineMetaDataDigis",
0040         dcsPartitions = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
0041         andOrDcs      =  False,
0042         errorReplyDcs =  True,
0043         verbosityLevel = 1)
0044 )
0045 
0046 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0047 stage2L1Trigger.toModify(hltMuonmonitoring,
0048                          numGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
0049                                                            l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0050                                                            l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0051                                                            ReadPrescalesFromFile = cms.bool(False)),
0052                          denGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
0053                                                            l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0054                                                            l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0055                                                            ReadPrescalesFromFile = cms.bool(False))
0056                          )
0057 
0058