CMS 3D CMS Logo

Functions | Variables
getRunInfo Namespace Reference

Functions

def Func_CopyWBMInfo (str_name)
 Func_CopyWBMInfo(str_name) More...
 
def Func_FillInfoDBS (str_dbsInstance)
 Func_FillInfoDBS(str_dbsInstance) More...
 
def Func_FillInfoHlt ()
 Func_FillInfoHlt() More...
 
def Func_FillInfoMagnetHistory (str_timeStart, str_timeEnd)
 Func_FillInfoMagnetHistory() More...
 
def Func_FillInfoRunRegistry ()
 Func_FillInfoRunRegistry() More...
 
def Func_FillInfoRunSummary ()
 Func_FillInfoRunSummary() More...
 
def Func_GetHtmlTags (str_text)
 FUNCTIONS. More...
 
def Func_GetHtmlTagValue (str_tag, str_text, int_index=1)
 Func_GetHtmlTagValue(str_tag, str_text) More...
 
def Func_GetHtmlTagValueAttr (str_value, str_text)
 Func_GetHtmlTagValueAttr(str_tag, str_text) More...
 
def Func_GetHtmlTagValues (str_text)
 Func_GetHtmlTagValues(str_text) More...
 
def Func_GetWBMInfo (str_name, str_path)
 Func_GetWBMInfo(str_name, str_path) More...
 
def Func_MakeShellWord (str_python)
 Func_MakeShellWord(str_python) More...
 

Variables

 bool_hlt
 
 bool_runRegistry
 
 Dict_dbsDatasets
 
 DICT_keysRunSummary
 
 DICT_keysRunSummaryTrigger
 
 Dict_maxLenDbsDatasets
 
 Dict_runRegistry
 
 DICT_tagsRunRegistry
 
 Dict_wbmRunSummary
 
 DictDict_dbsDatasets
 
 DictDict_dbsEvents
 
 Float_magneticField
 
 hours
 
 int_length
 
 INT_offset
 
 LSTR_dbsInstances
 
 Lstr_hltPaths
 
 STR_headDatasets
 
 STR_headFiles
 
 STR_htlConfig
 
 STR_p5
 
 Str_passwd
 
 str_print
 
 Str_run
 
 STR_runEnd
 
 STR_runStart
 
 STR_SiStrip
 
 Str_userID
 MAIN PROGRAM. More...
 
 STR_wwwDBSData
 
 STR_wwwWBM
 
 TD_shiftUTC
 

Function Documentation

◆ Func_CopyWBMInfo()

def getRunInfo.Func_CopyWBMInfo (   str_name)

Func_CopyWBMInfo(str_name)

Logs in on cmsusr0 and copies file from there

Func_CopyWBMInfo(str_name)
Logs in on cmsusr0 and copies file from there

Definition at line 199 of file getRunInfo.py.

Referenced by Func_FillInfoHlt(), Func_FillInfoMagnetHistory(), and Func_FillInfoRunSummary().

199 def Func_CopyWBMInfo(str_name):
200  """ Func_CopyWBMInfo(str_name)
201  Logs in on cmsusr0 and copies file from there
202  """
203  pid, fd = os.forkpty()
204  if pid == 0:
205  os.execv('/usr/bin/scp', ['/usr/bin/scp', Str_userID+'@'+STR_p5+':~/'+str_name, '.'])
206  else:
207  time.sleep(1)
208  os.read(fd, 1000)
209  time.sleep(1)
210  os.write(fd, Str_passwd)
211  time.sleep(1)
212  c = 0
213  s = os.read(fd, 1)
214  while s:
215  c += 1
216  s = os.read(fd, 1)
217  if c >= 163:
218  break
219 
def Func_CopyWBMInfo(str_name)
Func_CopyWBMInfo(str_name)
Definition: getRunInfo.py:199

◆ Func_FillInfoDBS()

def getRunInfo.Func_FillInfoDBS (   str_dbsInstance)

Func_FillInfoDBS(str_dbsInstance)

Retrieves run info from DBS and fills it into containers

Func_FillInfoDBS(str_dbsInstance)
Retrieves run info from DBS and fills it into containers

Definition at line 344 of file getRunInfo.py.

