Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # SCAL (for online luminosity)
0004 scalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
0005   scalersInputTag = cms.InputTag( "rawDataCollector" )
0006 )
0007 
0008 # LumiProducer and LumiCorrectionSource (for offline luminosity)
0009 DBService = cms.Service('DBService')
0010 
0011 lumiProducer = cms.EDProducer('LumiProducer',
0012   connect       = cms.string('frontier://LumiProd/CMS_LUMI_PROD'),
0013   lumiversion   = cms.untracked.string(''),
0014   ncacheEntries = cms.untracked.uint32(5),
0015 )
0016 
0017 LumiCorrectionSource = cms.ESSource( "LumiCorrectionSource",
0018   connect       = cms.string('frontier://LumiCalc/CMS_LUMI_PROD'),
0019 )
0020 
0021 # Pixel clusters
0022 from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import siPixelDigis
0023 siPixelDigis.InputLabel = cms.InputTag('rawDataCollector')
0024 
0025 from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi import siPixelClusters
0026 
0027 # FastTimerService
0028 from HLTrigger.Timer.FastTimerService_cfi import *
0029 from HLTrigger.Timer.fastTimerServiceClient_cfi import *
0030 
0031 from HLTrigger.Timer.ftsLuminosityFromScalers_cfi import *
0032 ftsLuminosityFromScalers.name  = 'onlineluminosity'
0033 ftsLuminosityFromScalers.title = 'online instantaneous luminosity'
0034 ftsLuminosityFromScalers.range = 1.6e34
0035 
0036 from HLTrigger.Timer.ftsPileupFromScalers_cfi import *
0037 ftsPileupFromScalers.name  = 'onlinepileup'
0038 ftsPileupFromScalers.title = 'online pileup'
0039 ftsPileupFromScalers.range = 80
0040 
0041 from HLTrigger.Timer.ftsLuminosityFromLumiSummary_cfi import *
0042 ftsLuminosityFromLumiSummary.name  = 'offlineluminosity'
0043 ftsLuminosityFromLumiSummary.title = 'offline instantaneous luminosity'
0044 ftsLuminosityFromLumiSummary.range = 1.6e34
0045 
0046 from HLTrigger.Timer.ftsPileupFromLumiSummary_cfi import *
0047 ftsPileupFromLumiSummary.name  = cms.string('offlinepileup')
0048 ftsPileupFromLumiSummary.title = cms.string('offline pileup')
0049 ftsPileupFromLumiSummary.range = 80
0050 
0051 from HLTrigger.Timer.ftsLuminosityFromPixelClusters_cfi import *
0052 
0053 # DQM file saver
0054 dqmFileSaver = cms.EDAnalyzer( "DQMFileSaver",
0055 #   producer          = cms.untracked.string('DQM'),
0056 #   version           = cms.untracked.int32(1),
0057 #   referenceRequireStatus = cms.untracked.int32(100),
0058 #   runIsComplete     = cms.untracked.bool(False),
0059 #   referenceHandling = cms.untracked.string('all'),
0060     convention        = cms.untracked.string( "Offline" ),
0061     workflow          = cms.untracked.string( "/HLT/FastTimerService/All" ),
0062     dirName           = cms.untracked.string( "." ),
0063     saveByRun         = cms.untracked.int32(1),
0064     saveByLumiSection = cms.untracked.int32(-1),
0065     saveByEvent       = cms.untracked.int32(-1),
0066     saveByTime        = cms.untracked.int32(-1),
0067     saveByMinute      = cms.untracked.int32(-1),
0068     saveAtJobEnd      = cms.untracked.bool(False),
0069     forceRunNumber    = cms.untracked.int32(-1),
0070 )
0071 
0072 DQMFileSaverOutput = cms.EndPath(
0073     scalersRawToDigi + ftsLuminosityFromScalers + ftsPileupFromScalers +
0074     lumiProducer + ftsLuminosityFromLumiSummary + ftsPileupFromLumiSummary +
0075     siPixelDigis + siPixelClusters + ftsLuminosityFromPixelClusters +
0076     fastTimerServiceClient + dqmFileSaver )