Revision: | 1.1 |
Committed: | Wed Sep 2 21:50:13 2009 UTC (15 years, 7 months ago) by dnisson |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | V02-04-01, V02-04-00, V02-03-03, V02-03-01, V02-03-00, V02-01-00, V02-00-00, V01-00-01, V01-00-00, V00-01-03, V00-01-02, V00-01-01, V00-01-00, V00-00-01, HEAD |
Branch point for: | V01-00-01-SPECTRUM, V00-01-03-branch |
Log Message: | Adding JetFitAnalyzer package to CMSSW repository. |
# | User | Rev | Content |
---|---|---|---|
1 | dnisson | 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('JetFitAnalyzer' | ||
17 | ) | ||
18 | |||
19 | |||
20 | process.p = cms.Path(process.demo) |