File indexing completed on 2024-11-23 03:28:14
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def L1TCorrelatorLayer1Producer(*args, **kwargs):
0004 mod = cms.EDProducer('L1TCorrelatorLayer1Producer',
0005 tracks = cms.InputTag(''),
0006 muons = cms.InputTag('l1tSAMuonsGmt', 'prompt'),
0007 emClusters = cms.VInputTag(),
0008 hadClusters = cms.VInputTag(),
0009 vtxCollection = cms.InputTag('l1tVertexFinderEmulator', 'L1VerticesEmulation'),
0010 vtxCollectionEmulation = cms.bool(True),
0011 emPtCut = cms.double(0),
0012 hadPtCut = cms.double(0),
0013 trkPtCut = cms.double(0),
0014 nVtx = cms.required.int32,
0015 trackInputConversionAlgo = cms.string('Ideal'),
0016 muonInputConversionAlgo = cms.string('Ideal'),
0017 hgcalInputConversionAlgo = cms.string('Ideal'),
0018 regionizerAlgo = cms.string('Ideal'),
0019 regionizerAlgoParameters = cms.PSet(
0020 useAlsoVtxCoords = cms.bool(True),
0021 debug = cms.untracked.bool(False)
0022 ),
0023 pfAlgo = cms.string('PFAlgo3'),
0024 pfAlgoParameters = cms.PSet(
0025 nTrack = cms.uint32(25),
0026 nCalo = cms.uint32(18),
0027 nMu = cms.uint32(2),
0028 nSelCalo = cms.uint32(18),
0029 nEmCalo = cms.uint32(12),
0030 nPhoton = cms.uint32(12),
0031 nAllNeutral = cms.uint32(25),
0032 trackMuDR = cms.double(0.2),
0033 trackEmDR = cms.double(0.04),
0034 emCaloDR = cms.double(0.1),
0035 trackCaloDR = cms.double(0.15),
0036 maxInvisiblePt = cms.double(10),
0037 tightTrackMaxInvisiblePt = cms.double(20),
0038 caloResolution = cms.PSet(
0039 etaBins = cms.required.vdouble,
0040 offset = cms.required.vdouble,
0041 scale = cms.required.vdouble
0042 ),
0043 debug = cms.untracked.bool(False)
0044 ),
0045 puAlgo = cms.string('LinearizedPuppi'),
0046 puAlgoParameters = cms.PSet(
0047 nTrack = cms.required.uint32,
0048 nIn = cms.required.uint32,
0049 nOut = cms.required.uint32,
0050 nVtx = cms.uint32(1),
0051 dZ = cms.required.double,
0052 dr = cms.required.double,
0053 drMin = cms.required.double,
0054 ptMax = cms.required.double,
0055 absEtaCuts = cms.required.vdouble,
0056 ptCut = cms.required.vdouble,
0057 ptSlopes = cms.required.vdouble,
0058 ptSlopesPhoton = cms.required.vdouble,
0059 ptZeros = cms.required.vdouble,
0060 ptZerosPhoton = cms.required.vdouble,
0061 alphaSlopes = cms.required.vdouble,
0062 alphaZeros = cms.required.vdouble,
0063 alphaCrop = cms.required.vdouble,
0064 priors = cms.required.vdouble,
0065 priorsPhoton = cms.required.vdouble,
0066 nFinalSort = cms.required.uint32,
0067 finalSortAlgo = cms.string('Insertion'),
0068 fakePuppi = cms.bool(False),
0069 debug = cms.untracked.bool(False)
0070 ),
0071 tkEgAlgoParameters = cms.PSet(
0072 nTRACK = cms.required.uint32,
0073 nTRACK_EGIN = cms.required.uint32,
0074 nEMCALO_EGIN = cms.required.uint32,
0075 nEM_EGOUT = cms.required.uint32,
0076 doBremRecovery = cms.bool(False),
0077 writeBeforeBremRecovery = cms.bool(False),
0078 filterHwQuality = cms.bool(False),
0079 caloHwQual = cms.int32(4),
0080 doEndcapHwQual = cms.bool(False),
0081 dEtaMaxBrem = cms.double(0.02),
0082 dPhiMaxBrem = cms.double(0.1),
0083 absEtaBoundaries = cms.vdouble(
0084 0,
0085 0.9,
0086 1.5
0087 ),
0088 dEtaValues = cms.vdouble(
0089 0.025,
0090 0.015,
0091 0.01
0092 ),
0093 dPhiValues = cms.vdouble(
0094 0.07,
0095 0.07,
0096 0.07
0097 ),
0098 caloEtMin = cms.double(0),
0099 trkQualityPtMin = cms.double(10),
0100 writeEGSta = cms.bool(False),
0101 tkIsoParametersTkEm = cms.PSet(
0102 tkQualityPtMin = cms.required.double,
0103 dZ = cms.double(0.6),
0104 dRMin = cms.required.double,
0105 dRMax = cms.required.double
0106 ),
0107 tkIsoParametersTkEle = cms.PSet(
0108 tkQualityPtMin = cms.required.double,
0109 dZ = cms.double(0.6),
0110 dRMin = cms.required.double,
0111 dRMax = cms.required.double
0112 ),
0113 pfIsoParametersTkEm = cms.PSet(
0114 tkQualityPtMin = cms.required.double,
0115 dZ = cms.double(0.6),
0116 dRMin = cms.required.double,
0117 dRMax = cms.required.double
0118 ),
0119 pfIsoParametersTkEle = cms.PSet(
0120 tkQualityPtMin = cms.required.double,
0121 dZ = cms.double(0.6),
0122 dRMin = cms.required.double,
0123 dRMax = cms.required.double
0124 ),
0125 doTkIso = cms.bool(True),
0126 doPfIso = cms.bool(True),
0127 hwIsoTypeTkEle = cms.uint32(0),
0128 hwIsoTypeTkEm = cms.uint32(2),
0129 doCompositeTkEle = cms.bool(False),
0130 nCompCandPerCluster = cms.uint32(3),
0131 compositeParametersTkEle = cms.PSet(
0132 loose_wp = cms.double(-0.732422),
0133 tight_wp = cms.double(0.214844),
0134 model = cms.string('L1Trigger/Phase2L1ParticleFlow/data/compositeID.json')
0135 )
0136 ),
0137 tkEgSorterAlgo = cms.string('Barrel'),
0138 tkEgSorterParameters = cms.PSet(
0139 nObjToSort = cms.required.uint32,
0140 nObjSorted = cms.required.uint32
0141 ),
0142 caloSectors = cms.required.VPSet,
0143 regions = cms.required.VPSet,
0144 boards = cms.required.VPSet,
0145 dumpFileName = cms.untracked.string(''),
0146 writeRawHgcalCluster = cms.untracked.bool(False),
0147 patternWriters = cms.untracked.VPSet(
0148 ),
0149 debugEta = cms.untracked.double(0),
0150 debugPhi = cms.untracked.double(0),
0151 debugR = cms.untracked.double(-1),
0152 mightGet = cms.optional.untracked.vstring
0153 )
0154 for a in args:
0155 mod.update_(a)
0156 mod.update_(kwargs)
0157 return mod