[CMSSW] / CMSSW / PhysicsTools / UtilAlgos / test / cmsswWithPythonConfig_cfg.py Repository:
ViewVC logotype

View of /CMSSW/PhysicsTools/UtilAlgos/test/cmsswWithPythonConfig_cfg.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (download) (as text) (annotate)
Wed Mar 23 18:43:06 2011 UTC (2 years, 2 months ago) by rwolf
Branch: MAIN
CVS Tags: CMSSW_4_2_1_patch2, CMSSW_4_3_0_pre3, CMSSW_4_3_0_pre2, CMSSW_4_2_1_patch1, CMSSW_4_2_0, CMSSW_4_2_1, V08-02-11, V08-02-09-01
full framework example
import FWCore.ParameterSet.Config as cms

process = cms.Process("Test")

process.source = cms.Source("PoolSource",
  fileNames = cms.untracked.vstring(
    '/store/relval/CMSSW_4_1_3/RelValTTbar/GEN-SIM-RECO/START311_V2-v1/0037/648B6AA5-C751-E011-8208-001A928116C6.root'
  )
)

process.MessageLogger = cms.Service("MessageLogger")

process.muonAnalyzer = cms.EDAnalyzer("WrappedEDMuonAnalyzer",
  muons     = cms.InputTag("muons"),                                             
)

process.TFileService = cms.Service("TFileService",
  fileName = cms.string('analyzeCMSSWHistograms.root')
)

process.p = cms.Path(process.muonAnalyzer)


CERN LCG CVS service
ViewVC Help
Powered by ViewVC 1.0.9