File indexing completed on 2024-04-06 12:31:08
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("ana")
0004
0005 process.load("Configuration.StandardSequences.MagneticField_cff")
0006 process.load("SimGeneral.TrackingAnalysis.trackingParticles_cfi")
0007 process.load("SimGeneral.TrackingAnalysis.Playback_cfi")
0008 process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByChi2_cfi")
0009 process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi")
0010 process.load("SimTracker.TrackAssociation.trackingParticleRecoTrackAsssociation_cfi")
0011 process.load("SimTracker.VertexAssociation.VertexAssociatorByTracks_cfi")
0012 process.load("RecoTracker.Configuration.RecoTracker_cff")
0013
0014
0015 process.maxEvents = cms.untracked.PSet(
0016 input = cms.untracked.int32(100)
0017 )
0018
0019 readFiles = cms.untracked.vstring()
0020 secFiles = cms.untracked.vstring()
0021 process.source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0022 readFiles.extend( [
0023 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-RECO/IDEAL_V12_v1/0003/68248864-043E-DE11-86C8-001D09F290BF.root',
0024 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-RECO/IDEAL_V12_v1/0003/5EF66575-9E3D-DE11-B71D-001D09F290BF.root',
0025 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-RECO/IDEAL_V12_v1/0003/180778D9-9E3D-DE11-8FB0-001D09F24D8A.root',
0026 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-RECO/IDEAL_V12_v1/0002/64CE5CCA-9C3D-DE11-8106-001D09F231C9.root',
0027 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-RECO/IDEAL_V12_v1/0002/5A518D10-9E3D-DE11-BE13-000423D6CA72.root',
0028 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-RECO/IDEAL_V12_v1/0002/00797956-993D-DE11-AAC0-001D09F2A690.root' ] );
0029
0030
0031 secFiles.extend( [
0032 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/FC0E794B-9F3D-DE11-8969-000423D6C8E6.root',
0033 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/DE8F4018-9E3D-DE11-993A-001D09F2423B.root',
0034 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/D88A54EB-9E3D-DE11-95AC-001617DBD230.root',
0035 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/D0D136FB-033E-DE11-A44E-001D09F28D4A.root',
0036 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/8E1C5431-9E3D-DE11-AF4B-001D09F28F11.root',
0037 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/86FC99FF-9D3D-DE11-92AF-001D09F290BF.root',
0038 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/7EAEEC8E-9E3D-DE11-8BC3-001D09F231C9.root',
0039 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/664A1CAD-9F3D-DE11-95D0-001D09F241B9.root',
0040 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/648417C1-9E3D-DE11-A52F-001D09F24682.root',
0041 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/58F61F49-9E3D-DE11-9B27-001D09F2523A.root',
0042 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/58117FD8-9E3D-DE11-8EEC-001617C3B778.root',
0043 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/3A53E076-9E3D-DE11-B98A-001D09F23A84.root',
0044 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/389C28A6-9E3D-DE11-843E-001D09F2447F.root',
0045 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0003/305A2B75-9E3D-DE11-BFAB-001D09F2423B.root',
0046 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/EE5B4533-933D-DE11-AD30-001D09F24DA8.root',
0047 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/EC88F7D0-9A3D-DE11-9836-001617E30E28.root',
0048 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/E2A462B0-9D3D-DE11-A2B6-001D09F244BB.root',
0049 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/CC9E91FC-933D-DE11-972F-001D09F25109.root',
0050 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/B845EA9A-9B3D-DE11-A9F9-001617C3B6FE.root',
0051 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/B67E5CE0-9D3D-DE11-83F1-001D09F291D2.root',
0052 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/92912A15-9D3D-DE11-B3C4-001D09F24448.root',
0053 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/749492B7-993D-DE11-9FBF-001617E30F50.root',
0054 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/706DA2E3-923D-DE11-97DA-001D09F241B4.root',
0055 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/6CDD71F8-973D-DE11-A993-001D09F297EF.root',
0056 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/6694F56B-9A3D-DE11-95EA-001D09F291D7.root',
0057 '/store/relval/CMSSW_2_2_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0002/2255EDC6-9D3D-DE11-A02F-001D09F24D8A.root'] );
0058
0059
0060 process.TFileService = cms.Service("TFileService",
0061 fileName = cms.string("testVertexAssociator_PrimVtx_2210_2210.root")
0062 )
0063
0064 process.trackingParticleRecoTrackAsssociationByHits = process.trackingParticleRecoTrackAsssociation.clone(
0065 associator = 'trackAssociatorByHits'
0066 )
0067 process.trackingParticleRecoTrackAsssociationByChi2 = process.trackingParticleRecoTrackAsssociation.clone(
0068 associator = 'trackAssociatorByChi2'
0069 )
0070
0071 process.vertexAssociatorByTracksByHits = process.VertexAssociatorByTracks.clone(
0072 trackAssociation = "trackingParticleRecoTrackAsssociationByHits"
0073 )
0074
0075 process.testanalyzer = cms.EDAnalyzer("testVertexAssociator",
0076 vertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
0077 vertexAssociator = cms.untracked.InputTag('vertexAssociatorByTracksByHits'),
0078 )
0079
0080
0081 process.p = cms.Path( process.mix * process.trackingParticles *
0082 process.trackAssociatorByChi2 * process.trackAssociatorByHits *
0083 process.trackingParticleRecoTrackAsssociationByChi2 * process.trackingParticleRecoTrackAsssociationByHits *
0084 process.vertexAssociatorByTracksByHits *
0085 process.testanalyzer )
0086
0087
0088
0089
0090
0091