CMS 3D CMS Logo

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

Functions

def liftPayloadSafetyFor
 
def setTSCPayloadsDB
 

Function Documentation

def L1ConfigTSCPayloadsExt_cff.liftPayloadSafetyFor (   process,
  systems 
)

Definition at line 44 of file L1ConfigTSCPayloadsExt_cff.py.

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

Definition at line 11 of file L1ConfigTSCPayloadsExt_cff.py.

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