ATLAS Offline Software
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
python.TileCalibCrest.TileBlobReaderCrest Class Reference
Inheritance diagram for python.TileCalibCrest.TileBlobReaderCrest:
Collaboration diagram for python.TileCalibCrest.TileBlobReaderCrest:

Public Member Functions

def __init__ (self, db, folder='', tag='', run=None, lumi=0, modmin=0, modmax=275, copyBlob=False)
 
def getTag (self)
 
def getFolderTag (self, folder, prefix, globalTag, api=None)
 
def getIovs (self, since=(MINRUN, MINLBK), until=(MAXRUN, MAXLBK))
 
def getIov (self, option=0)
 
def getBlob (self, ros, mod, runlumi=None, dbg=False)
 
def getDrawer (self, ros, mod, runlumi=None, dbg=False, useDefault=True)
 
def getComment (self, runlumi=None, split=False)
 
def getDefault (self, ros, drawer)
 

Public Attributes

 payload
 

Private Member Functions

def __getIov (self, runlumi, dbg=False)
 
def __runlumi2iov (self, runlumi)
 
def __checkIov (self, runlumi)
 
def __make_blob (self, string)
 
def __create_comment (self, b64string)
 
def __create_drawer (self, b64string, chan)
 

Private Attributes

 __db
 
 __folder
 
 __tag
 
 __copyBlob
 
 __iovList
 
 __iov
 
 __commentBlob
 
 __drawerBlob
 
 __comment
 
 __drawer
 
 __modmin
 
 __modmax
 
 __remote
 
 __api_instance
 

Detailed Description

TileCalibBlobReader is a helper class, managing the details of CREST interactions for
the user of TileCalibBlobs.

Definition at line 48 of file TileCalibCrest.py.

Constructor & Destructor Documentation

◆ __init__()

def python.TileCalibCrest.TileBlobReaderCrest.__init__ (   self,
  db,
  folder = '',
  tag = '',
  run = None,
  lumi = 0,
  modmin = 0,
  modmax = 275,
  copyBlob = False 
)
Input:
- db    : server connection string or file name
- folder: full folder path
- tag   : The folder tag, e.g. \"UPD4-24\" or full tag
- run   : Run number (if known)
- lumi  : Lumi block number
- modmin: Minimal module (COOL channel number)
- modmax: Maximal module (COOL channel number)
- copyBlob: save payload from CREST (Default:False, True to copy payload to json file)

Definition at line 55 of file TileCalibCrest.py.

55  def __init__(self, db, folder='', tag='', run=None, lumi=0, modmin=0, modmax=275, copyBlob=False):
56  """
57  Input:
58  - db : server connection string or file name
59  - folder: full folder path
60  - tag : The folder tag, e.g. \"UPD4-24\" or full tag
61  - run : Run number (if known)
62  - lumi : Lumi block number
63  - modmin: Minimal module (COOL channel number)
64  - modmax: Maximal module (COOL channel number)
65  - copyBlob: save payload from CREST (Default:False, True to copy payload to json file)
66  """
67  #=== initialize base class
68  TileCalibLogger.__init__(self,"TileBlobReader")
69  self.payload = {}
70  self.__db = db
71  self.__folder = folder
72  self.__tag = tag
73  self.__copyBlob = copyBlob
74 
75  self.__iovList = []
76  self.__iov = (-1,0)
77  self.__commentBlob = None
78  self.__drawerBlob = [None]*276
79  self.__comment = None
80  self.__drawer = [None]*276
81  self.__modmin = modmin
82  self.__modmax = modmax+1
83 
84  #=== try to open db
85  self.__remote = (("http://" in db) or ("https://" in db) or ("CREST" in db))
86  if self.__remote:
87  if 'http' not in self.__db:
88  self.__db = os.getenv(db,os.getenv('CREST_HOST',os.getenv('CREST_SERVER_PATH','http://crest-j23.cern.ch:8080/api-v5.0')))
89  self.log().info('Host %s' , (self.__db))
90  self.__api_instance = CrestApi(host=self.__db)
91  socks = os.getenv('CREST_SOCKS', 'False')
92  if socks == 'True': self.__api_instance.socks()
93  self.__tag = self.getFolderTag(folder,None,tag)
94  if run is not None and lumi is not None:
95  log.info("Initializing for run %d, lumiblock %d", run,lumi)
96  self.__getIov((run,lumi),True)
97  else:
98  self.log().info('File %s' , (self.__db))
99  self.__api_instance = None
100  self.__tag = 'unknown'
101  self.__iovList.append(((MINRUN,MINLBK),(MAXRUN, MAXLBK)))
102  self.__iov = self.__runlumi2iov(self.__iovList[-1])
103  with open(self.__db, 'r') as the_file:
104  jdata = json.load(the_file)
105  for chan in range(self.__modmin,self.__modmax):
106  try:
107  blob=jdata[str(chan)][0]
108  except Exception:
109  blob=None
110  self.__create_drawer(blob,chan)
111  try:
112  blob=jdata['1000'][0]
113  except Exception:
114  blob=None
115  self.__create_comment(blob)
116 

