CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConfFile_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.demo = cms.EDAnalyzer('ElectronIDAnalyzer'
17 )
18 
19 
20 process.p = cms.Path(process.demo)