import FWCore.ParameterSet.Config as cms process = cms.Process("Demo") process.load("FWCore.MessageService.MessageLogger_cfi") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.source = cms.Source("PoolSource", # replace 'myfile.root' with the source file you want to use fileNames = cms.untracked.vstring( 'file:/afs/cern.ch/user/j/jrobles/scratch0/CMSSW_2_1_4/src/FastSimulation/Configuration/MyFirstFamosFile1.root' # 'file:/afs/cern.ch/user/j/jrobles/scratch0/CMSSW_1_7_5/src/FastSimulation/Configuration/Test_20.root' ) ) process.demo = cms.EDAnalyzer('MuAnalyzer' ) process.p = cms.Path(process.demo)