Member Function Documentation

◆ __checkIov()

def python.TileCalibCrest.TileBlobReaderCrest.__checkIov (   self,
  runlumi 
)
private

Definition at line 268 of file TileCalibCrest.py.

268  def __checkIov(self,runlumi):
269  point = (runlumi[0]<<32) + runlumi[1]
270  inrange = point>=self.__iov[0] and point<self.__iov[1]
271  return inrange
272 

◆ __create_comment()

def python.TileCalibCrest.TileBlobReaderCrest.__create_comment (   self,
  b64string 
)
private

Definition at line 281 of file TileCalibCrest.py.

281  def __create_comment(self,b64string):
282  if b64string is None or len(b64string)==0:
283  if b64string is None:
284  self.__commentBlob = None
285  else:
286  self.__commentBlob = 0
287  self.__comment = None
288  else:
289  blob1 = base64.decodebytes(bytes(b64string,'ascii'))
290  self.__commentBlob = self.__make_blob(blob1)
291  self.__comment = TileCalibDrawerCmt.getInstance(self.__commentBlob)
292  return
293 

◆ __create_drawer()

def python.TileCalibCrest.TileBlobReaderCrest.__create_drawer (   self,
  b64string,
  chan 
)
private

Definition at line 295 of file TileCalibCrest.py.

295  def __create_drawer(self,b64string,chan):
296  if b64string is None or isinstance(b64string, (int, float)) or len(b64string)==0:
297  if b64string is None:
298  self.__drawerBlob[chan] = None
299  else:
300  self.__drawerBlob[chan] = 0
301  self.__drawer[chan] = None
302  return
303  blob1 = base64.decodebytes(bytes(b64string,'ascii'))
304  self.__drawerBlob[chan] = self.__make_blob(blob1)
305  cmt = TileCalibDrawerCmt.getInstance(self.__drawerBlob[chan])
306  typeName = TileCalibType.getClassName(cmt.getObjType())
307  del cmt
308  #=== create calibDrawer depending on type
309  if typeName=='TileCalibDrawerFlt':
310  self.__drawer[chan] = TileCalibDrawerFlt.getInstance(self.__drawerBlob[chan])
311  self.log().debug( "typeName = Flt " )
312  elif typeName=='TileCalibDrawerInt':
313  self.__drawer[chan] = TileCalibDrawerInt.getInstance(self.__drawerBlob[chan])
314  self.log().debug( "typeName = Int " )
315  elif typeName=='TileCalibDrawerBch':
316  self.__drawer[chan] = TileCalibDrawerBch.getInstance(self.__drawerBlob[chan])
317  self.log().debug( "typeName = Bch " )
318  elif typeName=='TileCalibDrawerOfc':
319  self.__drawer[chan] = TileCalibDrawerOfc.getInstance(self.__drawerBlob[chan])
320  self.log().debug( "typeName = Ofc " )
321  elif typeName=='TileCalibDrawerCmt':
322  self.__drawer[chan] = cppyy.gbl.CaloCondBlobFlt.getInstance(self.__drawerBlob[chan])
323  self.log().debug( "typeName = CaloFlt " )
324  else:
325  self.__drawer[chan] = None
326  self.log().warn("Unknown blob type for chan %d - ignoring", chan)
327  return
328 

