15 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp2')
16 if links==
'signaldriven':
17 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_signaldriven_0.txt' 18 elif links==
'pudriven':
19 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_march20_0.txt' 21 raise RuntimeError(
'Unknown links mapping "{}". Options are "signaldriven" or "pudriven".'.
format(links))
22 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
23 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorModuleSize = cms.uint32(6)
24 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_V11_decentralized_march20_2.txt")
25 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(links_mapping)
26 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
27 process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorLinksPerModule = cms.uint32(2)
def custom_geometry_V11_Imp2(process, links='signaldriven')