Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:14

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def L1GTDoubleObjectCond(*args, **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       minQualityScore = cms.optional.uint32,
0018       maxQualityScore = cms.optional.uint32,
0019       qualityFlags = cms.optional.uint32,
0020       regions = cms.vuint32(),
0021       minAbsEta = cms.optional.double,
0022       maxAbsEta = cms.optional.double,
0023       minIsolationPt = cms.optional.double,
0024       maxIsolationPt = cms.optional.double,
0025       minRelIsolationPt = cms.optional.double,
0026       maxRelIsolationPt = cms.optional.double,
0027       regionsAbsEtaLowerBounds = cms.vdouble(),
0028       regionsMinPt = cms.vdouble(),
0029       regionsMaxRelIsolationPt = cms.vdouble(),
0030       regionsQualityFlags = cms.vuint32(),
0031       minPrimVertDz = cms.optional.double,
0032       maxPrimVertDz = cms.optional.double,
0033       primVertex = cms.optional.uint32,
0034       minPtMultiplicityN = cms.uint32(0),
0035       minPtMultiplicityCut = cms.optional.double
0036     ),
0037     collection2 = cms.PSet(
0038       tag = cms.required.InputTag,
0039       minPt = cms.optional.double,
0040       maxPt = cms.optional.double,
0041       minEta = cms.optional.double,
0042       maxEta = cms.optional.double,
0043       minPhi = cms.optional.double,
0044       maxPhi = cms.optional.double,
0045       minZ0 = cms.optional.double,
0046       maxZ0 = cms.optional.double,
0047       minScalarSumPt = cms.optional.double,
0048       maxScalarSumPt = cms.optional.double,
0049       minQualityScore = cms.optional.uint32,
0050       maxQualityScore = cms.optional.uint32,
0051       qualityFlags = cms.optional.uint32,
0052       regions = cms.vuint32(),
0053       minAbsEta = cms.optional.double,
0054       maxAbsEta = cms.optional.double,
0055       minIsolationPt = cms.optional.double,
0056       maxIsolationPt = cms.optional.double,
0057       minRelIsolationPt = cms.optional.double,
0058       maxRelIsolationPt = cms.optional.double,
0059       regionsAbsEtaLowerBounds = cms.vdouble(),
0060       regionsMinPt = cms.vdouble(),
0061       regionsMaxRelIsolationPt = cms.vdouble(),
0062       regionsQualityFlags = cms.vuint32(),
0063       minPrimVertDz = cms.optional.double,
0064       maxPrimVertDz = cms.optional.double,
0065       primVertex = cms.optional.uint32,
0066       minPtMultiplicityN = cms.uint32(0),
0067       minPtMultiplicityCut = cms.optional.double
0068     ),
0069     primVertTag = cms.required.InputTag,
0070     sanity_checks = cms.untracked.bool(False),
0071     inv_mass_checks = cms.untracked.bool(False),
0072     minDEta = cms.optional.double,
0073     maxDEta = cms.optional.double,
0074     minDPhi = cms.optional.double,
0075     maxDPhi = cms.optional.double,
0076     minDR = cms.optional.double,
0077     maxDR = cms.optional.double,
0078     minDz = cms.optional.double,
0079     maxDz = cms.optional.double,
0080     minInvMass = cms.optional.double,
0081     maxInvMass = cms.optional.double,
0082     minTransMass = cms.optional.double,
0083     maxTransMass = cms.optional.double,
0084     minCombPt = cms.optional.double,
0085     maxCombPt = cms.optional.double,
0086     minInvMassOverDR = cms.optional.double,
0087     maxInvMassOverDR = cms.optional.double,
0088     os = cms.bool(False),
0089     ss = cms.bool(False),
0090     cosh_eta_lut = cms.PSet(
0091       lut = cms.required.vint32,
0092       output_scale_factor = cms.required.double,
0093       unused_lsbs = cms.required.uint32,
0094       max_error = cms.required.double
0095     ),
0096     cosh_eta_lut2 = cms.PSet(
0097       lut = cms.required.vint32,
0098       output_scale_factor = cms.required.double,
0099       unused_lsbs = cms.required.uint32,
0100       max_error = cms.required.double
0101     ),
0102     cos_phi_lut = cms.PSet(
0103       lut = cms.required.vint32,
0104       output_scale_factor = cms.required.double,
0105       unused_lsbs = cms.required.uint32,
0106       max_error = cms.required.double
0107     ),
0108     scales = cms.PSet(
0109       pT_lsb = cms.required.double,
0110       phi_lsb = cms.required.double,
0111       eta_lsb = cms.required.double,
0112       z0_lsb = cms.required.double,
0113       isolationPT_lsb = cms.required.double,
0114       beta_lsb = cms.required.double,
0115       mass_lsb = cms.required.double,
0116       seed_pT_lsb = cms.required.double,
0117       seed_z0_lsb = cms.required.double,
0118       scalarSumPT_lsb = cms.required.double,
0119       sum_pT_pv_lsb = cms.required.double,
0120       pos_chg = cms.required.int32,
0121       neg_chg = cms.required.int32
0122     ),
0123     mightGet = cms.optional.untracked.vstring
0124   )
0125   for a in args:
0126     mod.update_(a)
0127   mod.update_(kwargs)
0128   return mod