Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import FWCore.ParameterSet.Config as cms

genParticleCustomSelector = cms.EDFilter("GenParticleCustomSelector",
    src = cms.InputTag("genParticles"),
    chargedOnly = cms.bool(True),
    status = cms.int32(1),
    pdgId = cms.vint32(),
    tip = cms.double(3.5),
    minRapidity = cms.double(-2.4),
    lip = cms.double(30.0),
    ptMin = cms.double(0.9),
    maxRapidity = cms.double(2.4),
    minPhi = cms.double(-3.2),
    maxPhi = cms.double( 3.2),
    invertRapidityCut = cms.bool(False)
)