Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 import sys
0003 import os
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("testElectronOfflineClient")
0007 
0008 process.DQMStore = cms.Service("DQMStore")
0009 process.load("DQMServices.Components.DQMStoreStats_cfi")
0010 from DQMServices.Components.DQMStoreStats_cfi import *
0011 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0012 
0013 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0014 process.source = cms.Source("EmptySource")
0015 
0016 process.load("DQMOffline.EGamma.electronOfflineClientSequence_cff")
0017 
0018 process.dqmElectronClientAllElectrons.InputFile = cms.string(os.environ['TEST_HISTOS_FILE'])
0019 #process.dqmElectronClientTagAndProbe.OutputFile = cms.string(os.environ['TEST_HISTOS_FILE'])
0020 
0021 process.load("Configuration.StandardSequences.EDMtoMEAtJobEnd_cff")
0022 process.dqmSaver.workflow = os.environ['TEST_WORKFLOW']
0023 process.dqmsave_step = cms.Path(process.DQMSaver)
0024 
0025 process.p = cms.Path(process.electronOfflineClientSequence*process.dqmStoreStats*process.DQMSaver)
0026 
0027