Skip to content

Naming of SingleParticle gen config #40044

Open
@srimanob

Description

@srimanob

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions