Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("photonAnalysis")
0003 
0004 
0005 process.load("DQMOffline.EGamma.photonAnalyzer_cfi")
0006 process.load("DQMOffline.EGamma.zmumugammaAnalyzer_cfi")
0007 
0008 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0009 process.load("DQMServices.Components.DQMStoreStats_cfi")
0010 
0011 
0012 DQMStore = cms.Service("DQMStore")
0013 
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016   #  input = cms.untracked.int32(100)
0017 )
0018 
0019 
0020 process.source = cms.Source("PoolSource",
0021     fileNames = cms.untracked.vstring(
0022 
0023 '/store/relval/CMSSW_5_2_0_pre2/RelValZMM/GEN-SIM-RECO/START50_V9-v1/0214/C0CCF508-5244-E111-B211-00261894389E.root',
0024 '/store/relval/CMSSW_5_2_0_pre2/RelValZMM/GEN-SIM-RECO/START50_V9-v1/0217/10161C44-D444-E111-A1AC-003048679164.root',
0025 '/store/relval/CMSSW_5_2_0_pre2/RelValZMM/GEN-SIM-RECO/START50_V9-v1/0217/EC841A5E-A844-E111-84C1-0026189438DF.root'
0026 
0027 ))
0028 
0029 
0030 
0031 from DQMOffline.EGamma.photonAnalyzer_cfi import *
0032 
0033 photonAnalysis.Verbosity = cms.untracked.int32(0)
0034 photonAnalysis.useTriggerFiltering = cms.bool(False)
0035 photonAnalysis.standAlone = cms.bool(True)
0036 photonAnalysis.OutputFileName = cms.string('DQMOfflinePhotonsBatch.root')
0037 
0038 
0039 from DQMServices.Components.DQMStoreStats_cfi import *
0040 
0041 dqmStoreStats.runOnEndRun = cms.untracked.bool(False)
0042 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0043 
0044 
0045 process.p1 = cms.Path(process.photonAnalysis*process.zmumugammaAnalysis)
0046 #process.p1 = cms.Path(process.photonAnalysis*process.dqmStoreStats)
0047 
0048 process.schedule = cms.Schedule(process.p1)
0049 
0050