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

Functions

 usage ()

Variables

str letters = "hr:l:s:t:p:d:m:c:a:g:"
list keywords = ["help","run=","lumi=","schema=","tag=","ros=","drawer=","module","chan=","channel=","adc=","gain="]
 opts
 extraparams
int run = 2147483647
int lumi = 0
str schema = 'CREST'
str tag = 'HEAD'
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("readNoise")
str folder1 = "/TILE/ONL01/NOISE/SAMPLE"
str folder2 = "/TILE/ONL01/NOISE/OFNI"
 blobReader = TileCalibCrest.TileBlobReaderCrest(schema, folderPath, tag, run, lumi)
 blob = blobReader.getDrawer(ros, drawer,(run,lumi))
 ped = blob.getData(channel, adc, 0)
 hfn = blob.getData(channel, adc, 1)
 lfn = blob.getData(channel, adc, 2)
 rms = blob.getData(channel, adc, 0)
 plp = blob.getData(channel, adc, 1)

Function Documentation

◆ usage()

ReadNoiseFromCrest.usage ( )

Definition at line 14 of file ReadNoiseFromCrest.py.

14def usage():
15 print ("Usage: ",sys.argv[0]," [OPTION] ... ")
16 print ("Dumps the TileCal noise from SAMPLE and OFNI folders")
17 print ("")
18 print ("-h, --help shows this help")
19 print ("-t, --tag= specify tag to use, f.i. RUN2-HLT-UPD1-01 or COM-01")
20 print ("-r, --run= specify run number, by default uses latest iov")
21 print ("-l, --lumi= specify lumi block number, default is 0")
22 print ("-p, --ros= specify partition (ros number), default is 1")
23 print ("-d, --drawer= specify drawer number, default is 0")
24 print ("-m, --module= specify module to use, default is LBA01")
25 print ("-c, --chan= specify channel number, default is 0")
26 print ("-g, -a, --adc= specify gain (adc number), default is 0")
27 print ("-s, --schema= specify name of input JSON file or CREST_SERVER_PATH")
28
StatusCode usage()

Variable Documentation

◆ a

ReadNoiseFromCrest.a = a.strip()

Definition at line 50 of file ReadNoiseFromCrest.py.

◆ adc

ReadNoiseFromCrest.adc = 0

Definition at line 47 of file ReadNoiseFromCrest.py.

◆ blob

ReadNoiseFromCrest.blob = blobReader.getDrawer(ros, drawer,(run,lumi))

Definition at line 98 of file ReadNoiseFromCrest.py.

◆ blobReader

ReadNoiseFromCrest.blobReader = TileCalibCrest.TileBlobReaderCrest(schema, folderPath, tag, run, lumi)

Definition at line 96 of file ReadNoiseFromCrest.py.

◆ channel

ReadNoiseFromCrest.channel = 0

Definition at line 46 of file ReadNoiseFromCrest.py.

◆ drawer

ReadNoiseFromCrest.drawer = 0

Definition at line 45 of file ReadNoiseFromCrest.py.

◆ extraparams

ReadNoiseFromCrest.extraparams

Definition at line 33 of file ReadNoiseFromCrest.py.

◆ folder1

str ReadNoiseFromCrest.folder1 = "/TILE/ONL01/NOISE/SAMPLE"

Definition at line 90 of file ReadNoiseFromCrest.py.

◆ folder2

str ReadNoiseFromCrest.folder2 = "/TILE/ONL01/NOISE/OFNI"

Definition at line 91 of file ReadNoiseFromCrest.py.

◆ hfn

ReadNoiseFromCrest.hfn = blob.getData(channel, adc, 1)

Definition at line 102 of file ReadNoiseFromCrest.py.

◆ keywords

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

Definition at line 30 of file ReadNoiseFromCrest.py.

◆ letters

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

Definition at line 29 of file ReadNoiseFromCrest.py.

◆ lfn

ReadNoiseFromCrest.lfn = blob.getData(channel, adc, 2)

Definition at line 103 of file ReadNoiseFromCrest.py.

◆ log

ReadNoiseFromCrest.log = getLogger("readNoise")

Definition at line 85 of file ReadNoiseFromCrest.py.

◆ lumi

ReadNoiseFromCrest.lumi = 0

Definition at line 41 of file ReadNoiseFromCrest.py.

◆ opts

ReadNoiseFromCrest.opts

Definition at line 33 of file ReadNoiseFromCrest.py.

◆ part_dict

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

Definition at line 61 of file ReadNoiseFromCrest.py.

◆ partname

ReadNoiseFromCrest.partname = a[:3]

Definition at line 60 of file ReadNoiseFromCrest.py.

◆ ped

ReadNoiseFromCrest.ped = blob.getData(channel, adc, 0)

Definition at line 101 of file ReadNoiseFromCrest.py.

◆ plp

ReadNoiseFromCrest.plp = blob.getData(channel, adc, 1)

Definition at line 106 of file ReadNoiseFromCrest.py.

◆ rms

ReadNoiseFromCrest.rms = blob.getData(channel, adc, 0)

Definition at line 105 of file ReadNoiseFromCrest.py.

◆ ros

dict ReadNoiseFromCrest.ros = 1

Definition at line 44 of file ReadNoiseFromCrest.py.

◆ run

ReadNoiseFromCrest.run = 2147483647

Definition at line 40 of file ReadNoiseFromCrest.py.

◆ schema

ReadNoiseFromCrest.schema = 'CREST'

Definition at line 42 of file ReadNoiseFromCrest.py.

◆ tag

ReadNoiseFromCrest.tag = 'HEAD'

Definition at line 43 of file ReadNoiseFromCrest.py.