Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-07 14:23:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def GenParticleCustomSelector(*args, **kwargs):
0004   mod = cms.EDFilter('GenParticleCustomSelector',
0005     src = cms.InputTag(''),
0006     ptMin = cms.double(0.9),
0007     minRapidity = cms.double(-2.4),
0008     maxRapidity = cms.double(2.4),
0009     tip = cms.double(3.5),
0010     lip = cms.double(30),
0011     chargedOnly = cms.bool(True),
0012     status = cms.int32(1),
0013     pdgId = cms.vint32(),
0014     invertRapidityCut = cms.bool(False),
0015     minPhi = cms.double(-3.2),
0016     maxPhi = cms.double(3.2),
0017     filter = cms.bool(False),
0018     throwOnMissing = cms.untracked.bool(True),
0019     mightGet = cms.optional.untracked.vstring
0020   )
0021   for a in args:
0022     mod.update_(a)
0023   mod.update_(kwargs)
0024   return mod