File indexing completed on 2024-04-06 12:33:05
0001
0002 import sys
0003 import os
0004 import electronDbsDiscovery
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("egammaValidation")
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("Validation.RecoEgamma.egammaValidation_cfi")
0019
0020 process.electronMcFakeValidator.outputFile = cms.string(os.environ['TEST_HISTOS_FILE'])
0021
0022 process.p = cms.Path(process.egammaValidation*process.dqmStoreStats)
0023
0024