References spr.find(), Func_GetHtmlTagValue(), createfilelist.int, print(), submitPVValidationJobs.split(), and str.

344 def Func_FillInfoDBS(str_dbsInstance):
345  """ Func_FillInfoDBS(str_dbsInstance)
346  Retrieves run info from DBS and fills it into containers
347  """
348  str_dbsRuns = urllib.urlencode({'ajax':'0', '_idx':'0', 'pagerStep':'0', 'userMode':'user', 'release':'Any', 'tier':'Any', 'dbsInst':str_dbsInstance, 'primType':'Any', 'primD':'Any', 'minRun':Str_run, 'maxRun':Str_run})
349  file_dbsRuns = urllib.urlopen("https://cmsweb.cern.ch/dbs_discovery/getRunsFromRange", str_dbsRuns)
350  lstr_dbsRuns = []
351  lstr_dbsDatasets = []
352  dict_dbsDatasets = {}
353  dict_dbsEvents = {}
354  for str_dbsRuns in file_dbsRuns.readlines():
355  lstr_dbsRuns.append(str_dbsRuns)
356  if str_dbsRuns.find(STR_wwwDBSData) >= 0:
357  if str_dbsRuns.split('&proc=')[1].find('&') >= 0:
358  lstr_dbsDatasets.append(str_dbsRuns.split('&proc=')[1].split('&')[0])
359  else:
360  lstr_dbsDatasets.append(str_dbsRuns.split('&proc=')[1])
361  int_maxLenDbsDatasets = 0
362  for str_dbsDataset in lstr_dbsDatasets:
363  str_dbsLFN = urllib.urlencode({'dbsInst':str_dbsInstance, 'blockName':'*', 'dataset':str_dbsDataset, 'userMode':'user', 'run':Str_run})
364  file_dbsLFN = urllib.urlopen("https://cmsweb.cern.ch/dbs_discovery/getLFNlist", str_dbsLFN)
365  lstr_dbsLFN = []
366  int_events = 0
367  for str_dbsLFN in file_dbsLFN.readlines():
368  lstr_dbsLFN.append(str_dbsLFN)
369  if str_dbsLFN.find('contians') >= 0 and str_dbsLFN.find('file(s)'): # FIXME: be careful, this typo might be corrected sometimes on the web page...
370  dict_dbsDatasets[str_dbsDataset] = str_dbsLFN.split()[1]
371  if str_dbsLFN.startswith('/store/data/'):
372  int_events += int(Func_GetHtmlTagValue('td' ,lstr_dbsLFN[len(lstr_dbsLFN)-4]))
373  dict_dbsEvents[str_dbsDataset] = str(int_events)
374  if len(str_dbsDataset) > int_maxLenDbsDatasets:
375  int_maxLenDbsDatasets = len(str_dbsDataset)
376  DictDict_dbsDatasets[str_dbsInstance] = dict_dbsDatasets
377  DictDict_dbsEvents[str_dbsInstance] = dict_dbsEvents
378  Dict_dbsDatasets[str_dbsInstance] = lstr_dbsDatasets
379  Dict_maxLenDbsDatasets[str_dbsInstance] = int_maxLenDbsDatasets
380 
def Func_FillInfoDBS(str_dbsInstance)
Func_FillInfoDBS(str_dbsInstance)
Definition: getRunInfo.py:344
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
#define str(s)
def Func_GetHtmlTagValue(str_tag, str_text, int_index=1)
Func_GetHtmlTagValue(str_tag, str_text)
Definition: getRunInfo.py:129

◆ Func_FillInfoHlt()

def getRunInfo.Func_FillInfoHlt ( )

Func_FillInfoHlt()

Retrieves run info from Hlt and fills it into containers

Func_FillInfoHlt():
Retrieves run info from Hlt and fills it into containers

Definition at line 320 of file getRunInfo.py.

References geometryDiff.file, Func_CopyWBMInfo(), Func_GetWBMInfo(), Func_MakeShellWord(), and submitPVValidationJobs.split().

