ATLAS Offline Software
Loading...
Searching...
No Matches
ReadLUTFromCrest Namespace Reference

Functions

 usage ()

Variables

str letters = "hr:l:s:t:f:p:d:m:c:a:g:"
list keywords = ["help","run=","lumi=","schema=","tag=","folder=","ros=","drawer=","module=","chan=","channel=","adc=","gain="]
 opts
 extraparams
int run = 2147483647
int lumi = 0
str schema = 'CREST'
str folderPath = "/TILE/OFL02/CALIB/CIS/NLN"
str tag = "UPD4"
int ros = 1
int drawer = 0
int channel = 0
int adc = 0
 a = a.strip()
 partname = a[:3]
dict part_dict = {'AUX':0,'LBA':1,'LBC':2,'EBA':3,'EBC':4}
 log = getLogger("ReadLUT")
str folderTag = tag
 blobReader = TileCalibCrest.TileBlobReaderCrest(schema,folderPath, folderTag, run, lumi)
 flt = blobReader.getDrawer(ros, drawer,(run,lumi))
 maxidx = flt.getObjSizeUint32()
 modName = TileCalibUtils.getDrawerString(ros,drawer)

Function Documentation

◆ usage()

ReadLUTFromCrest.usage ( )

Definition at line 14 of file ReadLUTFromCrest.py.

14def usage():
15 print ("Usage: ",sys.argv[0]," [OPTION] ... ")
16 print ("Dumps the TileCal CIS/NLN from various schemas / folders / tags")
17 print ("")
18 print ("-h, --help shows this help")
19 print ("-f, --folder= specify status folder to use f.i. /TILE/OFL02/CALIB/CIS/NLN ")
20 print ("-t, --tag= specify tag to use, f.i. UPD1 or UPD4 or full suffix like RUN2-HLT-UPD1-00")
21 print ("-r, --run= specify run number, by default uses latest iov")
22 print ("-l, --lumi= specify lumi block number, default is 0")
23 print ("-p, --ros= specify partition (ros number), default is 1")
24 print ("-d, --drawer= specify drawer number, default is 0")
25 print ("-m, --module= specify module to use, default is LBA01")
26 print ("-c, --chan= specify channel number, default is 0")
27 print ("-g, -a, --adc= specify gain (adc number), default is 0")
28 print ("-s, --schema= specify name of input JSON file or CREST_SERVER_PATH")
29
StatusCode usage()

Variable Documentation

◆ a

ReadLUTFromCrest.a = a.strip()

Definition at line 52 of file ReadLUTFromCrest.py.

◆ adc

ReadLUTFromCrest.adc = 0

Definition at line 49 of file ReadLUTFromCrest.py.

◆ blobReader

ReadLUTFromCrest.blobReader = TileCalibCrest.TileBlobReaderCrest(schema,folderPath, folderTag, run, lumi)

Definition at line 106 of file ReadLUTFromCrest.py.

◆ channel

ReadLUTFromCrest.channel = 0

Definition at line 48 of file ReadLUTFromCrest.py.

◆ drawer

ReadLUTFromCrest.drawer = 0

Definition at line 47 of file ReadLUTFromCrest.py.

◆ extraparams

ReadLUTFromCrest.extraparams

Definition at line 34 of file ReadLUTFromCrest.py.

◆ flt

ReadLUTFromCrest.flt = blobReader.getDrawer(ros, drawer,(run,lumi))

Definition at line 112 of file ReadLUTFromCrest.py.

◆ folderPath

str ReadLUTFromCrest.folderPath = "/TILE/OFL02/CALIB/CIS/NLN"

Definition at line 44 of file ReadLUTFromCrest.py.

◆ folderTag

str ReadLUTFromCrest.folderTag = tag

Definition at line 101 of file ReadLUTFromCrest.py.

◆ keywords

list ReadLUTFromCrest.keywords = ["help","run=","lumi=","schema=","tag=","folder=","ros=","drawer=","module=","chan=","channel=","adc=","gain="]

Definition at line 31 of file ReadLUTFromCrest.py.

◆ letters

str ReadLUTFromCrest.letters = "hr:l:s:t:f:p:d:m:c:a:g:"

Definition at line 30 of file ReadLUTFromCrest.py.

◆ log

ReadLUTFromCrest.log = getLogger("ReadLUT")

Definition at line 88 of file ReadLUTFromCrest.py.

◆ lumi

ReadLUTFromCrest.lumi = 0

Definition at line 42 of file ReadLUTFromCrest.py.

◆ maxidx

ReadLUTFromCrest.maxidx = flt.getObjSizeUint32()

Definition at line 113 of file ReadLUTFromCrest.py.

◆ modName

ReadLUTFromCrest.modName = TileCalibUtils.getDrawerString(ros,drawer)

Definition at line 118 of file ReadLUTFromCrest.py.

◆ opts

ReadLUTFromCrest.opts

Definition at line 34 of file ReadLUTFromCrest.py.

◆ part_dict

dict ReadLUTFromCrest.part_dict = {'AUX':0,'LBA':1,'LBC':2,'EBA':3,'EBC':4}

Definition at line 61 of file ReadLUTFromCrest.py.

◆ partname

ReadLUTFromCrest.partname = a[:3]

Definition at line 60 of file ReadLUTFromCrest.py.

◆ ros

dict ReadLUTFromCrest.ros = 1

Definition at line 46 of file ReadLUTFromCrest.py.

◆ run

ReadLUTFromCrest.run = 2147483647

Definition at line 41 of file ReadLUTFromCrest.py.

◆ schema

ReadLUTFromCrest.schema = 'CREST'

Definition at line 43 of file ReadLUTFromCrest.py.

◆ tag

str ReadLUTFromCrest.tag = "UPD4"

Definition at line 45 of file ReadLUTFromCrest.py.