CMS 3D CMS Logo

Functions
L1ConfigTSCPayloadsExt_cff Namespace Reference

Functions

def liftPayloadSafetyFor (process, systems)
 
def setTSCPayloadsDB (process, DBConnect, DBAuth, protoDBConnect, protoDBAuth)
 

Function Documentation

◆ liftPayloadSafetyFor()

def L1ConfigTSCPayloadsExt_cff.liftPayloadSafetyFor (   process,
  systems 
)

Definition at line 39 of file L1ConfigTSCPayloadsExt_cff.py.

39 def liftPayloadSafetyFor(process, systems):
40  if 'CALO' in systems:
41  process.L1TCaloParamsOnlineProd.transactionSafe = cms.bool(False)
42 
43  if 'uGTrs' in systems:
44  process.L1TGlobalPrescalesVetosOnlineProd.transactionSafe = cms.bool(False)
45 
46  if 'BMTF' in systems:
47  process.L1TMuonBarrelParamsOnlineProd.transactionSafe = cms.bool(False)
48 
49  if 'EMTF' in systems:
50  process.L1TMuonEndCapParamsOnlineProd.transactionSafe = cms.bool(False)
51  process.L1TMuonEndCapForestOnlineProd.transactionSafe = cms.bool(False)
52 
53  if 'uGMT' in systems:
54  process.L1TMuonGlobalParamsOnlineProd.transactionSafe = cms.bool(False)
55 
56  if 'OMTF' in systems:
57  process.L1TMuonOverlapParamsOnlineProd.transactionSafe = cms.bool(False)
58 

◆ setTSCPayloadsDB()

def L1ConfigTSCPayloadsExt_cff.setTSCPayloadsDB (   process,
  DBConnect,
  DBAuth,
  protoDBConnect,
  protoDBAuth 
)

Definition at line 10 of file L1ConfigTSCPayloadsExt_cff.py.

10 def setTSCPayloadsDB(process, DBConnect, DBAuth, protoDBConnect, protoDBAuth):
11 
12  process.L1TCaloParamsOnlineProd.onlineDB = cms.string( DBConnect )
13  process.L1TGlobalPrescalesVetosOnlineProd.onlineDB = cms.string( DBConnect )
14  process.L1TMuonBarrelParamsOnlineProd.onlineDB = cms.string( DBConnect )
15  process.L1TMuonEndCapParamsOnlineProd.onlineDB = cms.string( DBConnect )
16  process.L1TMuonEndCapForestOnlineProd.onlineDB = cms.string( DBConnect )
17  process.L1TMuonGlobalParamsOnlineProd.onlineDB = cms.string( DBConnect )
18  process.L1TMuonOverlapParamsOnlineProd.onlineDB = cms.string( DBConnect )
19  process.L1TUtmTriggerMenuOnlineProd.onlineDB = cms.string( DBConnect )
20 
21  process.L1TCaloParamsOnlineProd.onlineAuthentication = cms.string( DBAuth )
22  process.L1TGlobalPrescalesVetosOnlineProd.onlineAuthentication = cms.string( DBAuth )
23  process.L1TMuonBarrelParamsOnlineProd.onlineAuthentication = cms.string( DBAuth )
24  process.L1TMuonEndCapParamsOnlineProd.onlineAuthentication = cms.string( DBAuth )
25  process.L1TMuonEndCapForestOnlineProd.onlineAuthentication = cms.string( DBAuth )
26  process.L1TMuonGlobalParamsOnlineProd.onlineAuthentication = cms.string( DBAuth )
27  process.L1TMuonOverlapParamsOnlineProd.onlineAuthentication = cms.string( DBAuth )
28  process.L1TUtmTriggerMenuOnlineProd.onlineAuthentication = cms.string( DBAuth )
29 
30  process.l1caloparProtodb.connect = cms.string( protoDBConnect )
31  process.l1bmtfparProtodb.connect = cms.string( protoDBConnect )
32  process.l1emtfparProtodb.connect = cms.string( protoDBConnect )
33  process.l1gmtparProtodb.connect = cms.string( protoDBConnect )
34  process.l1caloparProtodb.DBParameters.authenticationPath = cms.untracked.string( protoDBAuth )
35  process.l1bmtfparProtodb.DBParameters.authenticationPath = cms.untracked.string( protoDBAuth )
36  process.l1emtfparProtodb.DBParameters.authenticationPath = cms.untracked.string( protoDBAuth )
37  process.l1gmtparProtodb.DBParameters.authenticationPath = cms.untracked.string( protoDBAuth )
38 
L1ConfigTSCPayloadsExt_cff.liftPayloadSafetyFor
def liftPayloadSafetyFor(process, systems)
Definition: L1ConfigTSCPayloadsExt_cff.py:39
L1ConfigTSCPayloadsExt_cff.setTSCPayloadsDB
def setTSCPayloadsDB(process, DBConnect, DBAuth, protoDBConnect, protoDBAuth)
Definition: L1ConfigTSCPayloadsExt_cff.py:10