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: # restric to phase1 upgrade GTs
15  GlobalTags0T[key+"_0T"] = (autoCond[key], ConditionsFor0T)
16 
17  autoCond.update(GlobalTags0T)
18  return autoCond
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
autoCondModifiers.autoCond0T
def autoCond0T(autoCond)
Definition: autoCondModifiers.py:9
CondDBESSource_cff