6 if links==
'signaldriven':
7 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_signaldriven_0.txt'
8 elif links==
'pudriven':
9 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_march20_0.txt'
11 raise RuntimeError(
'Unknown links mapping "{}". Options are "signaldriven" or "pudriven".'.
format(links))
13 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp2')
14 elif implementation==2:
15 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp3')
16 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
17 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorModuleSize = cms.uint32(6)
18 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_V11_decentralized_march20_2.txt")
19 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(links_mapping)
20 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
21 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorLinksPerModule = cms.uint32(2)
22 process.hgcalTriggerGeometryESProducer.TriggerGeometry.JsonMappingFile = cms.FileInPath(
"L1Trigger/L1THGCal/data/hgcal_trigger_link_mapping_v1.json")