Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-22 22:37:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('ParticleFlowDQMOffline')
0004 
0005 # import of standard configurations
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load('Configuration.EventContent.EventContent_cff')
0009 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0011 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 # load DQM
0015 process.load("DQMServices.Core.DQM_cfg")
0016 process.load("DQMServices.Components.DQMEnvironment_cfi")
0017 
0018 # my analyzer
0019 process.load('DQMOffline.ParticleFlow.runBasic_cfi')
0020 
0021 
0022 with open('fileList.log') as f:
0023     lines = f.readlines()
0024 #Input source
0025 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring(lines))
0026 
0027 
0028 from DQMOffline.ParticleFlow.runBasic_cfi import *
0029 
0030 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0031                                      fileName = cms.untracked.string("OUT_step1.root"))
0032 
0033 
0034 process.p = cms.Path(process.PFAnalyzer)
0035 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0036 
0037 
0038 ## Schedule definition
0039 process.schedule = cms.Schedule(
0040     process.p,
0041     process.DQMoutput_step
0042     )
0043 
0044 
0045 
0046 
0047 
0048 
0049 
0050 
0051