ATLAS Offline Software
Classes | Functions | Variables
python.TileCalibTools Namespace Reference

Classes

class  TileASCIIParser
 
class  TileASCIIParser2
 
class  TileASCIIParser3
 
class  TileBlobReader
 
class  TileBlobWriter
 

Functions

def getLastRunNumber ()
 
def getPromptCalibRunNumber ()
 
def getAliasFromFile (aliastype='Current')
 
def getTilePrefix (ofl=True, splitOnlInOflSchema=True)
 
def getTilePrefixes ()
 
def getAthenaFolderDescr (type="run-lumi")
 
def getAthenaFolderType (folderDescr)
 
def openDb (db, instance, mode="READONLY", schema="COOLOFL_TILE", sqlfn="tileSqlite.db")
 
def openDbConn (connStr, mode="READONLY")
 
def coolTimeFromRunLumi (runNum, lbkNum)
 
def decodeTimeString (timeString)
 
def getCoolValidityKey (pointInTime, isSince=True)
 
def getFolderTag (db, folderPath, globalTag)
 
def runLumiFromCoolTime (iov)
 
def copyFolder (dbr, dbw, folder, tagr, tagw, chanNum, pointInTime1, pointInTime2)
 

Variables

 log
 
 MINRUN
 
 MINLBK
 
 MAXRUN
 
 MAXLBK
 
 UNIX2COOL
 
 UNIXTMAX
 
 LASPARTCHAN
 

Function Documentation

◆ coolTimeFromRunLumi()

def python.TileCalibTools.coolTimeFromRunLumi (   runNum,
  lbkNum 
)
Returns COOL timeStamp build from run and lumi block numbers

Definition at line 319 of file TileCalibTools.py.

319 def coolTimeFromRunLumi(runNum, lbkNum):
320  """
321  Returns COOL timeStamp build from run and lumi block numbers
322  """
323  return (int(runNum)<<32) + int(lbkNum)
324 
325 #
326 #______________________________________________________________________

◆ copyFolder()

def python.TileCalibTools.copyFolder (   dbr,
  dbw,
  folder,
  tagr,
  tagw,
  chanNum,
  pointInTime1,
  pointInTime2 
)

Definition at line 441 of file TileCalibTools.py.

441 def copyFolder(dbr, dbw, folder, tagr, tagw, chanNum, pointInTime1, pointInTime2):
442 
443  log.info("Copy channel %i", chanNum)
444 
445  folderR = dbr.getFolder(folder)
446  folderW = dbw.getFolder(folder)
447 
448  chansel = cool.ChannelSelection(chanNum)
449 
450  iov1 = getCoolValidityKey(pointInTime1,False)
451  iov2 = getCoolValidityKey(pointInTime2,False)
452 
453  if tagr=='':
454  multiVersion = False
455  objs = folderR.browseObjects(iov1,iov2,chansel)
456  else:
457  multiVersion = True
458  objs = folderR.browseObjects(iov1,iov2,chansel,tagr)
459  while objs.goToNext():
460  obj=objs.currentRef()
461  sinceCool=obj.since()
462  if sinceCool < iov1:
463  sinceCool = iov1
464  untilCool=obj.until()
465  data=obj.payload()
466  sinceTup = runLumiFromCoolTime(sinceCool)
467  untilTup = runLumiFromCoolTime(untilCool)
468  log.debug("Copy entry: [%i,%i] - [%i,%i]: %s", sinceTup[0],sinceTup[1],untilTup[0],untilTup[1], data)
469  folderW.storeObject(sinceCool, untilCool, data, chanNum, tagw, multiVersion)
470 
471 
472 
473 #======================================================================
474 #===
475 #=== TileBlobWriter
476 #===
477 #======================================================================
478 
479 #
480 #______________________________________________________________________

◆ decodeTimeString()

def python.TileCalibTools.decodeTimeString (   timeString)
Retruns UNIX time stamp given an input time string

Definition at line 327 of file TileCalibTools.py.

327 def decodeTimeString(timeString):
328  """
329  Retruns UNIX time stamp given an input time string
330  """
331  return int(time.mktime(time.strptime(timeString,"%Y-%m-%d %H:%M:%S")))
332 
333 #
334 #______________________________________________________________________

◆ getAliasFromFile()

def python.TileCalibTools.getAliasFromFile (   aliastype = 'Current')
Return name of top-level tag for 'Current' or 'CurrentES' or 'Next' or 'NextES' aliases

Definition at line 127 of file TileCalibTools.py.