◆ __getIov()

def python.TileCalibCrest.TileBlobReaderCrest.__getIov (   self,
  runlumi,
  dbg = False 
)
private

Definition at line 214 of file TileCalibCrest.py.

214  def __getIov(self,runlumi,dbg=False):
215  if self.__api_instance is None:
216  pass
217  else:
218  run_lumi1=str((runlumi[0]<<32)+runlumi[1]+1)
219  MAXRUNLUMI1=str(MAXRUNLUMI+1)
220  iovs1=self.__api_instance.select_iovs(self.__tag,"0",run_lumi1,sort='id.since:DESC,id.insertionTime:DESC',size=1,snapshot=0)
221  iovs2=self.__api_instance.select_iovs(self.__tag,run_lumi1,MAXRUNLUMI1,sort='id.since:ASC,id.insertionTime:DESC',size=1,snapshot=0)
222  if iovs1.size==0:
223  raise Exception( "IOV for tag %s run,lumi (%s,%s) not found" % (self.__tag,runlumi[0],runlumi[1]) )
224  else:
225  iov=iovs1.resources[0]
226  since=int(iov.since)
227  runS=since>>32
228  lumiS=since&0xFFFFFFFF
229  until=MAXRUNLUMI if iovs2.size==0 else iovs2.resources[0].since
230  runU=until>>32
231  lumiU=until&0xFFFFFFFF
232  hash=iov.payload_hash
233  if dbg:
234  #self.log().info('Run,Lumi (%d,%d)' , runlumi)
235  self.log().info('IOV [%d,%d] - (%d,%d)' , runS,lumiS,runU,lumiU)
236  self.log().info('Insertion time %s' , iov.insertion_time)
237  self.log().info('Hash %s' , hash)
238  payload = self.__api_instance.get_payload(hash=hash).decode('utf-8')
239  jdata=json.loads(payload)
240  #with open("payload.json", 'w') as the_file:
241  # the_file.write(payload)
242  # the_file.write('\n')
243  if self.__copyBlob:
244  self.payload = jdata
245  return
246  self.__iovList.append(((runS,lumiS),(runU, lumiU)))
247  self.__iov = self.__runlumi2iov(self.__iovList[-1])
248  for chan in range(self.__modmin,self.__modmax):
249  try:
250  blob=jdata[str(chan)][0]
251  except Exception:
252  blob=None
253  self.__create_drawer(blob,chan)
254  try:
255  blob=jdata['1000'][0]
256  except Exception:
257  blob=None
258  self.__create_comment(blob)
259  return
260 

◆ __make_blob()

def python.TileCalibCrest.TileBlobReaderCrest.__make_blob (   self,
  string 
)
private

Definition at line 274 of file TileCalibCrest.py.

274  def __make_blob(self,string):
275  b = Blob()
276  b.write(string)
277  b.seek(0)
278  return b
279 

◆ __runlumi2iov()

def python.TileCalibCrest.TileBlobReaderCrest.__runlumi2iov (   self,
  runlumi 
)
private

Definition at line 262 of file TileCalibCrest.py.

262  def __runlumi2iov(self,runlumi):
263  since = (runlumi[0][0]<<32) + runlumi[0][1]
264  until = (runlumi[1][0]<<32) + runlumi[1][1]
265  return (since,until)
266 

◆ getBlob()

def python.TileCalibCrest.TileBlobReaderCrest.getBlob (   self,
  ros,
  mod,
  runlumi = None,
  dbg = False 
)

Definition at line 330 of file TileCalibCrest.py.

330  def getBlob(self,ros, mod, runlumi=None, dbg=False):
331 
332  if self.__remote and runlumi is not None and not self.__checkIov(runlumi):
333  self.__getIov(runlumi,dbg)
334 
335  if ros<0:
336  chanNum = mod
337  else:
338  chanNum = TileCalibUtils.getDrawerIdx(ros,mod)
339 
340  if (chanNum>=0 and chanNum<len(self.__drawer)):
341  return self.__drawerBlob[chanNum]
342  else:
343  raise Exception( "Invalid drawer requested: %s %s" % (ros,mod) )
344 

