CMS 3D CMS Logo

autoCondModifiers.py
Go to the documentation of this file.
1 
4 from Configuration.StandardSequences.CondDBESSource_cff import GlobalTag as essource
5 connectionString = essource.connect.value()
6 
7 # method called in autoCond
8 def autoCond0T(autoCond):
9 
10  ConditionsFor0T = ','.join( ['RunInfo_0T_v1_mc', "RunInfoRcd", connectionString, "", "2020-07-01 12:00:00.000"] )
11  GlobalTags0T = {}
12  for key,val in autoCond.items():
13  if "phase" in key: # restrict to phase1 upgrade GTs
14  GlobalTags0T[key+"_0T"] = (autoCond[key], ConditionsFor0T)
15 
16  autoCond.update(GlobalTags0T)
17  return autoCond
18 
19 def autoCondHLTHI(autoCond):
20 
21  GlobalTagsHLTHI = {}
22 
23  # emulate hybrid ZeroSuppression on the VirginRaw data of 2015
24  FullPedestalsForHLTHI = ','.join( ['SiStripFullPedestals_GR10_v1_hlt', "SiStripPedestalsRcd", connectionString, "", "2021-03-11 12:00:00.000"] )
25  MenuForHLTHI = ','.join( ['L1Menu_CollisionsHeavyIons2015_v5_uGT_xml', "L1TUtmTriggerMenuRcd", connectionString, "", "2021-03-11 12:00:00.000"] )
26 
27  for key,val in autoCond.items():
28  if key == 'run2_hlt_relval': # modification of HLT relval GT
29  GlobalTagsHLTHI['run2_hlt_hi'] = (autoCond[key], FullPedestalsForHLTHI, MenuForHLTHI)
30 
31  autoCond.update(GlobalTagsHLTHI)
32  return autoCond
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
autoCondModifiers.autoCondHLTHI
def autoCondHLTHI(autoCond)
Definition: autoCondModifiers.py:19
autoCondModifiers.autoCond0T
def autoCond0T(autoCond)
Definition: autoCondModifiers.py:8
CondDBESSource_cff