ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/JetFitAnalyzer/test/partonResPF_cfg.py
Revision: 1.2
Committed: Tue Apr 20 03:21:49 2010 UTC (15 years ago) by dnisson
Content type: text/x-python
Branch: MAIN
CVS Tags: V02-04-04, V02-04-03, HEAD
Changes since 1.1: +1 -1 lines
Log Message:
Output number of jets found

File Contents

# User Rev Content
1 dnisson 1.1 import FWCore.ParameterSet.Config as cms
2    
3     process = cms.Process('ANALYSIS')
4    
5     #process.load("RecoJets.Configuration.GenJetParticles_cff")
6    
7     process.load("UserCode.JetFitAnalyzer.cambridgePFJetProducer_cff")
8    
9     process.maxEvents = cms.untracked.PSet(
10     input = cms.untracked.int32(500)
11     )
12    
13     process.TFileService = cms.Service("TFileService",
14     fileName = cms.string(
15     "/afs/cern.ch/user/d/dnisson/private/CMSSW_3_3_5/src/UserCode/JetFitAnalyzer/test/partonResPF.root"))
16     # change this to a ROOT file containing events and jet clustering info
17     process.source = cms.Source("PoolSource",
18     fileNames = cms.untracked.vstring(
19     'rfio:/castor/cern.ch/user/v/vasquez/zprimettbar332/step2_RAW2DIGI_L1Reco_RECO_1.root'
20     )
21     )
22    
23     process.analyze = cms.EDAnalyzer('PartonResAnalyzer',
24     infoType = cms.untracked.int32(1), # using gen particles
25     P_cutoff_val = cms.untracked.double(0.5),
26     smear = cms.untracked.double(0.05),
27     jet_algo = cms.string(
28 dnisson 1.2 "cambridge10PFJets"
29 dnisson 1.1 ),
30     gausSpread = cms.untracked.double(0.053)
31     )
32    
33     process.p = cms.Path(#process.genParticlesForJets*
34     process.cambridgePFJetsProducer*
35     process.analyze
36     )