CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
customTriggerGeometry Namespace Reference

Functions

def custom_geometry_V10 (process, links='signaldriven')
 
def custom_geometry_V11_Imp2 (process, links='signaldriven')
 
def custom_geometry_V11_Imp3 (process, stage1links=120)
 

Function Documentation

◆ custom_geometry_V10()

def customTriggerGeometry.custom_geometry_V10 (   process,
  links = 'signaldriven' 
)

Definition at line 31 of file customTriggerGeometry.py.

31 def custom_geometry_V10(process, links='signaldriven'):
32  if links=='signaldriven':
33  links_mapping = 'L1Trigger/L1THGCal/data/links_mapping_decentralized_signaldriven_0.txt'
34  elif links=='pudriven':
35  links_mapping = 'L1Trigger/L1THGCal/data/links_mapping_decentralized_jun19_0.txt'
36  else:
37  raise RuntimeError('Unknown links mapping "{}". Options are "signaldriven" or "pudriven".'.format(links))
38  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string('HGCalTriggerGeometryV9Imp2')
39  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
40  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorModuleSize = cms.uint32(6)
41  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.L1TModulesMapping = cms.FileInPath("L1Trigger/L1THGCal/data/panel_mapping_V9_decentralized_jun19_0.txt")
42  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.L1TLinksMapping = cms.FileInPath(links_mapping)
43  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.DisconnectedModules = cms.vuint32(0)
44  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorLinksPerModule = cms.uint32(2)
45  return process
46 
47 
def custom_geometry_V10(process, links='signaldriven')

◆ custom_geometry_V11_Imp2()

def customTriggerGeometry.custom_geometry_V11_Imp2 (   process,
  links = 'signaldriven' 
)

Definition at line 14 of file customTriggerGeometry.py.

14 def custom_geometry_V11_Imp2(process, links='signaldriven'):
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'
20  else:
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)
28  return process
29 
30 
def custom_geometry_V11_Imp2(process, links='signaldriven')

◆ custom_geometry_V11_Imp3()

def customTriggerGeometry.custom_geometry_V11_Imp3 (   process,
  stage1links = 120 
)

Definition at line 3 of file customTriggerGeometry.py.

3 def custom_geometry_V11_Imp3(process, stage1links=120):
4  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.TriggerGeometryName = cms.string('HGCalTriggerGeometryV9Imp3')
5  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.ScintillatorTriggerCellSize = cms.uint32(2)
6  if stage1links==120:
7  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.JsonMappingFile = cms.FileInPath("L1Trigger/L1THGCal/data/hgcal_trigger_link_mapping_120links_v1.json")
8  elif stage1links==72:
9  process.l1tHGCalTriggerGeometryESProducer.TriggerGeometry.JsonMappingFile = cms.FileInPath("L1Trigger/L1THGCal/data/hgcal_trigger_link_mapping_72links_v2.json")
10  else:
11  raise RuntimeError('{} Stage 1 input links is not supported. Supported options are 72 or 120 links'.format(stage1links))
12  return process
13 
def custom_geometry_V11_Imp3(process, stage1links=120)