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.
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('anlzrname'
17 @example_track , tracks = cms.untracked.InputTag('ctfWithMaterialTracks')
18 )
19 
20 @example_histo process.TFileService = cms.Service("TFileService",
21 @example_histo fileName = cms.string('histo.root')
22 @example_histo )
23 
24 process.p = cms.Path(process.demo)