CMS 3D CMS Logo

Functions
customise_l1TriggerConfiguration Namespace Reference

Functions

def customiseL1TriggerConfiguration (process)
 

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

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)
88 
def customiseUnprescaleTechTriggers(process)
def customiseUnprescaleAlgoTriggers(process)
def customiseResetVetoMasksTechTriggers(process)
def customiseResetMasksAlgoTriggers(process)
def customiseL1Menu(process)
def customiseResetMasksTechTriggers(process)
def customiseResetVetoMasksAlgoTriggers(process)