◆ getComment()

def python.TileCalibCrest.TileBlobReaderCrest.getComment (   self,
  runlumi = None,
  split = False 
)

Definition at line 378 of file TileCalibCrest.py.

378  def getComment(self,runlumi=None,split=False):
379 
380  if self.__remote and runlumi is not None and not self.__checkIov(runlumi):
381  self.__getIov(runlumi)
382  if self.__comment is not None:
383  if split:
384  return (self.__comment.getAuthor(),self.__comment.getComment(),self.__comment.getDate())
385  else:
386  return self.__comment.getFullComment()
387  else:
388  return "<no comment found>"
389 

◆ getDefault()

def python.TileCalibCrest.TileBlobReaderCrest.getDefault (   self,
  ros,
  drawer 
)
Returns a default drawer number (among first 20 COOL channels) for any drawer in any partition

Definition at line 391 of file TileCalibCrest.py.

391  def getDefault(self, ros, drawer):
392  """
393  Returns a default drawer number (among first 20 COOL channels) for any drawer in any partition
394  """
395  if ros==0:
396  if drawer<=4 or drawer==12 or drawer>=20:
397  drawer1=0
398  elif drawer<12:
399  drawer1=4
400  else:
401  drawer1=12
402  elif ros==1 or ros==2:
403  drawer1=4
404  elif ros==3:
405  OffsetEBA = [ 0, 0, 0, 0, 0, 0, 3, 2, #// Merged E+1: EBA07; Outer MBTS: EBA08
406  0, 0, 0, 0, 7, 6, 5, 7, #// D+4: EBA13, EBA16; Special D+4: EBA14; Special D+40: EBA15
407  7, 6, 6, 7, 0, 0, 0, 2, #// D+4: EBA17, EBA20; Special D+4: EBA18, EBA19; Outer MBTS: EBA24
408  3, 0, 0, 0, 0, 0, 0, 0, #// Merged E+1: EBA25
409  0, 0, 0, 0, 0, 0, 1, 1, #// Inner MBTS + special C+10: EBA39, EBA40
410  1, 1, 2, 3, 0, 0, 0, 0, #// Inner MBTS + special C+10: EBA41, EBA42; Outer MBTS: EBA43; Merged E+1: EBA44
411  0, 0, 0, 0, 3, 2, 1, 1, #// Merged E+1: EBA53; Outer MBTS: EBA54; Inner MBTS + special C+10: EBA55, EBA56
412  1, 1, 0, 0, 0, 0, 0, 0] #// Inner MBTS + special C+10: EBA57, EBA58
413  drawer1 = 12 + OffsetEBA[drawer]
414  elif ros==4:
415  OffsetEBC = [ 0, 0, 0, 0, 0, 0, 3, 2, #// Merged E-1: EBC07; Outer MBTS: EBC08
416  0, 0, 0, 0, 7, 6, 6, 7, # // D-4: EBC13, EBC16; Special D-4: EBC14, EBC15;
417  7, 5, 6, 7, 0, 0, 0, 2, #// D-4: EBC17, EBC20; Special D-40 EBC18; Special D-4: EBC19; Outer MBTS: EBC24
418  3, 0, 0, 3, 4, 0, 3, 4, #// Merged E-1: EBC25, EBC28, EBC31; E-4': EBC29, EBC32
419  0, 4, 3, 0, 4, 3, 1, 1, #// E-4': EBC34, EBC37; Merged E-1: EBC35, EBC38; Inner MBTS + special C-10: EBC39, EBC40
420  1, 1, 2, 3, 0, 0, 0, 0, #// Inner MBTS + special C-10: EBC41, EBC42; Outer MBTS: EBC43; Merged E-1: EBC44
421  0, 0, 0, 0, 3, 2, 1, 1, #// Merged E-1: EBC53; Outer MBTS: EBC54; Inner MBTS + special C-10: EBC55, EBC56
422  1, 1, 0, 0, 0, 0, 0, 0] #// Inner MBTS + special C-10: EBC57, EBC58
423  drawer1 = 12 + OffsetEBC[drawer]
424  else:
425  drawer1=0
426 
427  return (0,drawer1)
428 

