Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("AnalyzeTracks")
0004 #keep the logging output to a nice level
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 process.source = cms.Source("PoolSource",
0008     maxEvents = cms.untracked.int32(-1),
0009     fileNames = cms.untracked.vstring('file:pv_reco.root')
0010 )
0011 
0012 process.simpleTrackParameterAnalysis = cms.EDAnalyzer("TrackParameterAnalyzer",
0013     simG4 = cms.InputTag("g4SimHits"),
0014     outputFile = cms.untracked.string('simpleTrackAnalyzer.root'),
0015     verbose = cms.untracked.bool(True),
0016     vtxSample = cms.untracked.string('offlinePrimaryVertices'),
0017     recoTrackProducer = cms.untracked.string('generalTracks')
0018 )
0019 
0020 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0021 
0022 process.Tracer = cms.Service("Tracer",
0023     indention = cms.untracked.string('$$')
0024 )
0025 
0026 process.p = cms.Path(process.simpleTrackParameterAnalysis*process.dump)
0027 
0028