CMS 3D CMS Logo

caloTruthCells_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from L1Trigger.L1THGCalUtilities.caloTruthCellsProducer_cfi import l1tCaloTruthCellsProducer
4 
5 L1TCaloTruthCells = cms.Sequence(l1tCaloTruthCellsProducer)
6 
7 if l1tCaloTruthCellsProducer.makeCellsCollection:
8 
9 
10  from L1Trigger.L1THGCal.l1tHGCalConcentratorProducer_cfi import l1tHGCalConcentratorProducer
11  from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import l1tHGCalBackEndLayer1Producer
12  from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import l1tHGCalBackEndLayer2Producer
13  from L1Trigger.L1THGCal.l1tHGCalTowerMapProducer_cfi import l1tHGCalTowerMapProducer
14  from L1Trigger.L1THGCal.l1tHGCalTowerProducer_cfi import l1tHGCalTowerProducer
15 
16  l1tHGCalTruthConcentratorProducer = l1tHGCalConcentratorProducer.clone(
17  InputTriggerCells = cms.InputTag('l1tCaloTruthCellsProducer')
18  )
19 
20  l1tHGCalTruthBackEndLayer1Producer = l1tHGCalBackEndLayer1Producer.clone(
21  InputTriggerCells = cms.InputTag('l1tHGCalTruthConcentratorProducer:HGCalConcentratorProcessorSelection')
22  )
23 
24  l1tHGCalTruthBackEndLayer2Producer = l1tHGCalBackEndLayer2Producer.clone(
25  InputCluster = cms.InputTag('l1tHGCalTruthBackEndLayer1Producer:HGCalBackendLayer1Processor2DClustering')
26  )
27 
28  l1tHGCalTruthTowerMapProducer = l1tHGCalTowerMapProducer.clone(
29  InputTriggerCells = cms.InputTag('l1tCaloTruthCellsProducer')
30  )
31 
32  l1tHGCalTruthTowerProducer = l1tHGCalTowerProducer.clone(
33  InputTowerMaps = cms.InputTag('l1tHGCalTruthTowerMapProducer:HGCalTowerMapProcessor')
34  )
35 
36  L1TCaloTruthCells += cms.Sequence(
37  l1tHGCalTruthConcentratorProducer *
38  l1tHGCalTruthBackEndLayer1Producer *
39  l1tHGCalTruthBackEndLayer2Producer *
40  l1tHGCalTruthTowerMapProducer *
41  l1tHGCalTruthTowerProducer
42  )