Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def L1NNCaloTauEmulator(**kwargs):
0004   mod = cms.EDProducer('L1NNCaloTauEmulator',
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     PuidThr = cms.double(-0.1),
0044     CNNmodel_CB_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/CNNmodel_CB.pb'),
0045     DNNident_CB_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNident_CB.pb'),
0046     DNNcalib_CB_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNcalib_CB.pb'),
0047     CNNmodel_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/CNNmodel_CE.pb'),
0048     DNNident_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNident_CE.pb'),
0049     DNNcalib_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/v22/DNNcalib_CE.pb'),
0050     FeatScaler_CE_path = cms.string('L1Trigger/L1CaloTrigger/data/Phase2_NNCaloTaus/Cl3dFeatScaler_CE.json'),
0051     IdWp90_CB = cms.double(0.706),
0052     IdWp95_CB = cms.double(0.3432),
0053     IdWp99_CB = cms.double(0.0337),
0054     IdWp90_CE = cms.double(0.5711),
0055     IdWp95_CE = cms.double(0.2742),
0056     IdWp99_CE = cms.double(0.0394),
0057     DEBUG = cms.bool(False),
0058     mightGet = cms.optional.untracked.vstring
0059   )
0060   for k,v in kwargs.items():
0061     setattr(mod, k, v)
0062   return mod