127 def getAliasFromFile(aliastype='Current'):
128  """
129  Return name of top-level tag for 'Current' or 'CurrentES' or 'Next' or 'NextES' aliases
130  """
131 
132  aliasfolder = '/afs/cern.ch/atlas/conditions/poolcond/buffer/BestKnowledge'
133  try:
134  falias = open('%s/%s' % (aliasfolder, aliastype))
135  alias = falias.readline()
136  falias.close()
137  return alias.replace('\n','').replace('*','')
138  except Exception:
139  import os
140  aliasfolder = os.getcwd()+'/BestKnowledge'
141  print("Looking for %s in %s" % (aliastype,aliasfolder))
142  try:
143  falias = open('%s/%s' % (aliasfolder, aliastype))
144  alias = falias.readline()
145  falias.close()
146  return alias.replace('\n','').replace('*','')
147  except Exception:
148  return aliastype.upper()
149 
150 #
151 #______________________________________________________________________

◆ getAthenaFolderDescr()

def python.TileCalibTools.getAthenaFolderDescr (   type = "run-lumi")
Returns the run-lumi type folder description needed to read back the folder content
as a CondAttrListCollection in Athena.

Definition at line 180 of file TileCalibTools.py.

180 def getAthenaFolderDescr(type="run-lumi"):
181  """
182  Returns the run-lumi type folder description needed to read back the folder content
183  as a CondAttrListCollection in Athena.
184  """
185  desc ='<timeStamp>'+type+'</timeStamp>'
186  desc+='<addrHeader><address_header service_type="71" clid="1238547719" /></addrHeader>'
187  desc+='<typeName>CondAttrListCollection</typeName>'
188  return desc
189 
190 #
191 #______________________________________________________________________

◆ getAthenaFolderType()

def python.TileCalibTools.getAthenaFolderType (   folderDescr)

Definition at line 192 of file TileCalibTools.py.

192 def getAthenaFolderType(folderDescr):
193  type = re.compile(".*<timeStamp>(.*)</timeStamp>.*").search(folderDescr)
194  if not type:
195  raise Exception("No folder type info found in \'%s\'" % folderDescr)
196  return type.groups()[0]
197 
198 #
199 #______________________________________________________________________

◆ getCoolValidityKey()

def python.TileCalibTools.getCoolValidityKey (   pointInTime,
  isSince = True 
)
The interpretation of pointInTime depends on their type:
- tuple(int,int) : run and lbk number
- integer        : Values are interpreted as unix time stamps
- string         : time stamp of format 'yyyy-mm-dd hh:mm:ss'

Definition at line 335 of file TileCalibTools.py.

335 def getCoolValidityKey(pointInTime, isSince=True):
336  """
337  The interpretation of pointInTime depends on their type:
338  - tuple(int,int) : run and lbk number
339  - integer : Values are interpreted as unix time stamps
340  - string : time stamp of format 'yyyy-mm-dd hh:mm:ss'
341  """
342 
343  validityKey = None
344 
345  #=== string: convert to unix time and treat as latter
346  if isinstance(pointInTime, str):
347  pointInTime = decodeTimeString(pointInTime)
348 
349  #=== integer: unix time stamp
350  if isinstance(pointInTime, int):
351  if pointInTime >=0:
352  validityKey = pointInTime * UNIX2COOL
353  else:
354  if isSince:
355  validityKey = int(time.time()) * UNIX2COOL
356  else :
357  validityKey = cool.ValidityKeyMax
358  #=== run-lumi tuple
359  elif isinstance(pointInTime, tuple):
360  validityKey = coolTimeFromRunLumi(pointInTime[0],pointInTime[1])
361  #=== catch other types
362  else:
363  raise Exception("Unrecognized pointInTime type=%s" % type(pointInTime))
364  return cool.ValidityKey(validityKey)
365 
366 
367 #
368 #____________________________________________________________________

◆ getFolderTag()

def python.TileCalibTools.getFolderTag (   db,
  folderPath,
  globalTag 
)

Definition at line 369 of file TileCalibTools.py.