320 def Func_FillInfoHlt():
321  """ Func_FillInfoHlt():
322  Retrieves run info from Hlt and fills it into containers
323  """
324  str_nameHlt = 'HLTConfiguration?KEY=' + Dict_wbmRunSummary[STR_htlConfig]
325  Func_GetWBMInfo(str_nameHlt, STR_wwwWBM)
327  file_wbmHlt = file(str_nameHlt, 'r') bool_foundPaths = False
328  bool_foundPath = False
329  for str_wbmHlt in file_wbmHlt.readlines():
330  if str_wbmHlt.find('<H3>Paths</H3>') >= 0:
331  bool_foundPaths = True
332  if bool_foundPaths and str_wbmHlt.find('<HR><H3>') >= 0:
333  bool_foundPaths = False
334  if bool_foundPaths and str_wbmHlt.startswith('<TR><TD ALIGN=RIGHT>'):
335  Lstr_hltPaths.append(str_wbmHlt.split('</TD>')[1].split('<TD>')[-1])
336  file_wbmHlt.close()
337  os.remove(str_nameHlt)
338  return (len(Lstr_hltPaths)>0)
339 
340 
def Func_MakeShellWord(str_python)
Func_MakeShellWord(str_python)
Definition: getRunInfo.py:166
def Func_CopyWBMInfo(str_name)
Func_CopyWBMInfo(str_name)
Definition: getRunInfo.py:199
def Func_FillInfoHlt()
Func_FillInfoHlt()
Definition: getRunInfo.py:320
def Func_GetWBMInfo(str_name, str_path)
Func_GetWBMInfo(str_name, str_path)
Definition: getRunInfo.py:175

◆ Func_FillInfoMagnetHistory()

def getRunInfo.Func_FillInfoMagnetHistory (   str_timeStart,
  str_timeEnd 
)

Func_FillInfoMagnetHistory()

Retrieves run info from MagnetHistory and fills it into containers

Func_FillInfoMagnetHistory():
Retrieves run info from MagnetHistory and fills it into containers

Definition at line 301 of file getRunInfo.py.

References geometryDiff.file, ALCARECOEcalPhiSym_cff.float, Func_CopyWBMInfo(), Func_GetWBMInfo(), Func_MakeShellWord(), and submitPVValidationJobs.split().

301 def Func_FillInfoMagnetHistory(str_timeStart, str_timeEnd):
302  """ Func_FillInfoMagnetHistory():
303  Retrieves run info from MagnetHistory and fills it into containers
304  """
305  str_nameMagnetHistory = 'MagnetHistory?TIME_BEGIN=' + str_timeStart + '&TIME_END=' + str_timeEnd
306  Func_GetWBMInfo(str_nameMagnetHistory, STR_wwwWBM)
307  Func_CopyWBMInfo(Func_MakeShellWord(str_nameMagnetHistory))
308  file_wbmMagnetHistory = file(str_nameMagnetHistory, 'r')
309  float_avMagMeasure = Float_magneticField
310  for str_wbmMagnetHistory in file_wbmMagnetHistory.readlines():
311  if str_wbmMagnetHistory.find('BFIELD, Tesla') >= 0:
312  float_avMagMeasure = float(str_wbmMagnetHistory.split('</A>')[0].split('>')[-1])
313  file_wbmMagnetHistory.close()
314  os.remove(str_nameMagnetHistory)
315  return float_avMagMeasure
316 
def Func_MakeShellWord(str_python)
Func_MakeShellWord(str_python)
Definition: getRunInfo.py:166
def Func_CopyWBMInfo(str_name)
Func_CopyWBMInfo(str_name)
Definition: getRunInfo.py:199
def Func_FillInfoMagnetHistory(str_timeStart, str_timeEnd)
Func_FillInfoMagnetHistory()
Definition: getRunInfo.py:301
def Func_GetWBMInfo(str_name, str_path)
Func_GetWBMInfo(str_name, str_path)
Definition: getRunInfo.py:175

◆ Func_FillInfoRunRegistry()

def getRunInfo.Func_FillInfoRunRegistry ( )

Func_FillInfoRunRegistry()

Retrieves run info from RunRegistry and fills it into containers

Func_FillInfoRunRegistry():
Retrieves run info from RunRegistry and fills it into containers

Definition at line 223 of file getRunInfo.py.

