Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-02-08 23:25:56

0001 import FWCore.ParameterSet.Config as cms
0002 from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import layer1truncation_proc
0003 from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import stage1truncation_proc
0004 from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import truncation_params
0005 
0006 def custom_layer1_truncation(process):
0007     parameters = layer1truncation_proc.clone()
0008     process.l1tHGCalBackEndLayer1Producer.ProcessorParameters = parameters
0009     process.l1tHGCalBackEndLayer2Producer.InputCluster = cms.InputTag('l1tHGCalBackEndLayer1Producer:HGCalBackendLayer1Processor')
0010     process.l1tHGCalTowerProducer.InputTriggerCells = cms.InputTag('l1tHGCalBackEndLayer1Producer:HGCalBackendLayer1Processor')
0011     return process
0012 
0013 def custom_stage1_truncation(process):
0014     parameters = stage1truncation_proc.clone()
0015     process.l1tHGCalBackEndLayer1Producer.ProcessorParameters = parameters
0016     process.l1tHGCalBackEndLayer2Producer.InputCluster = cms.InputTag('l1tHGCalBackEndStage1Producer:HGCalBackendStage1Processor')
0017     process.l1tHGCalTowerProducer.InputTriggerCells = cms.InputTag('l1tHGCalBackEndStage1Producer:HGCalBackendStage1Processor')
0018     return process
0019 
0020 def custom_clustering_standalone(process):
0021     process.l1tHGCalBackEndLayer2Producer.ProcessorParameters.ProcessorName = cms.string('HGCalBackendLayer2Processor3DClusteringSA')
0022     process.l1tHGCalBackEndLayer2Producer.ProcessorParameters.DistributionParameters = truncation_params
0023     return process
0024 
0025 def custom_tower_standalone(process):
0026     process.l1tHGCalTowerProducer.ProcessorParameters.ProcessorName = cms.string('HGCalTowerProcessorSA')
0027     return process