File indexing completed on 2024-04-06 12:25:28
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("Ana")
0008 process.load("FWCore.MessageService.MessageLogger_cfi")
0009
0010 process.maxEvents = cms.untracked.PSet(
0011 input = cms.untracked.int32(1000)
0012 )
0013
0014
0015 process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_2/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V6_10TeV_v7/0000/044A7A03-BE6E-DD11-B3C0-000423D98B08.root'))
0016
0017 from RecoJets.JetAssociationProducers.j2tParametersVX_cfi import *
0018 process.JetTracksAssociatorAtVertex = cms.EDProducer("JetTracksAssociatorAtVertex",
0019 j2tParametersVX,
0020 jets = cms.InputTag("sisCone7CaloJets"),
0021 coneSize = cms.double(0.7)
0022 )
0023
0024 process.validation = cms.EDAnalyzer("JetValidation",
0025 PtMin = cms.double(5.),
0026 dRmatch = cms.double(0.25),
0027 MCarlo = cms.bool(True),
0028 calAlgo = cms.string('sisCone7CaloJets'),
0029 genAlgo = cms.string('sisCone7GenJets'),
0030 jetTracksAssociator = cms.string('JetTracksAssociatorAtVertex'),
0031 histoFileName = cms.string('JetValidation.root'),
0032 Njets = cms.int32(100)
0033 )
0034
0035 process.p = cms.Path(process.JetTracksAssociatorAtVertex * process.validation)
0036
0037 process.MessageLogger.cerr.FwkReport.reportEvery = 10
0038