Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:08

0001 #!/usr/bin/env cmsRun
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("cvrtest")
0006 
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 process.load("Configuration.StandardSequences.GeometryIdeal_cff")
0010 # process.load("Geometry.CMSCommonData.cmsAllGeometryXML_cfi")
0011 # process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0012 # process.load("Geometry.CommonTopologies.bareGlobalTrackingGeometry_cfi")
0013 # process.load("Configuration.StandardSequences.AlCaRecoStreams_cff")
0014 # process.load("Configuration.StandardSequences.OfflineDQM_cff")
0015 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 process.GlobalTag.globaltag = cms.string('STARTUP_V4::All')
0017 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0018 process.load("RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi")
0019 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff")
0020 # GlobalTrackingGeometryRecord
0021 
0022 process.source = cms.Source("PoolSource",
0023     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')
0024 )
0025 
0026 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1))
0027 
0028 process.cVRTest = cms.EDFilter("CVRTest",
0029     trackcoll = cms.string('generalTracks'),
0030     vertexreco = cms.PSet(
0031         seccut = cms.double(6.0),
0032         primcut = cms.double(2.0),
0033         smoothing = cms.bool(False),
0034         finder = cms.string('avr'),
0035         minweight = cms.double(0.5),
0036         weightthreshold = cms.double(0.001)
0037     ),
0038     vertexcoll = cms.string('offlinePrimaryVertices'),
0039     beamspot = cms.string('offlineBeamSpot')
0040 )
0041 
0042 process.p = cms.Path( process.offlinePrimaryVertices + process.cVRTest )
0043 process.MessageLogger.debugModules = ['cVRTest']
0044