CMS 3D CMS Logo

Functions
customise_l1TriggerConfiguration Namespace Reference

Functions

def customiseL1TriggerConfiguration (process)
 

Function Documentation

◆ customiseL1TriggerConfiguration()

def customise_l1TriggerConfiguration.customiseL1TriggerConfiguration (   process)

Definition at line 11 of file customise_l1TriggerConfiguration.py.

12 
13  # reset algorithm trigger masks
14 
15  resetL1GtTriggerMaskAlgoTrig = False
16  resetL1GtTriggerMaskAlgoTrig = True
17 
18  if resetL1GtTriggerMaskAlgoTrig == True :
19  from L1Trigger.Configuration.L1Trigger_custom import customiseResetMasksAlgoTriggers
20  process=customiseResetMasksAlgoTriggers(process)
21 
22  # reset technical trigger masks
23 
24  resetL1GtTriggerMaskTechTrig = False
25  resetL1GtTriggerMaskTechTrig = True
26 
27  if resetL1GtTriggerMaskTechTrig == True :
28  from L1Trigger.Configuration.L1Trigger_custom import customiseResetMasksTechTriggers
29  process=customiseResetMasksTechTriggers(process)
30 
31 
32  # reset algorithm trigger veto masks
33 
34  resetL1GtTriggerMaskVetoAlgoTrig = False
35  resetL1GtTriggerMaskVetoAlgoTrig = True
36 
37  if resetL1GtTriggerMaskVetoAlgoTrig == True :
38  from L1Trigger.Configuration.L1Trigger_custom import customiseResetVetoMasksAlgoTriggers
40 
41  # reset technical trigger veto masks
42 
43  resetL1GtTriggerMaskVetoTechTrig = False
44  resetL1GtTriggerMaskVetoTechTrig = True
45 
46  if resetL1GtTriggerMaskVetoTechTrig == True :
47  from L1Trigger.Configuration.L1Trigger_custom import customiseResetVetoMasksTechTriggers
49 
50 
51 
52 
53  # unprescale algorithm triggers (all prescale factors set to 1)
54 
55  # temporary solution
56  unprescaleL1GtAlgoTriggers = False
57  unprescaleL1GtAlgoTriggers = True
58 
59  if unprescaleL1GtAlgoTriggers == True :
60  from L1Trigger.Configuration.L1Trigger_custom import customiseUnprescaleAlgoTriggers
61  process=customiseUnprescaleAlgoTriggers(process)
62 
63  # unprescale technical triggers (all prescale factors set to 1)
64 
65  # temporary solution
66  unprescaleL1GtTechTriggers = False
67  unprescaleL1GtTechTriggers = True
68 
69  if unprescaleL1GtTechTriggers == True :
70  from L1Trigger.Configuration.L1Trigger_custom import customiseUnprescaleTechTriggers
71  process=customiseUnprescaleTechTriggers(process)
72 
73 
74 
75  # overwrite the L1 trigger menu
76 
77  overwriteL1Menu = False
78  #overwriteL1Menu = True
79 
80  if overwriteL1Menu == True :
81  from L1Trigger.Configuration.L1Trigger_custom import customiseL1Menu
82  process=customiseL1Menu(process)
83 
84 
85 
86  #
87  return (process)

References L1Trigger_custom.customiseL1Menu(), L1Trigger_custom.customiseResetMasksAlgoTriggers(), L1Trigger_custom.customiseResetMasksTechTriggers(), L1Trigger_custom.customiseResetVetoMasksAlgoTriggers(), L1Trigger_custom.customiseResetVetoMasksTechTriggers(), L1Trigger_custom.customiseUnprescaleAlgoTriggers(), and L1Trigger_custom.customiseUnprescaleTechTriggers().

Referenced by customise_l1EmulatorFromRaw.customise(), customise_l1GtEmulatorFromRaw.customise(), and customise_l1GtPatternGeneratorFromRaw.customise().

L1Trigger_custom.customiseResetMasksAlgoTriggers
def customiseResetMasksAlgoTriggers(process)
Definition: L1Trigger_custom.py:33
L1Trigger_custom.customiseResetMasksTechTriggers
def customiseResetMasksTechTriggers(process)
Definition: L1Trigger_custom.py:43
L1Trigger_custom.customiseResetVetoMasksTechTriggers
def customiseResetVetoMasksTechTriggers(process)
Definition: L1Trigger_custom.py:63
L1Trigger_custom.customiseUnprescaleTechTriggers
def customiseUnprescaleTechTriggers(process)
Definition: L1Trigger_custom.py:21
L1Trigger_custom.customiseL1Menu
def customiseL1Menu(process)
Definition: L1Trigger_custom.py:85
L1Trigger_custom.customiseResetVetoMasksAlgoTriggers
def customiseResetVetoMasksAlgoTriggers(process)
Definition: L1Trigger_custom.py:53
L1Trigger_custom.customiseUnprescaleAlgoTriggers
def customiseUnprescaleAlgoTriggers(process)
Definition: L1Trigger_custom.py:8
customise_l1TriggerConfiguration.customiseL1TriggerConfiguration
def customiseL1TriggerConfiguration(process)
Definition: customise_l1TriggerConfiguration.py:11