CMS 3D CMS Logo

ExampleConfig_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("Demo")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
8 
9 process.source = cms.Source("PoolSource",
10  # replace 'myfile.root' with the source file you want to use
11  fileNames = cms.untracked.vstring(
12  'file:myfile.root'
13  )
14 )
15 
16 process.load("__subsys__.__pkgname__.__class_lowercase___cfi")
17 process.DQMStore = cms.Service("DQMStore")
18 
19 process.load("DQMServices.FileIO.DQMFileSaverOnline_cfi")
20 
21 process.p = cms.Path(process.__class_lowercase__ + process.dqmSaver)