Open
Description
Just accidentally see that we have improper naming of several gun samples when AddAntiParticle = cms.bool(True)
is used. The name should be DoubleParticle
not SingleParticle
as the gen products include 2 particles. This follows the discussion in #33499 (comment).
For example,
https://github.com/cms-sw/cmssw/blob/master/Configuration/Generator/python/SinglePiPt10_pythia8_cfi.py
This file use the same structure, but use Double instead of Single:
https://github.com/cms-sw/cmssw/blob/master/Configuration/Generator/python/DoubleElectronFlatPt1p5To8_cfi.py
It seems there are two ways to make config follows the name convention:
- Set
AddAntiParticle = cms.bool(False)
, so we get single particle or - Name it as Double