Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EDMtoMEConvert")
0004 process.load("DQMServices.Core.DQM_cfg")
0005 
0006 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0007 
0008 process.load("DQMServices.Components.DQMEnvironment_cfi")
0009 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0010 
0011 process.load("DQMOffline.Trigger.EgHLTOfflineClient_cfi")
0012 process.load("DQMOffline.Trigger.EgHLTOfflineSummaryClient_cfi")
0013 #process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0014 #process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0015 #process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0016 #process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0017 
0018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0019 #use two following lines to grab GlobalTag automatically
0020 #from Configuration.AlCa.autoCond import autoCond
0021 #process.GlobalTag.globaltag = autoCond['hltonline']
0022 process.GlobalTag.globaltag = 'GR_R_50_V11::All'
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(-1)
0026 )
0027 
0028 # initialize MessageLogger and output report
0029 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0030 process.MessageLogger.cerr.FwkSummary = cms.untracked.PSet(
0031     reportEvery = cms.untracked.int32(1),
0032     limit = cms.untracked.int32(10000000)
0033 )
0034 process.MessageLogger.cerr.FwkReport = cms.untracked.PSet(
0035     reportEvery = cms.untracked.int32(1),
0036     limit = cms.untracked.int32(10000000)
0037 )
0038 
0039     
0040 
0041 process.source = cms.Source("PoolSource",
0042                             fileNames = cms.untracked.vstring(),
0043                             processingMode = cms.untracked.string("RunsLumisAndEvents"),
0044                             )
0045 process.source.fileNames=cms.untracked.vstring(
0046   #  'file:/data/ndpc3/c/dmorse/HLTDQMrootFiles/May18/SourceTest_420.root',
0047 
0048   #  'file:/data/ndpc3/c/dmorse/HLTDQMrootFiles/May18/SourceTest_420_2.root',
0049   #  'rfio:/castor/cern.ch/user/d/dmorse/DQMOfflineSource/DQMOfflineSource_1_1_vMy.root'
0050    'file:SingleElectron_CMSSW_5_2_0_pre3_RECO_2011B.root'
0051     )
0052 process.source.fileNames.extend(
0053 [
0054     
0055 ]
0056     )
0057 #process.source.processingMode = cms.untracked.string("RunsLumisAndEvents"),
0058 
0059 #process.source.processingMode = cms.untracked.string("RunsAndLumis")
0060 process.source.processingMode = cms.untracked.string("Runs")
0061 
0062 
0063 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0064 process.qTester = DQMQualityTester(
0065      qtList = cms.untracked.FileInPath('DQMOffline/Trigger/data/EgHLTOffQualityTests.xml'),
0066      verboseQT = cms.untracked.bool(True),
0067      qtestOnEndJob =cms.untracked.bool(False),
0068      qtestOnEndRun =cms.untracked.bool(True),                         
0069                                
0070  )
0071 
0072 
0073 process.EDMtoMEConverter.convertOnEndLumi = False
0074 process.EDMtoMEConverter.convertOnEndRun = True
0075 
0076 process.p1 = cms.Path(process.EDMtoMEConverter*process.egHLTOffDQMClient*process.egHLTOffDQMSummaryClient*process.dqmSaver)
0077 
0078 
0079 process.DQMStore.verbose = 1
0080 process.DQM.collectorHost = ''
0081 process.dqmSaver.convention = cms.untracked.string('Offline')
0082 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0083 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0084 process.dqmSaver.workflow = cms.untracked.string('/Run2011A/SingleElectron/RECORuns172620-173692EtCut35Run2011B')
0085 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0086 #process.dqmSaver.dirName = '/data/ndpc3/c/dmorse/HLTDQMrootFiles'