1 import FWCore.ParameterSet.Config
as cms
5 if links==
'signaldriven':
6 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_signaldriven_0.txt'
7 elif links==
'pudriven':
8 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_march20_0.txt'
10 raise RuntimeError(
'Unknown links mapping "{}". Options are "signaldriven" or "pudriven".'.
format(links))
11 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp2')
12 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
13 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorModuleSize = cms.uint32(6)
14 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_V11_decentralized_march20_1.txt")
15 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(links_mapping)
16 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
17 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorLinksPerModule = cms.uint32(2)
22 if links==
'signaldriven':
23 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_decentralized_signaldriven_0.txt'
24 elif links==
'pudriven':
25 links_mapping =
'L1Trigger/L1THGCal/data/links_mapping_decentralized_jun19_0.txt'
27 raise RuntimeError(
'Unknown links mapping "{}". Options are "signaldriven" or "pudriven".'.
format(links))
29 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp1')
30 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_8inch_aligned_192_432_V9_1.txt")
31 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TWafersMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/wafer_mapping_V9_2.txt")
32 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_decentralized_jun19_0.txt")
33 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(links_mapping)
34 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_8inch_aligned_192_432_0.txt")
35 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsSciMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_sci_2x2_12x12_V9_0.txt")
36 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsSciMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_sci_2x2_12x12_V9_0.txt")
37 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorWafersPerModule = cms.uint32(1)
38 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
39 elif implementation==2:
40 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp2')
41 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
42 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorModuleSize = cms.uint32(6)
43 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_V9_decentralized_jun19_0.txt")
44 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(links_mapping)
45 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
46 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorLinksPerModule = cms.uint32(2)
52 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp1')
53 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_8inch_aligned_192_432_V9_1.txt")
54 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TWafersMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/wafer_mapping_V9_2.txt")
55 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_jan19_1.txt")
56 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/links_mapping_jan19_1.txt")
57 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_8inch_aligned_192_432_0.txt")
58 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsSciMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_sci_2x2_12x12_V9_0.txt")
59 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsSciMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_sci_2x2_12x12_V9_0.txt")
60 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorWafersPerModule = cms.uint32(3)
61 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
62 elif implementation==2:
63 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryV9Imp2')
64 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
65 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorModuleSize = cms.uint32(12)
66 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_V9_jan19_1.txt")
67 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/links_mapping_jan19_1.txt")
68 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
69 process.hgcalTriggerGeometryESProducer.TriggerGeometry.ScintillatorLinksPerModule = cms.uint32(1)
73 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryHexLayerBasedImp1')
74 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_8inch_aligned_192_432_V8_0.txt")
75 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_tdr_0.txt")
76 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_8inch_aligned_192_432_0.txt")
77 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsBHMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_BH_3x3_30deg_0.txt")
78 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsBHMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_BH_3x3_30deg_0.txt")
79 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
84 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryHexLayerBasedImp1')
85 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_8inch_aligned_192_432_V7_0.txt")
86 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/panel_mapping_tdr_0.txt")
87 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_8inch_aligned_192_432_0.txt")
88 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsBHMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping_BH_3x3_30deg_0.txt")
89 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsBHMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_BH_3x3_30deg_0.txt")
90 process.hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
94 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryHexImp2')
95 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping.txt")
96 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/module_mapping_PairsRing_V8_0.txt")
97 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_1.txt")
98 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TWaferNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/wafer_neighbor_mapping_V8_0.txt")
102 process.hgcalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string(
'HGCalTriggerGeometryHexImp2')
103 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_mapping.txt")
104 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/module_mapping_PairsRing_V7_0.txt")
105 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TCellNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/triggercell_neighbor_mapping_1.txt")
106 process.hgcalTriggerGeometryESProducer.TriggerGeometry.L1TWaferNeighborsMapping = cms.FileInPath(
"L1Trigger/L1THGCal/data/wafer_neighbor_mapping_V7_0.txt")