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 process.load("FWCore.MessageService.MessageLogger_cfi")
0005 process.load("Configuration.StandardSequences.GeometryDB_cff")
0006 process.load("DQMOffline.EGamma.photonAnalyzer_cfi")
0007 process.load("DQMOffline.EGamma.zmumugammaAnalyzer_cfi")
0008 process.load("DQMOffline.EGamma.photonOfflineClient_cfi")
0009 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0010 process.load("DQMServices.Components.DQMStoreStats_cfi")
0011 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0012 
0013 
0014 DQMStore = cms.Service("DQMStore")
0015 
0016 process.maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(10)
0018 )
0019 
0020 #process.MessageLogger.cerr.FwkReport.reportEvery = 100
0021 
0022 process.source = cms.Source("PoolSource",
0023     fileNames = cms.untracked.vstring(
0024     
0025     '/store/relval/CMSSW_7_0_0_pre2/RelValZEE/GEN-SIM-DIGI-RECO/PRE_ST62_V8_FastSim-v1/00000/0229B33C-E10F-E311-9C16-002618943829.root'
0026 #   '/store/relval/CMSSW_7_0_0_pre2/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/PRE_ST62_V8_FastSim-v1/00000/2EB245F1-A30F-E311-80ED-0025905938A4.root'
0027 
0028 ))
0029 
0030 from DQMOffline.EGamma.photonAnalyzer_cfi import *
0031 photonAnalysis.Verbosity = cms.untracked.int32(0)
0032 photonAnalysis.useTriggerFiltering = cms.bool(False)
0033 #photonAnalysis.standAlone = cms.bool(True)
0034 
0035 from DQMOffline.EGamma.photonOfflineClient_cfi import *
0036 photonOfflineClient.standAlone = cms.bool(True)
0037 
0038 
0039 #from DQMServices.Components.DQMStoreStats_cfi import *
0040 #dqmStoreStats.runOnEndRun = cms.untracked.bool(False)
0041 #dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0042 
0043 
0044 #process.p1 = cms.Path(process.photonAnalysis)
0045 #process.p1 = cms.Path(process.photonAnalysis*process.dqmStoreStats)
0046 process.p1 = cms.Path(process.photonAnalysis*process.zmumugammaAnalysis*process.photonOfflineClient*process.dqmStoreStats)
0047 #process.p1 = cms.Path(process.photonAnalysis*process.photonOfflineClient*process.dqmStoreStats)
0048 
0049 
0050 process.schedule = cms.Schedule(process.p1)
0051 
0052 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0053 
0054 process.MessageLogger = cms.Service("MessageLogger")