369 def getFolderTag(db, folderPath, globalTag):
370 
371  tag=""
372  if globalTag.startswith("/") or globalTag.startswith("TileO"):
373  tag = globalTag
374  log.warning("Using tag as-is for folder %s", folderPath)
375  elif '/TILE/ONL01' in folderPath:
376  log.info("Using empty tag for single-version folder %s", folderPath)
377  elif globalTag.startswith(" "):
378  log.warning("Using empty tag for folder %s", folderPath)
379  elif globalTag=="":
380  tag = TileCalibUtils.getFullTag(folderPath, globalTag)
381  log.warning("Using tag with empty suffix for folder %s", folderPath)
382  else:
383  schema='COOLOFL_TILE/CONDBR2'
384  if isinstance(db, six.string_types):
385  if 'OFLP200' in db or 'MC' in db:
386  schema='COOLOFL_TILE/OFLP200'
387  if not globalTag.startswith("OFLCOND"):
388  if globalTag.startswith("RUN"):
389  globalTag='OFLCOND-'+globalTag
390  log.info("Using Simulation global tag \'%s\'", globalTag)
391  elif 'COMP200' in db or 'RUN1' in db:
392  schema='COOLOFL_TILE/COMP200'
393  if globalTag!='UPD1' and globalTag!='UPD4' and ('UPD1' in globalTag or 'UPD4' in globalTag or 'COND' not in globalTag):
394  log.info("Using suffix \'%s\' as it is", globalTag)
395  else:
396  globalTag='COMCOND-BLKPA-RUN1-06'
397  log.info("Using RUN1 global tag \'%s\'", globalTag)
398  if schema == 'COOLOFL_TILE/CONDBR2':
399  if globalTag=='CURRENT' or globalTag=='UPD4' or globalTag=='':
400  globalTag=getAliasFromFile('Current')
401  log.info("Resolved CURRENT globalTag to \'%s\'", globalTag)
402  elif globalTag=='CURRENTES' or globalTag=='UPD1':
403  globalTag=getAliasFromFile('CurrentES')
404  log.info("Resolved CURRENT ES globalTag to \'%s\'", globalTag)
405  elif globalTag=='NEXT':
406  globalTag=getAliasFromFile('Next')
407  log.info("Resolved NEXT globalTag to \'%s\'", globalTag)
408  elif globalTag=='NEXTES':
409  globalTag=getAliasFromFile('NextES')
410  log.info("Resolved NEXT ES globalTag to \'%s\'", globalTag)
411  globalTag=globalTag.replace('*','')
412  if 'UPD1' in globalTag or 'UPD4' in globalTag or 'COND' not in globalTag:
413  tag = TileCalibUtils.getFullTag(folderPath, globalTag)
414  log.info("Resolved localTag \'%s\' to folderTag \'%s\'", globalTag,tag)
415  else:
416  if not isinstance(db, six.string_types):
417  try:
418  folder = db.getFolder(folderPath)
419  tag = folder.resolveTag(globalTag)
420  log.info("Resolved globalTag \'%s\' to folderTag \'%s\'", globalTag,tag)
421  schema=""
422  except Exception as e:
423  log.warning(e)
424  log.warning("Using %s to resolve globalTag",schema)
425  if len(schema):
426  dbr = openDbConn(schema,'READONLY')
427  folder = dbr.getFolder(folderPath)
428  tag = folder.resolveTag(globalTag)
429  dbr.closeDatabase()
430  log.info("Resolved globalTag \'%s\' to folderTag \'%s\'", globalTag,tag)
431 
432  return tag
433 
434 #
435 #____________________________________________________________________

◆ getLastRunNumber()

def python.TileCalibTools.getLastRunNumber ( )
Return the run number of next run to be taken in the pit

Definition at line 56 of file TileCalibTools.py.

56 def getLastRunNumber():
57  """
58  Return the run number of next run to be taken in the pit
59  """
60 
61  urls = ["http://atlas-service-db-runlist.web.cern.ch/atlas-service-db-runlist/cgi-bin/latestRun.py",
62  "http://pcata007.cern.ch/cgi-bin/getLastRunNumber.py",
63  "http://pcata007.cern.ch/latestRun"]
64 
65  run=0
66  for url in urls:
67  try:
68  for line in urlopen(url).readlines():
69  r=line.strip()
70  if r.isdigit():
71  run=int(r)
72  break
73  if run>0:
74  break
75  except Exception:
76  continue
77 
78  return max(run+1,222222)
79 
80 #
81 #______________________________________________________________________

◆ getPromptCalibRunNumber()

def python.TileCalibTools.getPromptCalibRunNumber ( )
Return the minimal run number of runs in prompt calibration loop

Definition at line 82 of file TileCalibTools.py.

