CMS 3D CMS Logo

Functions
L1SubsystemParamsExt_cfi Namespace Reference

Functions

def initL1SubsystemsExt (tagBaseVec=[], objectKey='dummy')
 

Function Documentation

def L1SubsystemParamsExt_cfi.initL1SubsystemsExt (   tagBaseVec = [],
  objectKey = 'dummy' 
)

Definition at line 2 of file L1SubsystemParamsExt_cfi.py.

References L1RSSubsystemParamsExt_cfi.initL1RSSubsystemsExt(), and L1UniformTagsExt_cfi.initL1UniformTagsExt().

Referenced by L1CondDBSourceExt_cff.initCondDBSourceExt(), and L1CondDBIOVWriterExt_cff.initIOVWriterExt().

2  objectKey = 'dummy' ):
3 
4  import FWCore.ParameterSet.Config as cms
5  from CondTools.L1TriggerExt.L1CondEnumExt_cfi import L1CondEnumExt
6 
7  if len( tagBaseVec ) == 0:
8  from CondTools.L1TriggerExt.L1UniformTagsExt_cfi import initL1UniformTagsExt
10  tagBaseVec = initL1UniformTagsExt.tagBaseVec
11 
12  initL1SubsystemsExt.params = cms.PSet(
13  recordInfo = cms.VPSet(
14  cms.PSet(
15  record = cms.string('L1TUtmTriggerMenuO2ORcd'),
16  tag = cms.string('L1TUtmTriggerMenu_' + tagBaseVec[ L1CondEnumExt.L1TUtmTriggerMenu ]),
17  type = cms.string('L1TUtmTriggerMenu'),
18  key = cms.string(objectKey)
19  ),
20  cms.PSet(
21  record = cms.string('L1TGlobalPrescalesVetosO2ORcd'),
22  tag = cms.string('L1TGlobalPrescalesVetos_' + tagBaseVec[ L1CondEnumExt.L1TGlobalPrescalesVetos ]),
23  type = cms.string('L1TGlobalPrescalesVetos'),
24  key = cms.string(objectKey)
25  ),
26  cms.PSet(
27  record = cms.string('L1TMuonGlobalParamsO2ORcd'),
28  tag = cms.string('L1TMuonGlobalParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonGlobalParams ]),
29  type = cms.string('L1TMuonGlobalParams'),
30  key = cms.string(objectKey)
31  ),
32  cms.PSet(
33  record = cms.string('L1TMuonEndCapParamsO2ORcd'),
34  tag = cms.string('L1TMuonEndCapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonEndCapParams ]),
35  type = cms.string('L1TMuonEndCapParams'),
36  key = cms.string(objectKey)
37  ),
38  cms.PSet(
39  record = cms.string('L1TMuonEndCapForestO2ORcd'),
40  tag = cms.string('L1TMuonEndCapForest_' + tagBaseVec[ L1CondEnumExt.L1TMuonEndCapForest ]),
41  type = cms.string('L1TMuonEndCapForest'),
42  key = cms.string(objectKey)
43  ),
44  cms.PSet(
45  record = cms.string('L1TMuonOverlapParamsO2ORcd'),
46  tag = cms.string('L1TMuonOverlapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonOverlapParams ]),
47  type = cms.string('L1TMuonOverlapParams'),
48  key = cms.string(objectKey)
49  ),
50  cms.PSet(
51  record = cms.string('L1TMuonBarrelParamsO2ORcd'),
52  tag = cms.string('L1TMuonBarrelParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonBarrelParams ]),
53  type = cms.string('L1TMuonBarrelParams'),
54  key = cms.string(objectKey)
55  ),
56  cms.PSet(
57  record = cms.string('L1TCaloParamsO2ORcd'),
58  tag = cms.string('L1TCaloParams_' + tagBaseVec[ L1CondEnumExt.L1TCaloParams ]),
59  type = cms.string('L1TCaloParams'),
60  key = cms.string(objectKey)
61  )
62  )
63  )
64 
65  from CondTools.L1TriggerExt.L1RSSubsystemParamsExt_cfi import initL1RSSubsystemsExt
66  initL1RSSubsystemsExt( tagBaseVec )
67  initL1SubsystemsExt.params.recordInfo.extend(initL1RSSubsystemsExt.params.recordInfo)
68 
def initL1UniformTagsExt(tagBase="IDEAL")