References spr.find(), Func_GetHtmlTags(), Func_GetHtmlTagValue(), createfilelist.int, print(), isotrackApplyRegressor.range, and submitPVValidationJobs.split().

224  """ Func_FillInfoRunRegistry():
225  Retrieves run info from RunRegistry and fills it into containers
226  """
227  str_runRegistry = urllib.urlencode({'format':'xml', 'intpl':'xml', 'qtype':'RUN_NUMBER', 'sortname':'RUN_NUMBER'})
228  file_runRegistry = urllib.urlopen("http://pccmsdqm04.cern.ch/runregistry/runregisterdata", str_runRegistry)
229  str_runRegistryLong = ''
230  for str_runRegistry in file_runRegistry.readlines():
231  str_runRegistryLong += str_runRegistry.splitlines()[0]
232  bool_foundRun = False
233  str_runRunRegistry = ''
234  for int_runIndex in range(1,int(str_runRegistryLong.split('<RUNS')[1].split('>')[0].split('total=\"')[1].split('\"')[0])):
235  str_runRunRegistry = Func_GetHtmlTagValue('RUN', str_runRegistryLong, int_runIndex)
236  if Func_GetHtmlTagValue('NUMBER', str_runRunRegistry) == Str_run:
237  bool_foundRun = True
238  break
239  if not bool_foundRun:
240  print('> getRunInfo.py > run %s not found in run registry' %(Str_run))
241  return False
242  dict_tagsRunRegistry = Func_GetHtmlTags(str_runRunRegistry)
243  for str_tagRunRegistry in dict_tagsRunRegistry.keys():
244  if dict_tagsRunRegistry[str_tagRunRegistry] == False:
245  Dict_runRegistry[str_tagRunRegistry] = Func_GetHtmlTagValue(str_tagRunRegistry, str_runRunRegistry)
246  if Dict_runRegistry['SUBSYSTEMS'].find(STR_SiStrip) < 0:
247  print('> getRunInfo.py > SiStrip was not in this run')
248  return False
249  return True
250 
def Func_FillInfoRunRegistry()
Func_FillInfoRunRegistry()
Definition: getRunInfo.py:223
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
def Func_GetHtmlTags(str_text)
FUNCTIONS.
Definition: getRunInfo.py:109
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def Func_GetHtmlTagValue(str_tag, str_text, int_index=1)
Func_GetHtmlTagValue(str_tag, str_text)
Definition: getRunInfo.py:129

◆ Func_FillInfoRunSummary()

def getRunInfo.Func_FillInfoRunSummary ( )

Func_FillInfoRunSummary()

Retrieves run info from RunSummary and fills it into containers

Func_FillInfoRunSummary():
Retrieves run info from RunSummary and fills it into containers

Definition at line 254 of file getRunInfo.py.

References geometryDiff.file, Func_CopyWBMInfo(), Func_GetWBMInfo(), Func_MakeShellWord(), and submitPVValidationJobs.split().

