CMS 3D CMS Logo

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

Functions

def initL1SubsystemsExt
 

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