ATLAS Offline Software
Functions | Variables
WriteBchToCool Namespace Reference

Functions

def usage ()
 
def compare (item1, item2)
 

Variables

 letters
 
 keywords
 
 opts
 
 extraparams
 
 run
 
 lumi
 
 mode
 
 server
 
 schema
 
 oraSchema
 
 inSchema
 
 outSchema
 
 folderPath
 
 onlSuffix
 
 curSuffix
 
 tag
 
 execFile
 
 comment
 
 Comment
 
 verbose
 
 update
 
 iov
 
 beg
 
 end
 
 endlumi
 
 moduleList
 
 adjust
 
 user
 
 a
 
 onl
 
 until
 
 log
 
 dbr
 
 folderTag
 
 iovList
 
 iovUntil
 
 iovListMOD
 
 iovListCMT
 
 iovUntilCMT
 
 blobReader
 
 modName
 
 key
 
 since
 
 ib
 
 ie
 
 begin
 
 p
 
 comments
 
 mgrWriters
 
 nvalUpdated
 
 commentsSplit
 
 comm
 
 mgr
 
 emptyChannelLongBarrel
 
 emptyChannelExtendedBarrel
 
 dbw
 
 untilCmt
 
 mList
 
 author
 
 reader
 
 folderTagUPD4
 
 curSchema
 
 folder
 
 dbR
 
 dbW
 
 folderOnl
 
 folderTagOnl
 
 inSchemaOnl
 
 mgrOnl
 
 statlo
 
 stathi
 
 prbs
 
 onlSchema
 

Function Documentation

◆ compare()

def WriteBchToCool.compare (   item1,
  item2 
)

Definition at line 191 of file WriteBchToCool.py.

191  def compare(item1,item2):
192  if item1[0]!=item2[0]:
193  return item1[0]-item2[0]
194  else:
195  return item1[1]-item2[1]

◆ usage()

def WriteBchToCool.usage ( )

Definition at line 12 of file WriteBchToCool.py.

12 def usage():
13  print ("Usage: ", sys.argv[0]," [OPTION] ... ")
14  print ("Update TileCal bad channels in COOL")
15  print ("")
16  print ("-h, --help shows this help")
17  print ("-f, --folder= specify folder to use, default is /TILE/OFL02/STATUS/ADC")
18  print ("-t, --tag= specify tag to use, default is RUN2-HLT-UPD1-00")
19  print ("-r, --run= specify run number, default is 0")
20  print ("-l, --lumi= specify lumi block number, default is 0")
21  print ("-b, --begin= specify run number of first iov in multi-iov mode, by default uses very first iov")
22  print ("-e, --end= specify run number of last iov in multi-iov mode, by default uses latest iov")
23  print ("-L, --endlumi= specify lumi block number for last iov in multi-iov mode, default is 0")
24  print ("-A, --adjust in multi-iov mode adjust iov boundaries to nearest iov available in DB, default is False")
25  print ("-M, --module= specify module to use in multi-IOV update, default is all")
26  print ("-m, --mode= specify update mode: 1 or 2; if not set - choosen automatically, depending on schema")
27  print ("-c, --comment= specify comment which should be written to DB, in multi-iov mode it is appended to old comment")
28  print ("-C, --Comment= specify comment which should be written to DB, in mutli-iov mode it overwrites old comment")
29  print ("-U, --user= specify username for comment")
30  print ("-x, --execfile= specify python file which should be executed, default is bch.py")
31  print ("-i, --inschema= specify the input schema to use, default is 'COOLOFL_TILE/CONDBR2'")
32  print ("-o, --outschema= specify the output schema to use, default is 'sqlite://;schema=tileSqlite.db;dbname=CONDBR2'")
33  print ("-n, --online write additional sqlite file with online bad channel status")
34  print ("-p, --upd4 write additional sqlite file with CURRENT UPD4 tag")
35  print ("-v, --verbose verbose mode")
36  print ("-s, --schema= specify input/output schema to use when both input and output schemas are the same")
37  print ("-S, --server= specify server - ORACLE or FRONTIER, default is FRONTIER")
38  print ("-u --update set this flag if output sqlite file should be updated, otherwise it'll be recreated")
39 

