Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 
0003 import sys
0004 import os
0005 import DQMOffline.EGamma.electronDbsDiscovery as dbs
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process("testElectronAnalyzer")
0009 
0010 process.DQMStore = cms.Service("DQMStore")
0011 process.load("DQMServices.Components.DQMStoreStats_cfi")
0012 #from DQMServices.Components.DQMStoreStats_cfi import *
0013 #dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0014 
0015 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0016 process.source = cms.Source ("PoolSource",fileNames = cms.untracked.vstring(),secondaryFileNames = cms.untracked.vstring())
0017 process.source.fileNames.extend(dbs.search())
0018 
0019 process.load("DQMOffline.EGamma.electronAnalyzerSequence_cff")
0020 
0021 process.dqmElectronTagProbeAnalysis.OutputFile = cms.string(os.environ['TEST_HISTOS_FILE'])
0022 
0023 process.p = cms.Path(process.electronAnalyzerSequence*process.dqmStoreStats)