ATLAS Offline Software
|
Functions | |
def | is_number (s) |
Variables | |
format | |
datefmt | |
log = logging.getLogger("myXsecLogger") | |
mainFolder = os.getcwd() | |
string | xsecFolder = mainFolder+"/XsecFiles/" |
allProcesses = DefineTags.ReturnSampleCategory() | |
allFolders_mc15 = glob.glob(mainFolder+"/AllSampleInfo_mc15_13TeV/DSID*/*") | |
allFolders_mc16 = glob.glob(mainFolder+"/AllSampleInfo_mc16_13TeV/DSID*/*") | |
allFolders = allFolders_mc15 + allFolders_mc16 | |
list | allXsec = [] |
list | processed_DSIDs = [] |
tuple | DSID = (entry.split("XXX/"))[1] |
statusFiles_list = glob.glob(entry+"/Status*.txt") | |
int | nEvents = 0 |
AllInfo = StatusFiles.StatusFileReader(iStatus) | |
totalEvents = AllInfo.totalEvents | |
inputFile = iStatus | |
SortingTag = AllInfo.SortingTag | |
xsec = AllInfo.Xsec | |
filterEff = AllInfo.filterEff | |
kFactor = AllInfo.kFactor | |
dataset = AllInfo.dataset | |
higherOrderXsec = AllInfo.higherOrderXsec | |
higherOrderXsecSample = str(float(xsec)*float(kFactor)*float(filterEff)) | |
int | nEv_mc15 = 0. |
int | nEv_mc16a = 0. |
int | nEv_mc16c = 0. |
int | nEv_mc16d = 0. |
int | nEv_mc16e = 0. |
arrayAOD_mc15 = SimpleFunctions.GetArraysFromTxtWithString(mainFolder+"/AllSampleInfo_mc15_13TeV/SummaryInfo/ListAOD_mc15_13TeV..txt", DSID) | |
arrayAOD_mc16 = SimpleFunctions.GetArraysFromTxtWithString(mainFolder+"/AllSampleInfo_mc16_13TeV/SummaryInfo/ListAOD_mc16_13TeV..txt", DSID) | |
string | SampleLumi = "Undef" |
datasetSplit = dataset.split(".evgen") | |
datasetLabel = dataset | |
list | entry = ["", "", "", "", "", "", "", "", "", ""] |
list | tableEntry = [DSID, datasetLabel, str(float(xsec)), str(float(filterEff)), higherOrderXsec, str(float(kFactor)), SortingTag, str(SampleLumi), str(nEv_mc15), str(nEv_mc16a), str(nEv_mc16c), str(nEv_mc16d), str(nEv_mc16e), higherOrderXsecSample] |
string | OutputFile = xsecFolder+"/list_Xsec_"+Process+".txt" |
f = open(OutputFile, "w") | |
finalXsec = str(float(entry[2])*float(entry[3])*float(entry[5])) | |
def GetAllXsec.is_number | ( | s | ) |
Definition at line 21 of file GetAllXsec.py.
GetAllXsec.allFolders = allFolders_mc15 + allFolders_mc16 |
Definition at line 43 of file GetAllXsec.py.
GetAllXsec.allFolders_mc15 = glob.glob(mainFolder+"/AllSampleInfo_mc15_13TeV/DSID*/*") |
Definition at line 37 of file GetAllXsec.py.
GetAllXsec.allFolders_mc16 = glob.glob(mainFolder+"/AllSampleInfo_mc16_13TeV/DSID*/*") |
Definition at line 40 of file GetAllXsec.py.
GetAllXsec.AllInfo = StatusFiles.StatusFileReader(iStatus) |
Definition at line 67 of file GetAllXsec.py.
GetAllXsec.allProcesses = DefineTags.ReturnSampleCategory() |
Definition at line 34 of file GetAllXsec.py.
list GetAllXsec.allXsec = [] |
Definition at line 45 of file GetAllXsec.py.
GetAllXsec.arrayAOD_mc15 = SimpleFunctions.GetArraysFromTxtWithString(mainFolder+"/AllSampleInfo_mc15_13TeV/SummaryInfo/ListAOD_mc15_13TeV..txt", DSID) |
Definition at line 111 of file GetAllXsec.py.
GetAllXsec.arrayAOD_mc16 = SimpleFunctions.GetArraysFromTxtWithString(mainFolder+"/AllSampleInfo_mc16_13TeV/SummaryInfo/ListAOD_mc16_13TeV..txt", DSID) |
Definition at line 117 of file GetAllXsec.py.
GetAllXsec.dataset = AllInfo.dataset |
Definition at line 99 of file GetAllXsec.py.
GetAllXsec.datasetLabel = dataset |
Definition at line 130 of file GetAllXsec.py.
GetAllXsec.datasetSplit = dataset.split(".evgen") |
Definition at line 129 of file GetAllXsec.py.
GetAllXsec.datefmt |
Definition at line 16 of file GetAllXsec.py.
tuple GetAllXsec.DSID = (entry.split("XXX/"))[1] |
Definition at line 53 of file GetAllXsec.py.
list GetAllXsec.entry = ["", "", "", "", "", "", "", "", "", ""] |
Definition at line 132 of file GetAllXsec.py.
GetAllXsec.f = open(OutputFile, "w") |
Definition at line 148 of file GetAllXsec.py.
GetAllXsec.filterEff = AllInfo.filterEff |
Definition at line 91 of file GetAllXsec.py.
Definition at line 155 of file GetAllXsec.py.
GetAllXsec.format |
Definition at line 16 of file GetAllXsec.py.
GetAllXsec.higherOrderXsec = AllInfo.higherOrderXsec |
Definition at line 100 of file GetAllXsec.py.
Definition at line 101 of file GetAllXsec.py.
GetAllXsec.inputFile = iStatus |
Definition at line 78 of file GetAllXsec.py.
GetAllXsec.kFactor = AllInfo.kFactor |
Definition at line 95 of file GetAllXsec.py.
GetAllXsec.log = logging.getLogger("myXsecLogger") |
Definition at line 17 of file GetAllXsec.py.
GetAllXsec.mainFolder = os.getcwd() |
Definition at line 29 of file GetAllXsec.py.
int GetAllXsec.nEv_mc15 = 0. |
Definition at line 104 of file GetAllXsec.py.
int GetAllXsec.nEv_mc16a = 0. |
Definition at line 105 of file GetAllXsec.py.
int GetAllXsec.nEv_mc16c = 0. |
Definition at line 106 of file GetAllXsec.py.
int GetAllXsec.nEv_mc16d = 0. |
Definition at line 107 of file GetAllXsec.py.
int GetAllXsec.nEv_mc16e = 0. |
Definition at line 108 of file GetAllXsec.py.
GetAllXsec.nEvents = 0 |
Definition at line 63 of file GetAllXsec.py.
string GetAllXsec.OutputFile = xsecFolder+"/list_Xsec_"+Process+".txt" |
Definition at line 147 of file GetAllXsec.py.
list GetAllXsec.processed_DSIDs = [] |
Definition at line 49 of file GetAllXsec.py.
int GetAllXsec.SampleLumi = "Undef" |
Definition at line 128 of file GetAllXsec.py.
GetAllXsec.SortingTag = AllInfo.SortingTag |
Definition at line 83 of file GetAllXsec.py.
GetAllXsec.statusFiles_list = glob.glob(entry+"/Status*.txt") |
Definition at line 58 of file GetAllXsec.py.
list GetAllXsec.tableEntry = [DSID, datasetLabel, str(float(xsec)), str(float(filterEff)), higherOrderXsec, str(float(kFactor)), SortingTag, str(SampleLumi), str(nEv_mc15), str(nEv_mc16a), str(nEv_mc16c), str(nEv_mc16d), str(nEv_mc16e), higherOrderXsecSample] |
Definition at line 142 of file GetAllXsec.py.
int GetAllXsec.totalEvents = AllInfo.totalEvents |
Definition at line 68 of file GetAllXsec.py.
int GetAllXsec.xsec = AllInfo.Xsec |
Definition at line 85 of file GetAllXsec.py.
string GetAllXsec.xsecFolder = mainFolder+"/XsecFiles/" |
Definition at line 30 of file GetAllXsec.py.