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 electronDbsDiscovery
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("testEgammaAnalyzers")
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 ("PoolSource",fileNames = cms.untracked.vstring(),secondaryFileNames = cms.untracked.vstring())
0016 process.source.fileNames.extend(electronDbsDiscovery.search())
0017 
0018 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0019 process.load("DQMOffline.EGamma.egammaDQMOffline_cff")
0020 
0021 process.dqmElectronTagProbeAnalysis.OutputFile = cms.string(os.environ['TEST_HISTOS_FILE'])
0022 
0023 process.p = cms.Path(process.egammaDQMOffline*process.dqmStoreStats)