ATLAS Offline Software
|
Functions | |
def | perdelta (start, end, delta) |
def | checkDates (datesFileName) |
Variables | |
string | outPath = "/eos/atlas/user/j/jdickins/Pixel/LeakageCurrent/IBLData/processedData/Lumi/" |
string | outputName = outPath + "/runData.txt" |
string | outputSummary = outPath + "/runs.txt" |
string | inPath = "/eos/atlas/user/j/jdickins/Pixel/LeakageCurrent/IBLData/rawData/Lumi/" |
currentDay = datetime.date(2018,11,7) | |
firstDay = startDates[0].date() | |
days | |
s_str = str(s).replace('-','_') | |
e_str = str(e).replace('-','_') | |
string | filename = inPath + s_str + "-" + e_str + ".txt" |
int | i = -1 |
array = line.rstrip().split() | |
startDateTime = array[0].split('/UTC')[0].split('[')[1] | |
startDate = startDateTime.split('-') | |
startTime = startDateTime.split(':') | |
start = datetime.datetime(int(startDate[0]),int(startDate[1]),int(startDate[2].split(':')[0]),int(startTime[1]),int(startTime[2]),int(startTime[3])) | |
endDateTime = array[1].split('/UTC')[0] | |
endDate = startDateTime.split('-') | |
endTime = startDateTime.split(':') | |
end = datetime.datetime(int(endDate[0]),int(endDate[1]),int(endDate[2].split(':')[0]),int(endTime[1]),int(endTime[2]),int(endTime[3])) | |
fill = int(array[3]) | |
length = float(array[6]) | |
lumi = float(array[10]) | |
intlumi = length*lumi | |
def lumiFormat.checkDates | ( | datesFileName | ) |
Definition at line 14 of file lumiFormat.py.
def lumiFormat.perdelta | ( | start, | |
end, | |||
delta | |||
) |
Definition at line 7 of file lumiFormat.py.
lumiFormat.array = line.rstrip().split() |
Definition at line 91 of file lumiFormat.py.
lumiFormat.currentDay = datetime.date(2018,11,7) |
Definition at line 72 of file lumiFormat.py.
lumiFormat.days |
Definition at line 77 of file lumiFormat.py.
Definition at line 81 of file lumiFormat.py.
lumiFormat.end = datetime.datetime(int(endDate[0]),int(endDate[1]),int(endDate[2].split(':')[0]),int(endTime[1]),int(endTime[2]),int(endTime[3])) |
Definition at line 101 of file lumiFormat.py.
lumiFormat.endDate = startDateTime.split('-') |
Definition at line 99 of file lumiFormat.py.
Definition at line 98 of file lumiFormat.py.
lumiFormat.endTime = startDateTime.split(':') |
Definition at line 100 of file lumiFormat.py.
Definition at line 83 of file lumiFormat.py.
lumiFormat.fill = int(array[3]) |
Definition at line 104 of file lumiFormat.py.
lumiFormat.firstDay = startDates[0].date() |
Definition at line 73 of file lumiFormat.py.
int lumiFormat.i = -1 |
Definition at line 85 of file lumiFormat.py.
string lumiFormat.inPath = "/eos/atlas/user/j/jdickins/Pixel/LeakageCurrent/IBLData/rawData/Lumi/" |
Definition at line 68 of file lumiFormat.py.
Definition at line 107 of file lumiFormat.py.
lumiFormat.length = float(array[6]) |
Definition at line 105 of file lumiFormat.py.
lumiFormat.lumi = float(array[10]) |
Definition at line 106 of file lumiFormat.py.
string lumiFormat.outPath = "/eos/atlas/user/j/jdickins/Pixel/LeakageCurrent/IBLData/processedData/Lumi/" |
Definition at line 64 of file lumiFormat.py.
string lumiFormat.outputName = outPath + "/runData.txt" |
Definition at line 65 of file lumiFormat.py.
string lumiFormat.outputSummary = outPath + "/runs.txt" |
Definition at line 66 of file lumiFormat.py.
Definition at line 80 of file lumiFormat.py.
lumiFormat.start = datetime.datetime(int(startDate[0]),int(startDate[1]),int(startDate[2].split(':')[0]),int(startTime[1]),int(startTime[2]),int(startTime[3])) |
Definition at line 96 of file lumiFormat.py.
lumiFormat.startDate = startDateTime.split('-') |
Definition at line 94 of file lumiFormat.py.
Definition at line 93 of file lumiFormat.py.
lumiFormat.startTime = startDateTime.split(':') |
Definition at line 95 of file lumiFormat.py.