255  """ Func_FillInfoRunSummary():
256  Retrieves run info from RunSummary and fills it into containers
257  """
258  str_nameRunSummary = 'RunSummary?RUN=' + Str_run
259  Func_GetWBMInfo(str_nameRunSummary, STR_wwwWBM)
260  Func_CopyWBMInfo(Func_MakeShellWord(str_nameRunSummary))
261  file_wbmRunSummary = file(str_nameRunSummary, 'r')
262  bool_table = False
263  int_tableHeader = 0
264  int_tableItem = 0
265  int_startItem = 0
266  int_endItem = 0
267  for str_wbmRunSummary in file_wbmRunSummary.readlines():
268  if str_wbmRunSummary.find('<TABLE CLASS="params"><THEAD><TR>') >= 0:
269  bool_table = True
270  if str_wbmRunSummary.find('</TBODY></TABLE>') >= 0:
271  bool_table = False
272  if bool_table:
273  if str_wbmRunSummary.startswith('<TH>'):
274  int_tableHeader += 1
275  if str_wbmRunSummary.find(STR_runStart) >= 0:
276  int_startItem = int_tableHeader
277  if str_wbmRunSummary.find(STR_runEnd) >= 0:
278  int_endItem = int_tableHeader
279  if str_wbmRunSummary.startswith('<TD'):
280  int_tableItem += 1
281  if int_tableItem == int_startItem:
282  Dict_wbmRunSummary[STR_runStart] = str_wbmRunSummary.split('&nbsp;</TD>')[0].split('<TD>')[-1]
283  if int_tableItem == int_endItem:
284  Dict_wbmRunSummary[STR_runEnd] = str_wbmRunSummary.split('&nbsp;</TD>')[0].split('<TD>')[-1]
285  continue
286  for str_keyRunSummary in DICT_keysRunSummary.keys():
287  if str_wbmRunSummary.find(str_keyRunSummary) >= 0:
288  Dict_wbmRunSummary[str_keyRunSummary] = str_wbmRunSummary.split('</TD></TR>')[0].split('>')[-1]
289  break
290  for str_summaryKeysTrigger in DICT_keysRunSummaryTrigger.keys():
291  if str_wbmRunSummary.find(str_summaryKeysTrigger) >= 0:
292  Dict_wbmRunSummary[str_summaryKeysTrigger] = str_wbmRunSummary.split('</A></TD></TR>')[0].split('>')[-1]
293  if str_summaryKeysTrigger == 'HLT Key':
294  Dict_wbmRunSummary[STR_htlConfig] = str_wbmRunSummary.split('HLTConfiguration?KEY=')[1].split('>')[0]
295  file_wbmRunSummary.close()
296  os.remove(str_nameRunSummary)
297 
def Func_MakeShellWord(str_python)
Func_MakeShellWord(str_python)
Definition: getRunInfo.py:166
def Func_FillInfoRunSummary()
Func_FillInfoRunSummary()
Definition: getRunInfo.py:254
def Func_CopyWBMInfo(str_name)
Func_CopyWBMInfo(str_name)
Definition: getRunInfo.py:199
def Func_GetWBMInfo(str_name, str_path)
Func_GetWBMInfo(str_name, str_path)
Definition: getRunInfo.py:175

◆ Func_GetHtmlTags()

def getRunInfo.Func_GetHtmlTags (   str_text)

FUNCTIONS.

Func_GetHtmlTags(str_text)

Gets HTML tags from a string

Func_GetHtmlTags(str_text):
Gets HTML tags from a string

Definition at line 109 of file getRunInfo.py.

References submitPVValidationJobs.split().

Referenced by Func_FillInfoRunRegistry().

109 def Func_GetHtmlTags(str_text):
110  """ Func_GetHtmlTags(str_text):
111  Gets HTML tags from a string
112  """
113  dict_tags = {}
114  # first look for tags w/ values
115  lstr_split = str_text.split('</')
116  for str_split in lstr_split[1:]:
117  str_key = str_split.split('>')[0]
118  dict_tags[str_key] = str_key in dict_tags
119  # second look for tags w/o values
120  lstr_split = str_text.split('/>')
121  for str_split in lstr_split[:-1]:
122  str_key = str_split.split('<')[-1].split()[0]
123  dict_tags[str_key] = str_key in dict_tags
124  return dict_tags
125 
def Func_GetHtmlTags(str_text)
FUNCTIONS.
Definition: getRunInfo.py:109

◆ Func_GetHtmlTagValue()

def getRunInfo.Func_GetHtmlTagValue (   str_tag,
  str_text,
  int_index = 1 
)

Func_GetHtmlTagValue(str_tag, str_text)

Gets the value of the n-th oocurence a given HTML tag from a string

Func_GetHtmlTagValue(str_tag, str_text):
 Gets the value of the n-th oocurence a given HTML tag from a string

Definition at line 129 of file getRunInfo.py.

References submitPVValidationJobs.split().

Referenced by Func_FillInfoDBS(), and Func_FillInfoRunRegistry().

129 def Func_GetHtmlTagValue(str_tag, str_text, int_index = 1):
130  """ Func_GetHtmlTagValue(str_tag, str_text):
131  Gets the value of the n-th oocurence a given HTML tag from a string
132  """
133  if int_index > str_text.count('<'+str_tag):
134  return ''
135  str_1 = str_text.split('<'+str_tag)[int_index]
136  if str_1[0] != '>':
137  if str_1.split('>')[0][-1] == '/':
138  return ''
139  return str_1.split('>',1)[1].split('</'+str_tag+'>')[0]
140 
def Func_GetHtmlTagValue(str_tag, str_text, int_index=1)
Func_GetHtmlTagValue(str_tag, str_text)
Definition: getRunInfo.py:129

