Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-29 22:57:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Demo")
0004 #keep the logging output to a nice level
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 process.load("Configuration.StandardSequences.MagneticField_cff")
0008 
0009 process.load("Configuration.StandardSequences.Services_cff")
0010 
0011 process.load("Configuration.StandardSequences.GeometryDB_cff")
0012 
0013 process.load("Configuration.StandardSequences.FakeConditions_cff")
0014 
0015 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0016 
0017 process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByChi2_cfi")
0018 
0019 process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi")
0020 
0021 process.source = cms.Source("PoolSource",
0022     fileNames = cms.untracked.vstring(
0023        '/store/relval/CMSSW_2_1_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0002/04983078-9082-DD11-BB8C-0019DB2F3F9B.root')
0024 )
0025 
0026 process.simpleVertexAnalysis = cms.EDAnalyzer("KVFTest",
0027     KVFParameters = cms.PSet(
0028         maxDistance = cms.double(0.01),
0029         maxNbrOfIterations = cms.int32(10)
0030     ),
0031     outputFile = cms.untracked.string('simpleVertexAnalyzer.root'),
0032     TrackLabel = cms.string('generalTracks')
0033 )
0034 
0035 process.p = cms.Path(process.simpleVertexAnalysis)
0036 
0037