CMS 3D CMS Logo

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