/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
PhysicsTools/CandAlgos/python/EventShapeVars_cff.py
22 строки
908 B
Kevin Pedro
optimize and clean up EventShapeVariables code, add Fox-Wolfram moments
09 мар 2018, 21:09
09 мар 2018, 21:09
188ef26
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms import copy caloEventShapeVars = cms.EDProducer("EventShapeVarsProducer", # name of input collection used for computation of event-shape variables # (any collection of objects inheriting from reco::Candidate can be used as input) src = cms.InputTag("towerMaker"), # momentum dependence of sphericity and aplanarity variables and of C and D quantities # (r = 2. corresponds to the conventionally used default, but raises issues of infrared safety in QCD calculations; # see https://arxiv.org/pdf/hep-ph/0603175v2.pdf#page=524 for more details) r = cms.double(2.), # number of Fox-Wolfram moments to compute fwmax = cms.uint32(0), ) pfEventShapeVars = caloEventShapeVars.clone( src = cms.InputTag("pfNoPileUp") ) produceEventShapeVars = cms.Sequence( caloEventShapeVars * pfEventShapeVars )