CMS 3D CMS Logo

customise_l1TriggerConfiguration.py
Go to the documentation of this file.
1 #
2 # special configuration cases for L1 trigger masks, prescale factors and L1 menu
3 #
4 # comment/un-comment the corresponding flag
5 #
6 #
7 # V.M. Ghete 2010-06-10
8 
9 import FWCore.ParameterSet.Config as cms
10 
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)
L1Trigger_custom.customiseResetMasksAlgoTriggers
def customiseResetMasksAlgoTriggers(process)
Definition: L1Trigger_custom.py:34
L1Trigger_custom.customiseResetMasksTechTriggers
def customiseResetMasksTechTriggers(process)
Definition: L1Trigger_custom.py:44
L1Trigger_custom.customiseResetVetoMasksTechTriggers
def customiseResetVetoMasksTechTriggers(process)
Definition: L1Trigger_custom.py:64
L1Trigger_custom.customiseUnprescaleTechTriggers
def customiseUnprescaleTechTriggers(process)
Definition: L1Trigger_custom.py:22
L1Trigger_custom.customiseL1Menu
def customiseL1Menu(process)
Definition: L1Trigger_custom.py:86
L1Trigger_custom.customiseResetVetoMasksAlgoTriggers
def customiseResetVetoMasksAlgoTriggers(process)
Definition: L1Trigger_custom.py:54
L1Trigger_custom.customiseUnprescaleAlgoTriggers
def customiseUnprescaleAlgoTriggers(process)
Definition: L1Trigger_custom.py:9
customise_l1TriggerConfiguration.customiseL1TriggerConfiguration
def customiseL1TriggerConfiguration(process)
Definition: customise_l1TriggerConfiguration.py:11