CMS 3D CMS Logo

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

Functions

def customiseL1TriggerConfiguration
 

Function Documentation

def customise_l1TriggerConfiguration.customiseL1TriggerConfiguration (   process)

Definition at line 11 of file customise_l1TriggerConfiguration.py.

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().

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