◆ getDrawer()

def python.TileCalibCrest.TileBlobReaderCrest.getDrawer (   self,
  ros,
  mod,
  runlumi = None,
  dbg = False,
  useDefault = True 
)

Definition at line 346 of file TileCalibCrest.py.

346  def getDrawer(self,ros, mod, runlumi=None, dbg=False, useDefault=True):
347 
348  if self.__remote and runlumi is not None and not self.__checkIov(runlumi):
349  self.__getIov(runlumi,dbg)
350 
351  if ros<0:
352  chanNum = mod
353  else:
354  chanNum = TileCalibUtils.getDrawerIdx(ros,mod)
355 
356  if (chanNum>=0 and chanNum<len(self.__drawer)):
357  drawer=self.__drawer[chanNum]
358  if not useDefault and drawer is None:
359  if self.__drawerBlob[chanNum] is None:
360  return None
361  else:
362  return 0
363  while drawer is None:
364  #=== no default at all?
365  if ros==0 and drawer==0:
366  raise Exception('No default available')
367  #=== follow default policy
368  ros,mod = self.getDefault(ros,mod)
369  chanNum = TileCalibUtils.getDrawerIdx(ros,mod)
370  drawer=self.__drawer[chanNum]
371  return drawer
372  elif (chanNum == 1000):
373  return self.__comment
374  else:
375  raise Exception( "Invalid drawer requested: %s %s" % (ros,mod) )
376 

◆ getFolderTag()

def python.TileCalibCrest.TileBlobReaderCrest.getFolderTag (   self,
  folder,
  prefix,
  globalTag,
  api = None 
)

Definition at line 122 of file TileCalibCrest.py.

122  def getFolderTag(self, folder, prefix, globalTag, api=None):
123  if globalTag=='CURRENT' or globalTag=='UPD4' or globalTag=='' or globalTag=='HEAD':
124  globalTag=TileCalibTools.getAliasFromFile('Current')
125  log.info("Resolved CURRENT globalTag to \'%s\'", globalTag)
126  elif globalTag=='CURRENTES' or globalTag=='UPD1':
127  globalTag=TileCalibTools.getAliasFromFile('CurrentES')
128  log.info("Resolved CURRENT ES globalTag to \'%s\'", globalTag)
129  elif globalTag=='NEXT':
130  globalTag=TileCalibTools.getAliasFromFile('Next')
131  log.info("Resolved NEXT globalTag to \'%s\'", globalTag)
132  elif globalTag=='NEXTES':
133  globalTag=TileCalibTools.getAliasFromFile('NextES')
134  log.info("Resolved NEXT ES globalTag to \'%s\'", globalTag)
135  globalTag=globalTag.replace('*','')
136  if prefix is None:
137  prefix = ''
138  for f in folder.split('/'):
139  if re.findall('[a-z]+',f) != [] and f!='CellNoise':
140  prefix+=f
141  else:
142  prefix+=f.capitalize()
143  else:
144  prefix=prefix.strip('-').split('-')[0]
145  if prefix.startswith('Calo') and 'NoiseCell' not in prefix:
146  prefix='CALO'+prefix[4:]
147  if 'UPD1' in globalTag or 'UPD4' in globalTag or 'COND' not in globalTag:
148  if prefix != '':
149  if globalTag.startswith(prefix) or globalTag.startswith(prefix.upper()):
150  tag=globalTag
151  else:
152  tag=prefix+'-'+globalTag
153  self.log().info("Resolved localTag \'%s\' to folderTag \'%s\'", globalTag,tag)
154  elif folder!='' and not (globalTag.upper().startswith('TILE') or globalTag.upper().startswith('CALO')):
155  tag = TileCalibUtils.getFullTag(folder, globalTag)
156  if tag.startswith('Calo') and 'NoiseCell' not in tag:
157  tag='CALO'+tag[4:]
158  self.log().info("Resolved localTag \'%s\' to folderTag \'%s\'", globalTag,tag)
159  else:
160  tag=globalTag
161  self.log().info("Use localTag \'%s\' as is", tag)
162  else:
163  tag=None
164  if api:
165  tags=api.find_global_tag_map(globalTag)
166  else:
167  tags=self.__api_instance.find_global_tag_map(globalTag)
168  if tags.size==0:
169  raise Exception( "globalTag %s not found" % (globalTag) )
170  else:
171  for i in range(tags.size):
172  t=tags.resources[i].tag_name
173  l=tags.resources[i].label
174  if (prefix!='' and t.startswith(prefix)) or l==folder:
175  tag=t
176  self.log().info("Resolved globalTag \'%s\' to folderTag \'%s\'", globalTag,tag)
177  #taginfo = self.__api_instance.find_tag(name=tag)
178  #print(taginfo)
179  return tag
180 