◆ Func_GetHtmlTagValueAttr()

def getRunInfo.Func_GetHtmlTagValueAttr (   str_value,
  str_text 
)

Func_GetHtmlTagValueAttr(str_tag, str_text)

Gets the (last) attribute of a given HTML tag value from a string

Func_GetHtmlTagValueAttr(str_value, str_text):
Gets the (last) attributes of a given HTML tag value from a string

Definition at line 157 of file getRunInfo.py.

References submitPVValidationJobs.split().

157 def Func_GetHtmlTagValueAttr(str_value, str_text):
158  """ Func_GetHtmlTagValueAttr(str_value, str_text):
159  Gets the (last) attributes of a given HTML tag value from a string
160  """
161  return str_text.split('\">'+str_value+'<')[0].split('=\"')[-1]
162 
def Func_GetHtmlTagValueAttr(str_value, str_text)
Func_GetHtmlTagValueAttr(str_tag, str_text)
Definition: getRunInfo.py:157

◆ Func_GetHtmlTagValues()

def getRunInfo.Func_GetHtmlTagValues (   str_text)

Func_GetHtmlTagValues(str_text)

Gets HTML tag values from a string

Func_GetHtmlTagValues(str_text):
Gets HTML tag values from a string

Definition at line 144 of file getRunInfo.py.

144 def Func_GetHtmlTagValues(str_text):
145  """ Func_GetHtmlTagValues(str_text):
146  Gets HTML tag values from a string
147  """
148  lstr_split = str_text.split('</')
149  lstr_values = []
150  for str_split in lstr_split[:-1]:
151  lstr_values.append(str_split.split('>')[-1])
152  return lstr_values
153 
def Func_GetHtmlTagValues(str_text)
Func_GetHtmlTagValues(str_text)
Definition: getRunInfo.py:144

◆ Func_GetWBMInfo()

def getRunInfo.Func_GetWBMInfo (   str_name,
  str_path 
)

Func_GetWBMInfo(str_name, str_path)

Logs in on cmsusr0, retrieves WBM information and stores it locally

Func_GetWBMInfo(str_name, str_path)
Logs in on cmsusr0, retrieves WBM information and stores it locally

Definition at line 175 of file getRunInfo.py.

Referenced by Func_FillInfoHlt(), Func_FillInfoMagnetHistory(), and Func_FillInfoRunSummary().

175 def Func_GetWBMInfo(str_name, str_path):
176  """ Func_GetWBMInfo(str_name, str_path)
177  Logs in on cmsusr0, retrieves WBM information and stores it locally
178  """
179  pid, fd = os.forkpty()
180  if pid == 0:
181  os.execv('/usr/bin/ssh', ['/usr/bin/ssh', '-l', Str_userID, STR_p5] + ['rm', '-f', '\"'+str_name + '\" && ' + 'wget', '\"'+str_path+'/'+str_name+'\"'])
182  else:
183  time.sleep(1)
184  os.read(fd, 1000)
185  time.sleep(1)
186  os.write(fd, Str_passwd)
187  time.sleep(1)
188  c = 0
189  s = os.read(fd, 1)
190  while s:
191  c += 1
192  s = os.read(fd, 1)
193  if c >= 2:
194  break
195 
def Func_GetWBMInfo(str_name, str_path)
Func_GetWBMInfo(str_name, str_path)
Definition: getRunInfo.py:175

◆ Func_MakeShellWord()

def getRunInfo.Func_MakeShellWord (   str_python)

Func_MakeShellWord(str_python)

Adds shell escape charakters to Python strings

Func_MakeShellWord(str_python)
Adds shell escape charakters to Python strings

Definition at line 166 of file getRunInfo.py.

References python.rootplot.root2matplotlib.replace().

Referenced by Func_FillInfoHlt(), Func_FillInfoMagnetHistory(), and Func_FillInfoRunSummary().

