Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-02 00:53:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from PhysicsTools.NanoAOD.common_cff import *
0004 from PhysicsTools.NanoAOD.nano_cff import lhcInfoTable
0005 
0006 lumiTable = cms.EDProducer("SimpleOnlineLuminosityFlatTableProducer",
0007     src = cms.InputTag("onlineMetaDataDigis"),
0008     name = cms.string("lumi"),
0009     doc  = cms.string("Online luminosity information"),
0010     variables = cms.PSet(
0011         instLumi = Var( "instLumi()", "double", doc = "Instantaneous luminosity"),
0012         avgPileUp = Var( "avgPileUp()", "double", doc = "Average PU")
0013     )
0014 )
0015 
0016 globalTables = cms.Sequence(lumiTable + lhcInfoTable)