◆ getIov()

def python.TileCalibCrest.TileBlobReaderCrest.getIov (   self,
  option = 0 
)

Definition at line 207 of file TileCalibCrest.py.

207  def getIov(self, option=0):
208  if option!=0:
209  return self.__iov
210  else:
211  return self.__iovList[-1]
212 

◆ getIovs()

def python.TileCalibCrest.TileBlobReaderCrest.getIovs (   self,
  since = (MINRUN,MINLBK),
  until = (MAXRUN,MAXLBK) 
)

Definition at line 182 of file TileCalibCrest.py.

182  def getIovs(self,since=(MINRUN,MINLBK),until=(MAXRUN,MAXLBK)):
183  if self.__api_instance is None:
184  return [self.__iovList[0][0]]
185  else:
186  run_lumi1=str((since[0]<<32)+since[1]+1)
187  run_lumi2=str((until[0]<<32)+until[1]+1)
188  MAXRUNLUMI1=str(MAXRUNLUMI+1)
189  iovs1=self.__api_instance.select_iovs(self.__tag,"0",run_lumi1,sort='id.since:DESC,id.insertionTime:DESC',size=1,snapshot=0)
190  iovs2=self.__api_instance.select_iovs(self.__tag,run_lumi2,MAXRUNLUMI1,sort='id.since:ASC,id.insertionTime:DESC',size=1,snapshot=0)
191  since1=0 if iovs1.size==0 else iovs1.resources[0].since
192  until1=MAXRUNLUMI if iovs2.size==0 else iovs2.resources[0].since
193  iovs=self.__api_instance.select_iovs(self.__tag,str(since1),str(until1),sort='id.since:ASC,id.insertionTime:DESC',size=999999,snapshot=0)
194  iovList=[]
195  if iovs.size==0:
196  raise Exception( "IOV for tag %s IOV [%s,%s] - (%s,%s) not found" % (self.__tag,since[0],since[1],until[0],until[1]) )
197  else:
198  for i in range(iovs.size):
199  iov=iovs.resources[i]
200  since=int(iov.since)
201  runS=since>>32
202  lumiS=since&0xFFFFFFFF
203  iovList.append((runS,lumiS))
204  return iovList
205 

◆ getTag()

def python.TileCalibCrest.TileBlobReaderCrest.getTag (   self)

Definition at line 118 of file TileCalibCrest.py.

118  def getTag(self):
119  return self.__tag
120 

Member Data Documentation

◆ __api_instance

python.TileCalibCrest.TileBlobReaderCrest.__api_instance
private

Definition at line 90 of file TileCalibCrest.py.

◆ __comment

python.TileCalibCrest.TileBlobReaderCrest.__comment
private

Definition at line 79 of file TileCalibCrest.py.

◆ __commentBlob

python.TileCalibCrest.TileBlobReaderCrest.__commentBlob
private

Definition at line 77 of file TileCalibCrest.py.

◆ __copyBlob

python.TileCalibCrest.TileBlobReaderCrest.__copyBlob
private

Definition at line 73 of file TileCalibCrest.py.

◆ __db

python.TileCalibCrest.TileBlobReaderCrest.__db
private

Definition at line 70 of file TileCalibCrest.py.

◆ __drawer

python.TileCalibCrest.TileBlobReaderCrest.__drawer
private

Definition at line 80 of file TileCalibCrest.py.

◆ __drawerBlob

python.TileCalibCrest.TileBlobReaderCrest.__drawerBlob
private

Definition at line 78 of file TileCalibCrest.py.

◆ __folder

