File indexing completed on 2024-08-27 22:59:18
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def L1NNCaloTauProducer(**kwargs):
0004 mod = cms.EDProducer('L1NNCaloTauProducer',
0005 l1CaloTowers = cms.InputTag('l1tEGammaClusterEmuProducer', 'L1CaloTowerCollection'),
0006 hgcalTowers = cms.InputTag('l1tHGCalTowerProducer', 'HGCalTowerProcessor'),
0007 HgcalClusters = cms.InputTag('l1tHGCalBackEndLayer2Producer', 'HGCalBackendLayer2Processor3DClustering'),
0008 preEmId = cms.string('hOverE < 0.3 && hOverE >= 0'),
0009 VsPuId = cms.PSet(
0010 isPUFilter = cms.bool(True),
0011 preselection = cms.string(''),
0012 method = cms.string('BDT'),
0013 variables = cms.VPSet(
0014 cms.PSet(
0015 name = cms.string('eMax'),
0016 value = cms.string('eMax()')
0017 ),
0018 cms.PSet(
0019 name = cms.string('eMaxOverE'),
0020 value = cms.string('eMax()/energy()')
0021 ),
0022 cms.PSet(
0023 name = cms.string('sigmaPhiPhiTot'),
0024 value = cms.string('sigmaPhiPhiTot()')
0025 ),
0026 cms.PSet(
0027 name = cms.string('sigmaRRTot'),
0028 value = cms.string('sigmaRRTot()')
0029 ),
0030 cms.PSet(
0031 name = cms.string('triggerCells90percent'),
0032 value = cms.string('triggerCells90percent()')
0033 )
0034 ),
0035 weightsFile = cms.string('L1Trigger/Phase2L1ParticleFlow/data/hgcal_egID/Photon_Pion_vs_Neutrino_BDTweights_1116.xml.gz'),
0036 wp = cms.string('-0.10')
0037 ),
0038 EcalEtMinForClustering = cms.double(0),
0039 HcalEtMinForClustering = cms.double(0),
0040 EtMinForSeeding = cms.double(2.5),
0041 EtaRestriction = cms.double(2.4),
0042 CB_CE_split = cms.double(1.55),
0043 CNNmodel_CB_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/CNNmodel_CB.pb'),
0044 DNNident_CB_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNident_CB.pb'),
0045 DNNcalib_CB_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNcalib_CB.pb'),
0046 CNNmodel_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/CNNmodel_CE.pb'),
0047 DNNident_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNident_CE.pb'),
0048 DNNcalib_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNcalib_CE.pb'),
0049 FeatScaler_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/Cl3dFeatScaler_CE.json'),
0050 IdWp90_CB = cms.double(0.706),
0051 IdWp95_CB = cms.double(0.3432),
0052 IdWp99_CB = cms.double(0.0337),
0053 IdWp90_CE = cms.double(0.5711),
0054 IdWp95_CE = cms.double(0.2742),
0055 IdWp99_CE = cms.double(0.0394),
0056 DEBUG = cms.bool(False),
0057 mightGet = cms.optional.untracked.vstring
0058 )
0059 for k,v in kwargs.items():
0060 setattr(mod, k, v)
0061 return mod