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 L1GTDoubleObjectCond(**kwargs):
0004   mod = cms.EDFilter('L1GTDoubleObjectCond',
0005     collection1 = cms.PSet(
0006       tag = cms.required.InputTag,
0007       minPt = cms.optional.double,
0008       maxPt = cms.optional.double,
0009       minEta = cms.optional.double,
0010       maxEta = cms.optional.double,
0011       minPhi = cms.optional.double,
0012       maxPhi = cms.optional.double,
0013       minZ0 = cms.optional.double,
0014       maxZ0 = cms.optional.double,
0015       minScalarSumPt = cms.optional.double,
0016       maxScalarSumPt = cms.optional.double,
0017       qual = cms.vuint32(),
0018       minAbsEta = cms.optional.double,
0019       maxAbsEta = cms.optional.double,
0020       maxIso = cms.optional.double,
0021       minHwIso = cms.optional.int32,
0022       regionsAbsEtaLowerBounds = cms.vdouble(),
0023       regionsMinPt = cms.vdouble(),
0024       regionsMaxIso = cms.vdouble(),
0025       regionsQual = cms.vuint32()
0026     ),
0027     collection2 = cms.PSet(
0028       tag = cms.required.InputTag,
0029       minPt = cms.optional.double,
0030       maxPt = cms.optional.double,
0031       minEta = cms.optional.double,
0032       maxEta = cms.optional.double,
0033       minPhi = cms.optional.double,
0034       maxPhi = cms.optional.double,
0035       minZ0 = cms.optional.double,
0036       maxZ0 = cms.optional.double,
0037       minScalarSumPt = cms.optional.double,
0038       maxScalarSumPt = cms.optional.double,
0039       qual = cms.vuint32(),
0040       minAbsEta = cms.optional.double,
0041       maxAbsEta = cms.optional.double,
0042       maxIso = cms.optional.double,
0043       minHwIso = cms.optional.int32,
0044       regionsAbsEtaLowerBounds = cms.vdouble(),
0045       regionsMinPt = cms.vdouble(),
0046       regionsMaxIso = cms.vdouble(),
0047       regionsQual = cms.vuint32()
0048     ),
0049     sanity_checks = cms.untracked.bool(False),
0050     inv_mass_checks = cms.untracked.bool(False),
0051     minDEta = cms.optional.double,
0052     maxDEta = cms.optional.double,
0053     minDPhi = cms.optional.double,
0054     maxDPhi = cms.optional.double,
0055     minDR = cms.optional.double,
0056     maxDR = cms.optional.double,
0057     minDz = cms.optional.double,
0058     maxDz = cms.optional.double,
0059     minInvMass = cms.optional.double,
0060     maxInvMass = cms.optional.double,
0061     minTransMass = cms.optional.double,
0062     maxTransMass = cms.optional.double,
0063     minCombPt = cms.optional.double,
0064     maxCombPt = cms.optional.double,
0065     os = cms.bool(False),
0066     ss = cms.bool(False),
0067     cosh_eta_lut = cms.PSet(
0068       lut = cms.required.vint32,
0069       output_scale_factor = cms.required.double,
0070       unused_lsbs = cms.required.uint32,
0071       max_error = cms.required.double
0072     ),
0073     cosh_eta_lut2 = cms.PSet(
0074       lut = cms.required.vint32,
0075       output_scale_factor = cms.required.double,
0076       unused_lsbs = cms.required.uint32,
0077       max_error = cms.required.double
0078     ),
0079     cos_phi_lut = cms.PSet(
0080       lut = cms.required.vint32,
0081       output_scale_factor = cms.required.double,
0082       unused_lsbs = cms.required.uint32,
0083       max_error = cms.required.double
0084     ),
0085     scales = cms.PSet(
0086       pT_lsb = cms.required.double,
0087       phi_lsb = cms.required.double,
0088       eta_lsb = cms.required.double,
0089       z0_lsb = cms.required.double,
0090       isolation_lsb = cms.required.double,
0091       beta_lsb = cms.required.double,
0092       mass_lsb = cms.required.double,
0093       seed_pT_lsb = cms.required.double,
0094       seed_z0_lsb = cms.required.double,
0095       sca_sum_lsb = cms.required.double,
0096       sum_pT_pv_lsb = cms.required.double,
0097       pos_chg = cms.required.int32,
0098       neg_chg = cms.required.int32
0099     ),
0100     mightGet = cms.optional.untracked.vstring
0101   )
0102   for k,v in kwargs.items():
0103     setattr(mod, k, v)
0104   return mod