CMS 3D CMS Logo

L1ConfigTSCKeysExt_cff.py
Go to the documentation of this file.
8 
9 def setTSCKeysDB(process, DBConnect, DBAuth):
10 
11  process.L1TCaloParamsObjectKeysOnline.onlineDB = cms.string( DBConnect )
12  process.L1TGlobalPrescalesVetosObjectKeysOnline.onlineDB = cms.string( DBConnect )
13  process.L1TMuonBarrelObjectKeysOnline.onlineDB = cms.string( DBConnect )
14  process.L1TMuonEndCapObjectKeysOnline.onlineDB = cms.string( DBConnect )
15  process.L1TMuonGlobalObjectKeysOnline.onlineDB = cms.string( DBConnect )
16  process.L1TMuonOverlapObjectKeysOnline.onlineDB = cms.string( DBConnect )
17  process.L1TUtmTriggerMenuObjectKeysOnline.onlineDB = cms.string( DBConnect )
18 
19  process.L1TCaloParamsObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
20  process.L1TGlobalPrescalesVetosObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
21  process.L1TMuonBarrelObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
22  process.L1TMuonEndCapObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
23  process.L1TMuonGlobalObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
24  process.L1TMuonOverlapObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
25  process.L1TUtmTriggerMenuObjectKeysOnline.onlineAuthentication = cms.string( DBAuth )
26 
27 
28 def liftKeySafetyFor(process, systems):
29  if 'CALO' in systems:
30  process.L1TCaloParamsObjectKeysOnline.transactionSafe = cms.bool(False)
31 
32  if 'uGTrs' in systems:
33  process.L1TGlobalPrescalesVetosObjectKeysOnline.transactionSafe = cms.bool(False)
34 
35  if 'BMTF' in systems:
36  process.L1TMuonBarrelObjectKeysOnline.transactionSafe = cms.bool(False)
37 
38  if 'EMTF' in systems:
39  process.L1TMuonEndCapObjectKeysOnline.transactionSafe = cms.bool(False)
40 
41  if 'uGMT' in systems:
42  process.L1TMuonGlobalObjectKeysOnline.transactionSafe = cms.bool(False)
43 
44  if 'OMTF' in systems:
45  process.L1TMuonOverlapObjectKeysOnline.transactionSafe = cms.bool(False)
def liftKeySafetyFor(process, systems)
def setTSCKeysDB(process, DBConnect, DBAuth)