CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MatchRecVtx_cfi.py
Go to the documentation of this file.
1 # match GEN vertex to RECO vertex for DataMixer, including pixel offset:
2 # https://hypernews.cern.ch/HyperNews/CMS/get/physics-validation/301.html
3 
4 import FWCore.ParameterSet.Config as cms
5 
7 matchRecVtx = cms.EDProducer("MixEvtVtxGenerator",
8  signalLabel = cms.InputTag("generator","unsmeared"),
9  heavyIonLabel = cms.InputTag("offlinePrimaryVertices"),
10  useRecVertex = cms.bool(True),
11  vtxOffset = cms.vdouble(0.1475, 0.3782, 0.4847)
12  )
set to 1 (or greater) for printouts