ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/JetFitAnalyzer/test/QCD_cfg.py
Revision: 1.1
Committed: Sat Feb 6 00:10:52 2010 UTC (15 years, 2 months ago) by dnisson
Content type: text/x-python
Branch: MAIN
Log Message:
Added a config file for QCD fitting; so that  we can et a chisquare

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     P_cutoff_val = cms.untracked.double(1.1),
24     smear = cms.untracked.double(0.05),
25     jet_algo = cms.string(
26     "selectedcambridgeGenJetsPt250Cumulative"
27     )
28     )
29    
30     process.p = cms.Path(process.genParticlesForJets*
31     process.cambridgeGenJetsProducer*
32     process.analyze
33     )