83  """
84  Return the minimal run number of runs in prompt calibration loop
85  """
86 
87  promptCalibRuns = []
88 
89  try:
90  fin = open("/afs/cern.ch/user/a/atlcond/scratch0/nemo/prod/web/calibruns.txt","r").read().split()
91  for line in fin:
92  try:
93  if line:
94  promptCalibRuns.append( int(line) )
95  except ValueError:
96  pass
97  except Exception:
98  promptCalibRuns=[]
99 
100  if len(promptCalibRuns)==0:
101 
102  urls = ["http://pcata007.cern.ch/cgi-bin/getBulkRunNumber.py",
103  "http://pcata007.cern.ch/latestRun"]
104 
105  run=0
106  for url in urls:
107  try:
108  for line in urlopen(url).readlines():
109  r=line.strip()
110  if r.isdigit():
111  run=int(r)
112  break
113  if run>0:
114  promptCalibRuns=[run]
115  break
116  except Exception:
117  continue
118 
119  if len(promptCalibRuns) >= 1:
120  promptCalibRuns.sort()
121  return promptCalibRuns[0]
122  else:
123  return getLastRunNumber()
124 
125 #
126 #______________________________________________________________________

◆ getTilePrefix()

def python.TileCalibTools.getTilePrefix (   ofl = True,
  splitOnlInOflSchema = True 
)
Returns the common Tile prefix used for all COOL folders.
ofl = False ... single version folders
ofl = True  ... multiversion folders
splitOnlInOflSchema = False ... offline only folders or
                splitOnline folders in Online schema
splitOnlInOflSchema = True ... splitOnlineFolders in
                offline schema

Definition at line 152 of file TileCalibTools.py.

152 def getTilePrefix(ofl=True,splitOnlInOflSchema=True):
153  """
154  Returns the common Tile prefix used for all COOL folders.
155  ofl = False ... single version folders
156  ofl = True ... multiversion folders
157  splitOnlInOflSchema = False ... offline only folders or
158  splitOnline folders in Online schema
159  splitOnlInOflSchema = True ... splitOnlineFolders in
160  offline schema
161  """
162  if ofl:
163  if splitOnlInOflSchema:
164  return "/TILE/OFL02/"
165  else:
166  return "/TILE/OFL01/"
167  else:
168  return "/TILE/ONL01/"
169 
170 #
171 #______________________________________________________________________

◆ getTilePrefixes()

def python.TileCalibTools.getTilePrefixes ( )
Returns a list of all TILE folder prefixes

Definition at line 172 of file TileCalibTools.py.

172 def getTilePrefixes():
173  """
174  Returns a list of all TILE folder prefixes
175  """
176  return ["/TILE/ONL01/","/TILE/OFL01/","/TILE/OFL02/"]
177 
178 #
179 #______________________________________________________________________

◆ openDb()

def python.TileCalibTools.openDb (   db,
  instance,
  mode = "READONLY",
  schema = "COOLOFL_TILE",
  sqlfn = "tileSqlite.db" 
)
Opens a COOL db connection.
- db:       The DB type. The following names are recognized:
                * SQLITE: Opens file mentioned in sqlfn parameter
                * ORACLE or FRONTIER: Opens ORACLE DB, forces READONLY
- instance: One of valid instances - CONDBR2 OFLP200 COMP200 CMCP200
- mode:     Can be READONLY (default), RECREATE or UPDATE
- schema:   One of valid schemas - COOLONL_CALO COOLOFL_CALO COOLONL_LAR COOLOFL_LAR COOLONL_TILE COOLOFL_TILE
- sqlfn:    Name of sqlite file if db is SQLITE

Definition at line 200 of file TileCalibTools.py.

