CMS 3D CMS Logo

customNewProcessors.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import layer1truncation_proc
3 from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import stage1truncation_proc
4 from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import truncation_params
5 
7  parameters = layer1truncation_proc.clone()
8  process.hgcalBackEndLayer1Producer.ProcessorParameters = parameters
9  process.hgcalBackEndLayer2Producer.InputCluster = cms.InputTag('hgcalBackEndLayer1Producer:HGCalBackendLayer1Processor')
10  process.hgcalTowerProducer.InputTriggerCells = cms.InputTag('hgcalBackEndLayer1Producer:HGCalBackendLayer1Processor')
11  return process
12 
14  parameters = stage1truncation_proc.clone()
15  process.hgcalBackEndLayer1Producer.ProcessorParameters = parameters
16  process.hgcalBackEndLayer2Producer.InputCluster = cms.InputTag('hgcalBackEndStage1Producer:HGCalBackendStage1Processor')
17  process.hgcalTowerProducer.InputTriggerCells = cms.InputTag('hgcalBackEndStage1Producer:HGCalBackendStage1Processor')
18  return process
19 
21  process.hgcalBackEndLayer2Producer.ProcessorParameters.ProcessorName = cms.string('HGCalBackendLayer2Processor3DClusteringSA')
22  process.hgcalBackEndLayer2Producer.ProcessorParameters.DistributionParameters = truncation_params
23  return process
24 
26  process.hgcalTowerProducer.ProcessorParameters.ProcessorName = cms.string('HGCalTowerProcessorSA')
27  return process
def custom_layer1_truncation(process)
def custom_stage1_truncation(process)
def custom_clustering_standalone(process)
def custom_tower_standalone(process)