cms-nanoAOD / nanoAOD-tools

Tools for working with NanoAOD (requiring only python + root, not CMSSW)
42 stars 326 forks source link

Possible bug in pudensity #279

Open swozniewski opened 3 years ago

swozniewski commented 3 years ago

https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/plugins/NPUTablesProducer.cc#L64-L65

PU vertices within an interval of 0.2 cm (0.1 in both directions) around the reference vertex are counted, but the description of the resulting quantity pudensity implies that the resulting number corresponds to number of PU vertices / mm (off by a factor of two). If treated differently in outside nanoAOD, this may lead to incompatibilities.

gouskos commented 3 years ago

FYI: @rappoccio @camclean @lathomas @kirschenmann