ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MuJetAnalysis/AnalysisTools/CutFlowAnalyzer/cutflowanalyzer_cfg.py
Revision: 1.1
Committed: Thu Feb 21 06:58:32 2013 UTC (12 years, 2 months ago) by pakhotin
Content type: text/x-python
Branch: MAIN
Log Message:
first submission

File Contents

# User Rev Content
1 pakhotin 1.1 import FWCore.ParameterSet.Config as cms
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('CutFlowAnalyzer'
17     )
18    
19    
20     process.p = cms.Path(process.demo)