ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/JetFitAnalyzer/test/QCD_cfg.py
Revision: 1.3
Committed: Fri Feb 26 04:42:10 2010 UTC (15 years, 2 months ago) by dnisson
Content type: text/x-python
Branch: MAIN
CVS Tags: V02-01-00
Changes since 1.2: +1 -1 lines
Log Message:
Added the ability to set what to fix the Gaussian sigmas at

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.cambridgeGenJetProducer_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("histo_QCD.root"))
15     # change this to a ROOT file containing events and jet clustering info
16     process.source = cms.Source("PoolSource",
17     fileNames = cms.untracked.vstring(
18     'rfio:/castor/cern.ch/user/d/dnisson/QCD_Pt_170_230_cfi_py_GEN.root' )
19     )
20    
21     process.analyze = cms.EDAnalyzer('JetFinderAnalyzer',
22     infoType = cms.untracked.int32(0), # using gen particles
23 dnisson 1.2 P_cutoff_val = cms.untracked.double(0.001),
24 dnisson 1.1 smear = cms.untracked.double(0.05),
25     jet_algo = cms.string(
26 dnisson 1.3 "selectedcambridgeGenJetsPt100Cumulative"
27 dnisson 1.2 ),
28     maxGaussians = cms.untracked.int32(1)
29 dnisson 1.1 )
30    
31     process.p = cms.Path(process.genParticlesForJets*
32     process.cambridgeGenJetsProducer*
33     process.analyze
34     )