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("TestPhotonValidator")
0003 
0004 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0005 process.load("DQMOffline.EGamma.cosmicPhotonAnalyzer_cfi")
0006 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0007 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0008 DQMStore = cms.Service("DQMStore")
0009 
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012 #    input = cms.untracked.int32(5000)
0013 )
0014 
0015 
0016 process.source = cms.Source("PoolSource",
0017     fileNames = cms.untracked.vstring(
0018     '/store/relval/CMSSW_3_2_6/RelValCosmics/RECO/CRAFT09_R_V2-v2/0001/F8CD7049-C29B-DE11-86CB-000423D98920.root'
0019     )
0020 )
0021 
0022 #process.FEVT = cms.OutputModule("PoolOutputModule",
0023 #    outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0024 #    fileName = cms.untracked.string('photonsMEtoEDMConverter.root')
0025 #)
0026 
0027 
0028 from DQMOffline.EGamma.photonAnalyzer_cfi import *
0029 photonAnalysis.OutputMEsInRootFile = cms.bool(True)
0030 photonAnalysis.OutputFileName = cms.string('DQMOfflineCRAFT.root')
0031 photonAnalysis.standAlone = cms.bool(True)
0032 photonAnalysis.useTriggerFiltering = cms.bool(False)
0033 
0034 
0035 
0036 process.p1 = cms.Path(process.cosmicPhotonAnalysis)
0037 process.schedule = cms.Schedule(process.p1)