File indexing completed on 2024-04-06 12:09:24
0001
0002 import sys
0003 import os
0004 import electronDbsDiscovery
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("testEgammaOfflineClients")
0008
0009 process.DQMStore = cms.Service("DQMStore")
0010 process.load("DQMServices.Components.DQMStoreStats_cfi")
0011 from DQMServices.Components.DQMStoreStats_cfi import *
0012 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0013
0014 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0015 process.source = cms.Source("EmptySource")
0016
0017 process.load("DQMOffline.EGamma.egammaPostProcessing_cff")
0018
0019 process.photonOfflineClient.batch = cms.bool(True)
0020 process.photonOfflineClient.InputFileName = cms.untracked.string(os.environ['TEST_HISTOS_FILE'])
0021
0022 process.load("Configuration.StandardSequences.EDMtoMEAtJobEnd_cff")
0023 process.dqmSaver.workflow = '/'+os.environ['TEST_DATASET']+'/'+os.environ['DBS_RELEASE']+'-'+os.environ['DBS_COND']+'/DQMOFFLINE'
0024 process.dqmsave_step = cms.Path(process.DQMSaver)
0025
0026 process.p = cms.Path(process.egammaPostprocessing*process.dqmStoreStats*process.DQMSaver)
0027
0028