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 44 of file L1ConfigTSCPayloadsExt_cff.py.

44 def liftPayloadSafetyFor(process, systems):
45  if 'CALO' in systems:
46  process.L1TCaloParamsOnlineProd.transactionSafe = cms.bool(False)
47 
48  if 'uGTrs' in systems:
49  process.L1TGlobalPrescalesVetosOnlineProd.transactionSafe = cms.bool(False)
50 
51  if 'BMTF' in systems:
52  process.L1TMuonBarrelParamsOnlineProd.transactionSafe = cms.bool(False)
53 
54  if 'EMTF' in systems:
55  process.L1TMuonEndCapParamsOnlineProd.transactionSafe = cms.bool(False)
56  process.L1TMuonEndCapForestOnlineProd.transactionSafe = cms.bool(False)
57 
58  if 'uGMT' in systems:
59  process.L1TMuonGlobalParamsOnlineProd.transactionSafe = cms.bool(False)
60 
61  if 'OMTF' in systems:
62  process.L1TMuonOverlapParamsOnlineProd.transactionSafe = cms.bool(False)
63  process.L1TMuonOverlapFwVersionOnlineProd.transactionSafe = cms.bool(False)
64 
65 
def liftPayloadSafetyFor(process, systems)

◆ setTSCPayloadsDB()

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

Definition at line 11 of file L1ConfigTSCPayloadsExt_cff.py.

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