200 def openDb(db, instance, mode="READONLY", schema="COOLOFL_TILE", sqlfn="tileSqlite.db"):
201  """
202  Opens a COOL db connection.
203  - db: The DB type. The following names are recognized:
204  * SQLITE: Opens file mentioned in sqlfn parameter
205  * ORACLE or FRONTIER: Opens ORACLE DB, forces READONLY
206  - instance: One of valid instances - CONDBR2 OFLP200 COMP200 CMCP200
207  - mode: Can be READONLY (default), RECREATE or UPDATE
208  - schema: One of valid schemas - COOLONL_CALO COOLOFL_CALO COOLONL_LAR COOLOFL_LAR COOLONL_TILE COOLOFL_TILE
209  - sqlfn: Name of sqlite file if db is SQLITE
210  """
211  #=== check for valid db names
212  if db is not None:
213  validDb = ["SQLITE", "ORACLE", "FRONTIER"]
214  if db not in validDb:
215  raise Exception( "DB not valid: %s, valid DBs are: %s" % (db,validDb) )
216  elif db == "ORACLE" or db == "FRONTIER":
217  mode = "READONLY"
218 
219  #=== check for valid instance names
220  validInstance = ["COMP200", "CONDBR2", "CMCP200", "OFLP200"]
221  if instance not in validInstance:
222  raise Exception( "Instance not valid: %s, valid instance are: %s" % (instance,validInstance) )
223 
224  #=== check for valid schema names
225  validSchema = ["COOLONL_TILE","COOLOFL_TILE"]
226  if schema not in validSchema:
227  raise Exception( "Schema not valid: %s, valid schemas are: %s" % (schema,validSchema) )
228 
229  #=== construct connection string
230  connStr = ""
231  if db=='SQLITE':
232  if mode=="READONLY" and not os.path.exists(sqlfn):
233  raise Exception( "Sqlite file %s does not exist" % (sqlfn) )
234  if (mode=="RECREATE" or mode=="UPDATE") and not os.path.exists(os.path.dirname(sqlfn)):
235  dirn=os.path.dirname(sqlfn)
236  if dirn:
237  os.makedirs(dirn)
238  connStr="sqlite://X;schema=%s;dbname=%s" % (sqlfn,instance)
239  elif db=='FRONTIER':
240  connStr='frontier://ATLF/()/;schema=ATLAS_%s;dbname=%s' % (schema,instance)
241  elif db=='ORACLE':
242  connStr='oracle://%s;schema=ATLAS_%s;dbname=%s' % ('ATLAS_COOLPROD',schema,instance)
243  else:
244  connStr=schema+'/'+instance
245 
246  return openDbConn(connStr, mode)
247 
248 #
249 #______________________________________________________________________

◆ openDbConn()

def python.TileCalibTools.openDbConn (   connStr,
  mode = "READONLY" 
)
Opens a COOL db connection.
- connStr: The DB connection string
- mode:    Can be READONLY (default), RECREATE or UPDATE
           or ORACLE or FRONTIER if connStr is only short name of the database

Definition at line 250 of file TileCalibTools.py.

250 def openDbConn(connStr, mode="READONLY"):
251  """
252  Opens a COOL db connection.
253  - connStr: The DB connection string
254  - mode: Can be READONLY (default), RECREATE or UPDATE
255  or ORACLE or FRONTIER if connStr is only short name of the database
256  """
257 
258  #=== split the name into schema and dbinstance
259  splitname=connStr.split('/')
260  if (len(splitname)!=2): # string connection ready to be used as it is
261  connStr_new=connStr
262  else: # construct connection string
263  schema=splitname[0]
264  instance=splitname[1]
265  if mode=="ORACLE":
266  connStr_new='oracle://%s;schema=ATLAS_%s;dbname=%s' % ('ATLAS_COOLPROD',schema,instance)
267  else:
268  connStr_new='frontier://ATLF/()/;schema=ATLAS_%s;dbname=%s' % (schema,instance)
269 
270  #=== get dbSvc and print header info
271  dbSvc = cool.DatabaseSvcFactory.databaseService()
272  log.info( "---------------------------------------------------------------------------------" )
273  log.info( "-------------------------- TileCalibTools.openDbConn ----------------------------" )
274  log.info( "- using COOL version %s", dbSvc.serviceVersion() )
275  log.info( "- opening TileDb: %s",connStr_new )
276  log.info( "- mode: %s", mode )
277  log.info( "---------------------------------------------------------------------------------" )
278 
279  #=== action depends on mode
280  if mode in ["READONLY","ORACLE","FRONTIER","",None]:
281  #=== open read only
282  try:
283  db=dbSvc.openDatabase(connStr_new,True)
284  except Exception as e:
285  log.debug( e )
286  log.critical("Could not connect to %s" % connStr_new )
287  return None
288  return db
289  elif mode=="RECREATE":
290  #=== recreating database
291  dbSvc.dropDatabase(connStr_new)
292  try:
293  db = dbSvc.createDatabase(connStr_new)
294  except Exception as e:
295  log.debug( e )
296  log.critical( "Could not create database, giving up..." )
297  return None
298  return db
299  elif mode=="UPDATE":
300  #=== update database
301  try:
302  db=dbSvc.openDatabase(connStr_new,False)
303  except Exception as e:
304  log.debug( e )
305  log.warning( "Could not connect to \'%s\', trying to create it....", connStr_new )
306  try:
307  db=dbSvc.createDatabase(connStr_new)
308  except Exception as e:
309  log.debug( e )
310  log.critical( "Could not create database, giving up..." )
311  return None
312  return db
313  else:
314  log.error("Mode \"%s\" not recognized", mode )
315  return None
316 
317 #
318 #______________________________________________________________________

