CMS 3D CMS Logo

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

Functions

def initL1RSSubsystems
 

Function Documentation

def L1RSSubsystemParams_cfi.initL1RSSubsystems (   tagBaseVec = [],
  L1MuDTTFMasksRcdKey = 'dummy',
  L1MuGMTChannelMaskRcdKey = 'dummy',
  L1RCTChannelMaskRcdKey = 'dummy',
  L1RCTNoisyChannelMaskRcdKey = 'dummy',
  L1GctChannelMaskRcdKey = 'dummy',
  L1GtPrescaleFactorsAlgoTrigRcdKey = 'dummy',
  L1GtPrescaleFactorsTechTrigRcdKey = 'dummy',
  L1GtTriggerMaskAlgoTrigRcdKey = 'dummy',
  L1GtTriggerMaskTechTrigRcdKey = 'dummy',
  L1GtTriggerMaskVetoTechTrigRcdKey = 'dummy',
  includeL1RCTNoisyChannelMask = True 
)

Definition at line 12 of file L1RSSubsystemParams_cfi.py.

Referenced by L1CondDBSource_cff.initCondDBSource(), and L1SubsystemParams_cfi.initL1Subsystems().

12 
13  includeL1RCTNoisyChannelMask = True):
14 
15  import FWCore.ParameterSet.Config as cms
16  from CondTools.L1Trigger.L1CondEnum_cfi import L1CondEnum
17 
18  if includeL1RCTNoisyChannelMask == True:
19  initL1RSSubsystems.params = cms.PSet(
20  recordInfo = cms.VPSet(
21  cms.PSet(
22  record = cms.string('L1MuDTTFMasksRcd'),
23  tag = cms.string('L1MuDTTFMasks_' + tagBaseVec[ L1CondEnum.L1MuDTTFMasks ]),
24  type = cms.string('L1MuDTTFMasks'),
25  key = cms.string(L1MuDTTFMasksRcdKey)
26  ),
27  cms.PSet(
28  record = cms.string('L1MuGMTChannelMaskRcd'),
29  tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
30  type = cms.string('L1MuGMTChannelMask'),
31  key = cms.string(L1MuGMTChannelMaskRcdKey)
32  ),
33  cms.PSet(
34  record = cms.string('L1RCTChannelMaskRcd'),
35  tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
36  type = cms.string('L1RCTChannelMask'),
37  key = cms.string(L1RCTChannelMaskRcdKey)
38  ),
39  cms.PSet(
40  record = cms.string('L1RCTNoisyChannelMaskRcd'),
41  tag = cms.string('L1RCTNoisyChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTNoisyChannelMask ]),
42  type = cms.string('L1RCTNoisyChannelMask'),
43  key = cms.string(L1RCTNoisyChannelMaskRcdKey)
44  ),
45  cms.PSet(
46  record = cms.string('L1GctChannelMaskRcd'),
47  tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
48  type = cms.string('L1GctChannelMask'),
49  key = cms.string(L1GctChannelMaskRcdKey)
50  ),
51  cms.PSet(
52  record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
53  tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
54  type = cms.string('L1GtPrescaleFactors'),
55  key = cms.string(L1GtPrescaleFactorsAlgoTrigRcdKey)
56  ),
57  cms.PSet(
58  record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
59  tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
60  type = cms.string('L1GtPrescaleFactors'),
61  key = cms.string(L1GtPrescaleFactorsTechTrigRcdKey)
62  ),
63  cms.PSet(
64  record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
65  tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
66  type = cms.string('L1GtTriggerMask'),
67  key = cms.string(L1GtTriggerMaskAlgoTrigRcdKey)
68  ),
69  cms.PSet(
70  record = cms.string('L1GtTriggerMaskTechTrigRcd'),
71  tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
72  type = cms.string('L1GtTriggerMask'),
73  key = cms.string(L1GtTriggerMaskTechTrigRcdKey)
74  ),
75  cms.PSet(
76  record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
77  tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
78  type = cms.string('L1GtTriggerMask'),
79  key = cms.string(L1GtTriggerMaskVetoTechTrigRcdKey)
80  ))
81  )
82  else:
83  initL1RSSubsystems.params = cms.PSet(
84  recordInfo = cms.VPSet(
85  cms.PSet(
86  record = cms.string('L1MuDTTFMasksRcd'),
87  tag = cms.string('L1MuDTTFMasks_' + tagBaseVec[ L1CondEnum.L1MuDTTFMasks ]),
88  type = cms.string('L1MuDTTFMasks'),
89  key = cms.string(L1MuDTTFMasksRcdKey)
90  ),
91  cms.PSet(
92  record = cms.string('L1MuGMTChannelMaskRcd'),
93  tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
94  type = cms.string('L1MuGMTChannelMask'),
95  key = cms.string(L1MuGMTChannelMaskRcdKey)
96  ),
97  cms.PSet(
98  record = cms.string('L1RCTChannelMaskRcd'),
99  tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
100  type = cms.string('L1RCTChannelMask'),
101  key = cms.string(L1RCTChannelMaskRcdKey)
102  ),
103  cms.PSet(
104  record = cms.string('L1GctChannelMaskRcd'),
105  tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
106  type = cms.string('L1GctChannelMask'),
107  key = cms.string(L1GctChannelMaskRcdKey)
108  ),
109  cms.PSet(
110  record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
111  tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
112  type = cms.string('L1GtPrescaleFactors'),
113  key = cms.string(L1GtPrescaleFactorsAlgoTrigRcdKey)
114  ),
115  cms.PSet(
116  record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
117  tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
118  type = cms.string('L1GtPrescaleFactors'),
119  key = cms.string(L1GtPrescaleFactorsTechTrigRcdKey)
120  ),
121  cms.PSet(
122  record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
123  tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
124  type = cms.string('L1GtTriggerMask'),
125  key = cms.string(L1GtTriggerMaskAlgoTrigRcdKey)
126  ),
127  cms.PSet(
128  record = cms.string('L1GtTriggerMaskTechTrigRcd'),
129  tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
130  type = cms.string('L1GtTriggerMask'),
131  key = cms.string(L1GtTriggerMaskTechTrigRcdKey)
132  ),
133  cms.PSet(
134  record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
135  tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
136  type = cms.string('L1GtTriggerMask'),
137  key = cms.string(L1GtTriggerMaskVetoTechTrigRcdKey)
138  ))
139  )