/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Validation/RecoVertex/python/pvSelectionSequence_cff.py
24 строки
1 KB
NiharSaha
Drop type specs in RecoTau and RecoVertex
15 дек 2021, 23:42
15 дек 2021, 23:42
89b3e72
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # one PV goodVertices = cms.EDFilter("VertexSelector", src = cms.InputTag("offlinePrimaryVertices"), # cut = cms.string("!isFake && ndof >= 5 && abs(z) <= 15 && position.Rho <= 2"), # old cut # cut = cms.string("!isFake && ndof >= 5 && abs(z) <= 24 && position.Rho <= 2"), cut = cms.string("!isFake && ndof > 4 && abs(z) <= 30 && position.Rho <= 2"), filter = cms.bool(False), # otherwise it won't filter the events, just produce an empty vertex collection. ) noFakeVertices = goodVertices.clone(cut=cms.string("!isFake")) goodVerticesD0s5 = goodVertices.clone(src = "offlinePrimaryVerticesD0s5") goodVerticesD0s51mm = goodVertices.clone(src = "offlinePrimaryVerticesD0s51mm") goodVerticesDA100um = goodVertices.clone(src = "offlinePrimaryVerticesDA100um") goodVerticesDA100umV7 = goodVertices.clone(src = "offlinePrimaryVerticesDA100umV7") goodVerticesDA100umV8 = goodVertices.clone(src = "offlinePrimaryVerticesDA100umV8") seqPVSelection = cms.Sequence(goodVertices + noFakeVertices + goodVerticesD0s5 + goodVerticesD0s51mm + goodVerticesDA100um + goodVerticesDA100umV7 + goodVerticesDA100umV8 ) seqSimplePVSelection = cms.Sequence(goodVertices + noFakeVertices)