CMS 3D CMS Logo

runBasic_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process('ParticleFlowDQMOffline')
4 
5 # import of standard configurations
6 process.load('Configuration.StandardSequences.Services_cff')
7 process.load('FWCore.MessageService.MessageLogger_cfi')
8 process.load('Configuration.EventContent.EventContent_cff')
9 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
10 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
11 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
12 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
13 
14 # load DQM
15 process.load("DQMServices.Core.DQM_cfg")
16 process.load("DQMServices.Components.DQMEnvironment_cfi")
17 
18 # my analyzer
19 process.load('DQMOffline.ParticleFlow.runBasic_cfi')
20 
21 
22 with open('fileList.log') as f:
23  lines = f.readlines()
24 #Input source
25 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring(lines))
26 
27 
29 
30 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
31  fileName = cms.untracked.string("OUT_step1.root"))
32 
33 
34 process.p = cms.Path(process.PFAnalyzer)
35 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
36 
37 
38 
39 process.schedule = cms.Schedule(
40  process.p,
41  process.DQMoutput_step
42  )
43 
44 
45 
46 
47 
48 
49 
50 
51