Variable Documentation

◆ a

WriteBchToCool.a

Definition at line 81 of file WriteBchToCool.py.

◆ adjust

WriteBchToCool.adjust

Definition at line 73 of file WriteBchToCool.py.

◆ author

WriteBchToCool.author

Definition at line 376 of file WriteBchToCool.py.

◆ beg

WriteBchToCool.beg

Definition at line 69 of file WriteBchToCool.py.

◆ begin

WriteBchToCool.begin

Definition at line 236 of file WriteBchToCool.py.

◆ blobReader

WriteBchToCool.blobReader

Definition at line 173 of file WriteBchToCool.py.

◆ comm

WriteBchToCool.comm

Definition at line 302 of file WriteBchToCool.py.

◆ comment

WriteBchToCool.comment

Definition at line 64 of file WriteBchToCool.py.

◆ Comment

WriteBchToCool.Comment

Definition at line 65 of file WriteBchToCool.py.

◆ comments

WriteBchToCool.comments

Definition at line 297 of file WriteBchToCool.py.

◆ commentsSplit

WriteBchToCool.commentsSplit

Definition at line 300 of file WriteBchToCool.py.

◆ curSchema

WriteBchToCool.curSchema

Definition at line 419 of file WriteBchToCool.py.

◆ curSuffix

WriteBchToCool.curSuffix

Definition at line 61 of file WriteBchToCool.py.

◆ dbr

WriteBchToCool.dbr

Definition at line 164 of file WriteBchToCool.py.

◆ dbR

WriteBchToCool.dbR

Definition at line 426 of file WriteBchToCool.py.

◆ dbw

WriteBchToCool.dbw

Definition at line 338 of file WriteBchToCool.py.

◆ dbW

WriteBchToCool.dbW

Definition at line 433 of file WriteBchToCool.py.

◆ emptyChannelExtendedBarrel

WriteBchToCool.emptyChannelExtendedBarrel

Definition at line 315 of file WriteBchToCool.py.

◆ emptyChannelLongBarrel

WriteBchToCool.emptyChannelLongBarrel

Definition at line 314 of file WriteBchToCool.py.

◆ end

WriteBchToCool.end

Definition at line 70 of file WriteBchToCool.py.

◆ endlumi

WriteBchToCool.endlumi

Definition at line 71 of file WriteBchToCool.py.

◆ execFile

WriteBchToCool.execFile

Definition at line 63 of file WriteBchToCool.py.

◆ extraparams

WriteBchToCool.extraparams

Definition at line 44 of file WriteBchToCool.py.

◆ folder

WriteBchToCool.folder

Definition at line 423 of file WriteBchToCool.py.

◆ folderOnl

WriteBchToCool.folderOnl

Definition at line 455 of file WriteBchToCool.py.

◆ folderPath

WriteBchToCool.folderPath

Definition at line 59 of file WriteBchToCool.py.

◆ folderTag

WriteBchToCool.folderTag

Definition at line 165 of file WriteBchToCool.py.

◆ folderTagOnl

WriteBchToCool.folderTagOnl

Definition at line 456 of file WriteBchToCool.py.

◆ folderTagUPD4

WriteBchToCool.folderTagUPD4

Definition at line 414 of file WriteBchToCool.py.

◆ ib

WriteBchToCool.ib

Definition at line 202 of file WriteBchToCool.py.

◆ ie

WriteBchToCool.ie

Definition at line 214 of file WriteBchToCool.py.

◆ inSchema

WriteBchToCool.inSchema

Definition at line 57 of file WriteBchToCool.py.

◆ inSchemaOnl

WriteBchToCool.inSchemaOnl

Definition at line 458 of file WriteBchToCool.py.

◆ iov

WriteBchToCool.iov

Definition at line 68 of file WriteBchToCool.py.

◆ iovList

WriteBchToCool.iovList

Definition at line 168 of file WriteBchToCool.py.

◆ iovListCMT

WriteBchToCool.iovListCMT

Definition at line 171 of file WriteBchToCool.py.