◆ runLumiFromCoolTime()

def python.TileCalibTools.runLumiFromCoolTime (   iov)

Definition at line 436 of file TileCalibTools.py.

436 def runLumiFromCoolTime(iov):
437  return (int(iov >> 32), int(iov & 0xFFFFFFFF))
438 
439 #
440 #____________________________________________________________________

Variable Documentation

◆ LASPARTCHAN

python.TileCalibTools.LASPARTCHAN

Definition at line 52 of file TileCalibTools.py.

◆ log

python.TileCalibTools.log

Definition at line 33 of file TileCalibTools.py.

◆ MAXLBK

python.TileCalibTools.MAXLBK

Definition at line 48 of file TileCalibTools.py.

◆ MAXRUN

python.TileCalibTools.MAXRUN

Definition at line 47 of file TileCalibTools.py.

◆ MINLBK

python.TileCalibTools.MINLBK

Definition at line 46 of file TileCalibTools.py.

◆ MINRUN

python.TileCalibTools.MINRUN

Definition at line 45 of file TileCalibTools.py.

◆ UNIX2COOL

python.TileCalibTools.UNIX2COOL

Definition at line 49 of file TileCalibTools.py.

◆ UNIXTMAX

python.TileCalibTools.UNIXTMAX

Definition at line 50 of file TileCalibTools.py.

read
IovVectorMap_t read(const Folder &theFolder, const SelectionCriterion &choice, const unsigned int limit=10)
Definition: openCoraCool.cxx:569
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
max
#define max(a, b)
Definition: cfImp.cxx:41
python.TileCalibTools.openDb
def openDb(db, instance, mode="READONLY", schema="COOLOFL_TILE", sqlfn="tileSqlite.db")
Definition: TileCalibTools.py:200
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
python.TileCalibTools.getPromptCalibRunNumber
def getPromptCalibRunNumber()
Definition: TileCalibTools.py:82
python.TileCalibTools.decodeTimeString
def decodeTimeString(timeString)
Definition: TileCalibTools.py:327
python.TileCalibTools.getLastRunNumber
def getLastRunNumber()
Definition: TileCalibTools.py:56
python.TileCalibTools.getTilePrefixes
def getTilePrefixes()
Definition: TileCalibTools.py:172
python.TileCalibTools.openDbConn
def openDbConn(connStr, mode="READONLY")
Definition: TileCalibTools.py:250
python.TileCalibTools.coolTimeFromRunLumi
def coolTimeFromRunLumi(runNum, lbkNum)
Definition: TileCalibTools.py:319
python.TileCalibTools.runLumiFromCoolTime
def runLumiFromCoolTime(iov)
Definition: TileCalibTools.py:436
search
void search(TDirectory *td, const std::string &s, std::string cwd, node *n)
recursive directory search for TH1 and TH2 and TProfiles
Definition: hcg.cxx:738
python.TileCalibTools.getTilePrefix
def getTilePrefix(ofl=True, splitOnlInOflSchema=True)
Definition: TileCalibTools.py:152
python.TileCalibTools.copyFolder
def copyFolder(dbr, dbw, folder, tagr, tagw, chanNum, pointInTime1, pointInTime2)
Definition: TileCalibTools.py:441
python.TileCalibTools.getAthenaFolderType
def getAthenaFolderType(folderDescr)
Definition: TileCalibTools.py:192
python.TileCalibTools.getCoolValidityKey
def getCoolValidityKey(pointInTime, isSince=True)
Definition: TileCalibTools.py:335
Trk::open
@ open
Definition: BinningType.h:40
python.TileCalibTools.getAthenaFolderDescr
def getAthenaFolderDescr(type="run-lumi")
Definition: TileCalibTools.py:180
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
python.TileCalibTools.getFolderTag
def getFolderTag(db, folderPath, globalTag)
Definition: TileCalibTools.py:369
python.TileCalibTools.getAliasFromFile
def getAliasFromFile(aliastype='Current')
Definition: TileCalibTools.py:127
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70
Trk::split
@ split
Definition: LayerMaterialProperties.h:38
TileCalibUtils::getFullTag
static std::string getFullTag(const std::string &folder, const std::string &tag)
Returns the full tag string, composed of camelized folder name and tag part.
Definition: TileCalibUtils.cxx:33