Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def L1GTSingleObjectCond(**kwargs):
0004   mod = cms.EDFilter('L1GTSingleObjectCond',
0005     tag = cms.required.InputTag,
0006     minPt = cms.optional.double,
0007     maxPt = cms.optional.double,
0008     minEta = cms.optional.double,
0009     maxEta = cms.optional.double,
0010     minPhi = cms.optional.double,
0011     maxPhi = cms.optional.double,
0012     minZ0 = cms.optional.double,
0013     maxZ0 = cms.optional.double,
0014     minScalarSumPt = cms.optional.double,
0015     maxScalarSumPt = cms.optional.double,
0016     qual = cms.vuint32(),
0017     minAbsEta = cms.optional.double,
0018     maxAbsEta = cms.optional.double,
0019     maxIso = cms.optional.double,
0020     minHwIso = cms.optional.int32,
0021     regionsAbsEtaLowerBounds = cms.vdouble(),
0022     regionsMinPt = cms.vdouble(),
0023     regionsMaxIso = cms.vdouble(),
0024     regionsQual = cms.vuint32(),
0025     scales = cms.PSet(
0026       pT_lsb = cms.required.double,
0027       phi_lsb = cms.required.double,
0028       eta_lsb = cms.required.double,
0029       z0_lsb = cms.required.double,
0030       isolation_lsb = cms.required.double,
0031       beta_lsb = cms.required.double,
0032       mass_lsb = cms.required.double,
0033       seed_pT_lsb = cms.required.double,
0034       seed_z0_lsb = cms.required.double,
0035       sca_sum_lsb = cms.required.double,
0036       sum_pT_pv_lsb = cms.required.double,
0037       pos_chg = cms.required.int32,
0038       neg_chg = cms.required.int32
0039     ),
0040     mightGet = cms.optional.untracked.vstring
0041   )
0042   for k,v in kwargs.items():
0043     setattr(mod, k, v)
0044   return mod