◆ iovListMOD

WriteBchToCool.iovListMOD

Definition at line 170 of file WriteBchToCool.py.

◆ iovUntil

WriteBchToCool.iovUntil

Definition at line 169 of file WriteBchToCool.py.

◆ iovUntilCMT

WriteBchToCool.iovUntilCMT

Definition at line 172 of file WriteBchToCool.py.

◆ key

WriteBchToCool.key

Definition at line 197 of file WriteBchToCool.py.

◆ keywords

WriteBchToCool.keywords

Definition at line 41 of file WriteBchToCool.py.

◆ letters

WriteBchToCool.letters

Definition at line 40 of file WriteBchToCool.py.

◆ log

WriteBchToCool.log

Definition at line 160 of file WriteBchToCool.py.

◆ lumi

WriteBchToCool.lumi

Definition at line 52 of file WriteBchToCool.py.

◆ mgr

WriteBchToCool.mgr

Definition at line 307 of file WriteBchToCool.py.

◆ mgrOnl

WriteBchToCool.mgrOnl

Definition at line 471 of file WriteBchToCool.py.

◆ mgrWriters

WriteBchToCool.mgrWriters

Definition at line 298 of file WriteBchToCool.py.

◆ mList

WriteBchToCool.mList

Definition at line 352 of file WriteBchToCool.py.

◆ mode

WriteBchToCool.mode

Definition at line 53 of file WriteBchToCool.py.

◆ modName

WriteBchToCool.modName

Definition at line 180 of file WriteBchToCool.py.

◆ moduleList

WriteBchToCool.moduleList

Definition at line 72 of file WriteBchToCool.py.

◆ nvalUpdated

WriteBchToCool.nvalUpdated

Definition at line 299 of file WriteBchToCool.py.

◆ onl

WriteBchToCool.onl

Definition at line 137 of file WriteBchToCool.py.

◆ onlSchema

WriteBchToCool.onlSchema

Definition at line 573 of file WriteBchToCool.py.

◆ onlSuffix

WriteBchToCool.onlSuffix

Definition at line 60 of file WriteBchToCool.py.

◆ opts

WriteBchToCool.opts

Definition at line 44 of file WriteBchToCool.py.

◆ oraSchema

WriteBchToCool.oraSchema

Definition at line 56 of file WriteBchToCool.py.

◆ outSchema

WriteBchToCool.outSchema

Definition at line 58 of file WriteBchToCool.py.

◆ p

WriteBchToCool.p

Definition at line 247 of file WriteBchToCool.py.

◆ prbs

WriteBchToCool.prbs

Definition at line 497 of file WriteBchToCool.py.

◆ reader

WriteBchToCool.reader

Definition at line 404 of file WriteBchToCool.py.

◆ run

WriteBchToCool.run

Definition at line 51 of file WriteBchToCool.py.

◆ schema

WriteBchToCool.schema

Definition at line 55 of file WriteBchToCool.py.

◆ server

WriteBchToCool.server

Definition at line 54 of file WriteBchToCool.py.

◆ since

WriteBchToCool.since

Definition at line 201 of file WriteBchToCool.py.

◆ stathi

WriteBchToCool.stathi

Definition at line 486 of file WriteBchToCool.py.

◆ statlo

WriteBchToCool.statlo

Definition at line 485 of file WriteBchToCool.py.

◆ tag

WriteBchToCool.tag

Definition at line 62 of file WriteBchToCool.py.

◆ until

WriteBchToCool.until

Definition at line 157 of file WriteBchToCool.py.

◆ untilCmt

WriteBchToCool.untilCmt

Definition at line 344 of file WriteBchToCool.py.

◆ update

WriteBchToCool.update

Definition at line 67 of file WriteBchToCool.py.

◆ user

WriteBchToCool.user

Definition at line 76 of file WriteBchToCool.py.

◆ verbose

WriteBchToCool.verbose

Definition at line 66 of file WriteBchToCool.py.

WriteBchToCool.compare
def compare(item1, item2)
Definition: WriteBchToCool.py:191
WriteBchToCool.usage
def usage()
Definition: WriteBchToCool.py:12