/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
IOMC/EventVertexGenerators/python/VtxSmearedRealistic_cfi.py
15 строк
678 B
Chris Winter
New Tau Embedding process modifiers (#6)
12 сен 2025, 18:30
Не верифицирован
12 сен 2025, 18:30
164e69d
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # Load BetafuncEvtVtxGenerator and read parameters from GT (SimBeamSpotObjectRcd) from IOMC.EventVertexGenerators.BetafuncEvtVtxGenerator_cfi import BetafuncEvtVtxGenerator VtxSmeared = BetafuncEvtVtxGenerator.clone( src = "generator:unsmeared", readDB = True ) ## ## Set the the vertex used for the simulation to the measured vertex for the tau embedding method ## from Configuration.ProcessModifiers.tau_embedding_sim_cff import tau_embedding_sim from TauAnalysis.MCEmbeddingTools.Simulation_GEN_cfi import tau_embedding_vtx_corrected_to_input tau_embedding_sim.toReplaceWith(VtxSmeared, tau_embedding_vtx_corrected_to_input)