CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/SimGeneral/MixingModule/python/MatchRecVtx_cfi.py

Go to the documentation of this file.
00001 # match GEN vertex to RECO vertex for DataMixer, including pixel offset:
00002 # https://hypernews.cern.ch/HyperNews/CMS/get/physics-validation/301.html
00003 
00004 import FWCore.ParameterSet.Config as cms
00005  
00006 from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import *
00007 matchRecVtx = cms.EDProducer("MixEvtVtxGenerator",
00008                              signalLabel = cms.InputTag("generator"), 
00009                              heavyIonLabel = cms.InputTag("offlinePrimaryVertices"),
00010                              useRecVertex = cms.bool(True),
00011                              vtxOffset = cms.vdouble(0.1475, 0.3782, 0.4847)
00012                              )