Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("USER")
0004 
0005 ## MessageLogger
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 
0008 ## Options and Output Report
0009 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0010 
0011 ## Source
0012 process.source = cms.Source("PoolSource",
0013                                 fileNames = cms.untracked.vstring(
0014             '/store/relval/CMSSW_7_1_0_pre1/RelValProdTTbar/GEN-SIM-RECO/START70_V5-v1/00000/14842A6B-2086-E311-B5CB-02163E00E8DA.root'
0015                 )
0016                             )
0017 ## Maximal Number of Events
0018 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0019 
0020 process.TFileService = cms.Service("TFileService",
0021                                    fileName = cms.string('testTFileService.root')
0022                                    )
0023 
0024 
0025 process.testAna = cms.EDAnalyzer("TestTFileServiceAnalyzer",
0026                                  dir1 = cms.string("mydir1"),
0027                                  dir2 = cms.string("mydir2")
0028                                  )
0029 
0030 process.p = cms.Path( process.testAna )