Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("testJET")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
0005 
0006 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(1)
0010 )
0011 process.source = cms.Source("PoolSource",
0012     fileNames = cms.untracked.vstring('/store/relval/2008/5/20/RelVal-RelValTTbar-1211209682-FakeConditions-2nd/0000/08765709-5826-DD11-9CE8-000423D94700.root')
0013 )
0014 
0015 process.selectTracks = cms.EDFilter("TrackSelector",
0016     src = cms.InputTag("generalTracks"),
0017     cut = cms.string('pt > 0.9 & numberOfValidHits > 7 & d0 <= 3.5 & dz <= 30')
0018 )
0019 
0020 process.allTracks = cms.EDProducer("ConcreteChargedCandidateProducer",
0021     src = cms.InputTag("selectTracks"),
0022     particleType = cms.string('pi+')
0023 )
0024 
0025 process.trackJet = cms.EDProducer("IterativeConeJetProducer",
0026     src = cms.InputTag("allTracks"),
0027     verbose = cms.untracked.bool(False),
0028     inputEtMin = cms.double(0.0),
0029     coneRadius = cms.double(0.5),
0030     alias = cms.untracked.string('IC5TracksJet'),
0031     seedThreshold = cms.double(1.0),
0032     debugLevel = cms.untracked.int32(0),
0033     jetType = cms.untracked.string('BasicJet'),
0034     inputEMin = cms.double(0.0)
0035 )
0036 
0037 process.printEvent = cms.EDAnalyzer("printTrackJet",
0038     src = cms.InputTag("trackJet")
0039 )
0040 
0041 process.printEventNumber = cms.OutputModule("AsciiOutputModule")
0042 
0043 process.p = cms.Path(process.selectTracks*process.allTracks*process.trackJet*process.printEvent)
0044 process.outpath = cms.EndPath(process.printEventNumber)
0045 process.MessageLogger.cerr.default.limit = 1
0046 
0047