CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FWCore/Skeletons/scripts/mkTemplates/EDAnalyzer/ConfFile_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("Demo")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
00008 
00009 process.source = cms.Source("PoolSource",
00010     # replace 'myfile.root' with the source file you want to use
00011     fileNames = cms.untracked.vstring(
00012         'file:myfile.root'
00013     )
00014 )
00015 
00016 process.demo = cms.EDAnalyzer('anlzrname'
00017 @example_track     , tracks = cms.untracked.InputTag('ctfWithMaterialTracks')
00018 )
00019 
00020 @example_histo process.TFileService = cms.Service("TFileService",
00021 @example_histo     fileName = cms.string('histo.root')
00022 @example_histo )
00023 
00024 process.p = cms.Path(process.demo)