Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-03 02:53:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.metMonitoring_cfi import metMonitoring
0004 
0005 hltMETmonitoring = metMonitoring.clone(
0006     FolderName = 'HLT/JME/MET/PFMETNoMu120/',
0007     met       = "pfMet", # pfMet
0008     jets      = "ak4PFJets", # ak4PFJets, ak4PFJetsCHS
0009     electrons = "gedGsfElectrons", # while pfIsolatedElectronsEI are reco::PFCandidate !
0010     muons     = "muons", # while pfIsolatedMuonsEI are reco::PFCandidate !
0011 
0012     histoPSet = dict(lsPSet = dict(
0013                          nbins =  250,
0014                          xmin  =   0.,
0015                          xmax  =  2500.),
0016                     metPSet = dict(
0017                          nbins = 200,
0018                          xmin  = -0.5,
0019                          xmax  = 19999.5)
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_PFMETNoMu120_PFMHTNoMu120_IDTight_v*"], # HLT_ZeroBias_v
0028         #hltDBKey      = "EXO_HLT_MET",
0029         errorReplyHlt =  False,
0030         verbosityLevel = 0),
0031 
0032     denGenericTriggerEventPSet = dict(
0033         andOr         =  False,
0034         dcsInputTag   = "scalersRawToDigi",
0035         dcsRecordInputTag = "onlineMetaDataDigis",
0036         dcsPartitions = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
0037         andOrDcs      = False, 
0038         errorReplyDcs = True, 
0039         verbosityLevel = 1,
0040         hltPaths      = ["HLT_IsoMu27_v*"])
0041        # hltPaths      = [])
0042 )
0043 
0044 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0045 stage2L1Trigger.toModify(hltMETmonitoring,
0046                          numGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
0047                                                            l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0048                                                            l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0049                                                            ReadPrescalesFromFile = cms.bool(True)),
0050                          denGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
0051                                                            l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0052                                                            l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0053                                                            ReadPrescalesFromFile = cms.bool(True)))
0054 
0055