166 def Func_MakeShellWord(str_python):
167  """ Func_MakeShellWord(str_python)
168  Adds shell escape charakters to Python strings
169  """
170  return str_python.replace('?','\\?').replace('=','\\=').replace(' ','\\ ').replace('&','\\&').replace(':','\\:')
171 
def replace(string, replacements)
def Func_MakeShellWord(str_python)
Func_MakeShellWord(str_python)
Definition: getRunInfo.py:166

Variable Documentation

◆ bool_hlt

getRunInfo.bool_hlt

Definition at line 437 of file getRunInfo.py.

◆ bool_runRegistry

getRunInfo.bool_runRegistry

Definition at line 394 of file getRunInfo.py.

◆ Dict_dbsDatasets

getRunInfo.Dict_dbsDatasets

Definition at line 101 of file getRunInfo.py.

◆ DICT_keysRunSummary

getRunInfo.DICT_keysRunSummary

Definition at line 60 of file getRunInfo.py.

◆ DICT_keysRunSummaryTrigger

getRunInfo.DICT_keysRunSummaryTrigger

Definition at line 75 of file getRunInfo.py.

◆ Dict_maxLenDbsDatasets

getRunInfo.Dict_maxLenDbsDatasets

Definition at line 102 of file getRunInfo.py.

◆ Dict_runRegistry

getRunInfo.Dict_runRegistry

Definition at line 95 of file getRunInfo.py.

◆ DICT_tagsRunRegistry

getRunInfo.DICT_tagsRunRegistry

Definition at line 36 of file getRunInfo.py.

◆ Dict_wbmRunSummary

getRunInfo.Dict_wbmRunSummary

Definition at line 97 of file getRunInfo.py.

◆ DictDict_dbsDatasets

getRunInfo.DictDict_dbsDatasets

Definition at line 99 of file getRunInfo.py.

◆ DictDict_dbsEvents

getRunInfo.DictDict_dbsEvents

Definition at line 100 of file getRunInfo.py.

◆ Float_magneticField

getRunInfo.Float_magneticField

Definition at line 96 of file getRunInfo.py.

◆ hours

◆ int_length

getRunInfo.int_length

Definition at line 475 of file getRunInfo.py.

◆ INT_offset

getRunInfo.INT_offset

Definition at line 26 of file getRunInfo.py.

◆ LSTR_dbsInstances

getRunInfo.LSTR_dbsInstances

Definition at line 32 of file getRunInfo.py.

◆ Lstr_hltPaths

getRunInfo.Lstr_hltPaths

Definition at line 98 of file getRunInfo.py.

◆ STR_headDatasets

getRunInfo.STR_headDatasets

Definition at line 34 of file getRunInfo.py.

◆ STR_headFiles

getRunInfo.STR_headFiles

Definition at line 35 of file getRunInfo.py.

◆ STR_htlConfig

getRunInfo.STR_htlConfig

Definition at line 57 of file getRunInfo.py.

◆ STR_p5

getRunInfo.STR_p5

Definition at line 28 of file getRunInfo.py.

◆ Str_passwd

getRunInfo.Str_passwd

Definition at line 390 of file getRunInfo.py.

◆ str_print

getRunInfo.str_print

Definition at line 471 of file getRunInfo.py.

◆ Str_run

getRunInfo.Str_run

Definition at line 94 of file getRunInfo.py.

◆ STR_runEnd

getRunInfo.STR_runEnd

Definition at line 59 of file getRunInfo.py.

◆ STR_runStart

getRunInfo.STR_runStart

Definition at line 58 of file getRunInfo.py.

◆ STR_SiStrip

getRunInfo.STR_SiStrip

Definition at line 30 of file getRunInfo.py.

◆ Str_userID

getRunInfo.Str_userID

MAIN PROGRAM.

Definition at line 389 of file getRunInfo.py.

◆ STR_wwwDBSData

getRunInfo.STR_wwwDBSData

Definition at line 31 of file getRunInfo.py.

◆ STR_wwwWBM

getRunInfo.STR_wwwWBM

Definition at line 29 of file getRunInfo.py.

◆ TD_shiftUTC

getRunInfo.TD_shiftUTC

Definition at line 25 of file getRunInfo.py.