File indexing completed on 2024-09-26 05:06:19
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def L2MuonIsolationProducer(*args, **kwargs):
0004 mod = cms.EDProducer('L2MuonIsolationProducer',
0005 StandAloneCollectionLabel = cms.InputTag('hltL2MuonCandidates'),
0006 ExtractorPSet = cms.PSet(
0007 DR_Veto_H = cms.double(0.1),
0008 Vertex_Constraint_Z = cms.bool(False),
0009 Threshold_H = cms.double(0.5),
0010 ComponentName = cms.string('CaloExtractor'),
0011 Threshold_E = cms.double(0.2),
0012 DR_Max = cms.double(1),
0013 DR_Veto_E = cms.double(0.07),
0014 Weight_E = cms.double(1.5),
0015 Vertex_Constraint_XY = cms.bool(False),
0016 DepositLabel = cms.untracked.string('EcalPlusHcal'),
0017 CaloTowerCollectionLabel = cms.InputTag('towerMaker'),
0018 Weight_H = cms.double(1)
0019 ),
0020 IsolatorPSet = cms.PSet(
0021 ConeSizesRel = cms.vdouble(0.3),
0022 EffAreaSFEndcap = cms.double(1),
0023 CutAbsoluteIso = cms.bool(True),
0024 AndOrCuts = cms.bool(True),
0025 RhoSrc = cms.InputTag('hltKT6CaloJetsForMuons', 'rho'),
0026 ConeSizes = cms.vdouble(0.3),
0027 ComponentName = cms.string('CutsIsolatorWithCorrection'),
0028 ReturnRelativeSum = cms.bool(False),
0029 RhoScaleBarrel = cms.double(1),
0030 EffAreaSFBarrel = cms.double(1),
0031 CutRelativeIso = cms.bool(False),
0032 EtaBounds = cms.vdouble(2.411),
0033 Thresholds = cms.vdouble(99999999),
0034 ReturnAbsoluteSum = cms.bool(True),
0035 EtaBoundsRel = cms.vdouble(2.411),
0036 ThresholdsRel = cms.vdouble(99999999),
0037 RhoScaleEndcap = cms.double(1),
0038 RhoMax = cms.double(99999999),
0039 UseRhoCorrection = cms.bool(True)
0040 ),
0041 WriteIsolatorFloat = cms.bool(False),
0042 mightGet = cms.optional.untracked.vstring
0043 )
0044 for a in args:
0045 mod.update_(a)
0046 mod.update_(kwargs)
0047 return mod