python.TileCalibCrest.TileBlobReaderCrest.__folder
private

Definition at line 71 of file TileCalibCrest.py.

◆ __iov

python.TileCalibCrest.TileBlobReaderCrest.__iov
private

Definition at line 76 of file TileCalibCrest.py.

◆ __iovList

python.TileCalibCrest.TileBlobReaderCrest.__iovList
private

Definition at line 75 of file TileCalibCrest.py.

◆ __modmax

python.TileCalibCrest.TileBlobReaderCrest.__modmax
private

Definition at line 82 of file TileCalibCrest.py.

◆ __modmin

python.TileCalibCrest.TileBlobReaderCrest.__modmin
private

Definition at line 81 of file TileCalibCrest.py.

◆ __remote

python.TileCalibCrest.TileBlobReaderCrest.__remote
private

Definition at line 85 of file TileCalibCrest.py.

◆ __tag

python.TileCalibCrest.TileBlobReaderCrest.__tag
private

Definition at line 72 of file TileCalibCrest.py.

◆ payload

python.TileCalibCrest.TileBlobReaderCrest.payload

Definition at line 69 of file TileCalibCrest.py.


The documentation for this class was generated from the following file:
AtlasMcWeight::decode
double decode(number_type binnedWeight)
Convert weight from unsigned to double.
Definition: AtlasMcWeight.cxx:32
IDTPM::getAuthor
std::vector< unsigned int > getAuthor(const xAOD::TrackParticle &p)
Accessor utility function for getting the track author.
Definition: TrackParametersHelper.h:137
ReadBchFromCrest.warn
warn
Definition: ReadBchFromCrest.py:66
TileCalibDrawerBch::getInstance
static const TileCalibDrawerBch * getInstance(const coral::Blob &blob)
Returns a pointer to a const TileCalibDrawerBch.
Definition: TileCalibDrawerBch.cxx:28
python.processes.powheg.ZZj_MiNNLO.ZZj_MiNNLO.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZj_MiNNLO.py:18
TileCalibType::getClassName
static std::string getClassName(TileCalibType::TYPE type)
Returns the class name.
Definition: TileCalibType.cxx:10
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
TileCalibDrawerInt::getInstance
static const TileCalibDrawerInt * getInstance(const coral::Blob &blob)
Returns a pointer to a const TileCalibDrawerBch.
Definition: TileCalibDrawerInt.cxx:27
TileCalibDrawerFlt::getInstance
static const TileCalibDrawerFlt * getInstance(const coral::Blob &blob)
Returns a pointer to a const TileCalibDrawerFlt.
Definition: TileCalibDrawerFlt.cxx:13
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:194
debug
const bool debug
Definition: MakeUncertaintyPlots.cxx:53
ConfigUtils.getTag
def getTag(flags, key)
Definition: ConfigUtils.py:278
Trk::open
@ open
Definition: BinningType.h:40
TileCalibDrawerOfc::getInstance
static TileCalibDrawerOfc * getInstance(coral::Blob &blob, uint16_t objVersion, uint32_t nSamples, int32_t nPhases, uint16_t nChans, uint16_t nGains, const std::string &author="", const std::string &comment="", uint64_t timeStamp=0)
Returns a pointer to a non-const TileCalibDrawerOfc.
Definition: TileCalibDrawerOfc.cxx:14
python.CaloAddPedShiftConfig.int
int
Definition: CaloAddPedShiftConfig.py:45
TileCalibDrawerCmt::getInstance
static const TileCalibDrawerCmt * getInstance(const coral::Blob &blob)
Returns a pointer to a const TileCalibDrawerCmt.
Definition: TileCalibDrawerCmt.cxx:24
python.TileCalibCrest.Blob
Blob
Definition: TileCalibCrest.py:16
python.TileCalibTools.getFolderTag
def getFolderTag(db, folderPath, globalTag)
Definition: TileCalibTools.py:394
str
Definition: BTagTrackIpAccessor.cxx:11
TileCalibUtils::getDrawerIdx
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
Definition: TileCalibUtils.cxx:60
python.ParticleTypeUtil.info
def info
Definition: ParticleTypeUtil.py:87
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