Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("photonAnalysis")
0003 
0004 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0005 process.load("DQMOffline.EGamma.egammaDQMOffline_cff")
0006 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0007 
0008 
0009 DQMStore = cms.Service("DQMStore")
0010 
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(100)
0014 )
0015 
0016 
0017 from DQMOffline.EGamma.photonAnalyzer_cfi import *
0018 from DQMOffline.EGamma.piZeroAnalyzer_cfi import *
0019 
0020 photonAnalysis.OutputMEsInRootFile = cms.bool(True)
0021 photonAnalysis.OutputFileName = cms.string('DQMOfflineRelValGammaJets_Pt_80_120.root')
0022 photonAnalysis.standAlone = cms.bool(True)
0023 photonAnalysis.useTriggerFiltering = cms.bool(True)
0024 
0025 piZeroAnalysis.standAlone = cms.bool(True)
0026 piZeroAnalysis.OutputMEsInRootFile = cms.bool(False)
0027 piZeroAnalysis.OutputFileName = cms.string('DQMOfflineRelValGammaJets_Pt_80_120.root')
0028 
0029 
0030 process.source = cms.Source("PoolSource",
0031     fileNames = cms.untracked.vstring(
0032         '/store/relval/CMSSW_3_6_0_pre2/RelValSingleGammaPt35/GEN-SIM-RECO/MC_3XY_V24-v1/0001/364E7B38-6F27-DF11-91A9-0026189438D4.root',
0033         '/store/relval/CMSSW_3_6_0_pre2/RelValSingleGammaPt35/GEN-SIM-RECO/MC_3XY_V24-v1/0000/48AE643B-0727-DF11-99FB-001731AF66F5.root'
0034 
0035 ))
0036 
0037 
0038 
0039 process.FEVT = cms.OutputModule("PoolOutputModule",
0040     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0041     fileName = cms.untracked.string('photonsMEtoEDMConverter.root')
0042 )
0043 
0044 
0045 #process.p1 = cms.Path(process.egammaDQMOffline*process.MEtoEDMConverter*process.FEVT)
0046 process.p1 = cms.Path(process.egammaDQMOffline)
0047 process.schedule = cms.Schedule(process.p1)
0048