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.jetMonitoring_cfi import jetMonitoring
0004 
0005 hltJetMETmonitoring = jetMonitoring.clone(
0006     FolderName = 'HLT/JME/Jets/AK4/PFJet/HLT_PFJet450/',
0007 
0008     histoPSet = dict(
0009         lsPSet = dict(
0010                 nbins = 250,
0011                 xmin  = 0.,
0012                 xmax  = 2500.),
0013         jetPSet = dict(
0014                 nbins = 200,
0015                 xmin  = -0.5,
0016                 xmax  = 999.5),
0017         jetPtThrPSet = dict(
0018                 nbins = 180,
0019                 xmin  = 0.,
0020                 xmax  = 900),
0021     ),
0022     jetSrc = 'ak4PFJets', # ak4PFJets, ak4PFJetsCHS
0023     ptcut = 20.,
0024     ispfjettrg = True, # is PFJet Trigger ?
0025     iscalojettrg = False, # is CaloJet Trigger ?
0026 
0027     numGenericTriggerEventPSet = dict(
0028         andOr         =  False,
0029         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 !
0030         andOrHlt      = True, # True:=OR; False:=AND
0031         hltInputTag   =  "TriggerResults::HLT",
0032         hltPaths      = ["HLT_PFJet450_v*"], # HLT_ZeroBias_v*
0033         errorReplyHlt = False,
0034         verbosityLevel = 1),
0035 
0036     denGenericTriggerEventPSet = dict(
0037         andOr         =  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(hltJetMETmonitoring,
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