/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoVertex/ConfigurableVertexReco/test/default.py
43 строки
2 KB
Shahzad Malik Muzaffar
updated python modules to use CommonTopologies
29 ноя 2019, 14:07
29 ноя 2019, 14:07
e3e3f81
Код
Авторство
О чём код?
#!/usr/bin/env cmsRun import FWCore.ParameterSet.Config as cms process = cms.Process("cvrtest") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.load("Configuration.StandardSequences.MagneticField_cff") process.load("Configuration.StandardSequences.GeometryIdeal_cff") # process.load("Geometry.CMSCommonData.cmsAllGeometryXML_cfi") # process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi") # process.load("Geometry.CommonTopologies.bareGlobalTrackingGeometry_cfi") # process.load("Configuration.StandardSequences.AlCaRecoStreams_cff") # process.load("Configuration.StandardSequences.OfflineDQM_cff") process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") process.GlobalTag.globaltag = cms.string('STARTUP_V4::All') process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi") process.load("RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi") process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff") # GlobalTrackingGeometryRecord process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValBJets_Pt_50_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V7_v2/0000/246E6DD9-B299-DD11-987C-000423D6B2D8.root') ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1)) process.cVRTest = cms.EDFilter("CVRTest", trackcoll = cms.string('generalTracks'), vertexreco = cms.PSet( seccut = cms.double(6.0), primcut = cms.double(2.0), smoothing = cms.bool(False), finder = cms.string('avr'), minweight = cms.double(0.5), weightthreshold = cms.double(0.001) ), vertexcoll = cms.string('offlinePrimaryVertices'), beamspot = cms.string('offlineBeamSpot') ) process.p = cms.Path( process.offlinePrimaryVertices + process.cVRTest ) process.MessageLogger.debugModules = ['cVRTest']