![]() |
ATLAS Offline Software
|
Functions | |
| load_comments (filename) | |
Variables | |
| str | folderPath = "/TRIGGER/L1Calo/V1/Calibration/" |
| parser = argparse.ArgumentParser(description='Check what conditions are defined for MC',formatter_class=argparse.ArgumentDefaultsHelpFormatter) | |
| nargs | |
| default | |
| help | |
| args = parser.parse_args() | |
| dict | RunToTimestampDict = {k: v for k, v in RunToTimestampDict.items() if k > 313000} |
| comments = load_comments(RunToTimestampData.__file__) | |
| dbSvc = cool.DatabaseSvcFactory.databaseService() | |
| dict | summaries = {} |
| allGlobalTags = set() | |
| globalTagList = list(args.globalTag) | |
| str | dbName = f"sqlite://;schema={dbName};dbname=OFLP200" |
| db = dbSvc.openDatabase(dbName) | |
| globalTags = db.getFolderSet("/").listTags() | |
| folder = db.getFolder(folder) | |
| folderName = folder.fullPath().split("/")[-1] | |
| str | ftag = "sqlite" else "" |
| objs = list(folder.browseObjects(0,9223372036854775807,cool.ChannelSelection.all(),ftag)) | |
| dict | iovs = {} |
| tuple | timePair = (globalTag,int(o.since()*1e-9),int(o.until()*1e-9)) |
| channelId = o.channelId() | |
| dict | record = {} |
| b = o.payload().field(s.name()).data() | |
| hashVal = hashlib.sha256(json.dumps(d1, sort_keys=True).encode()).hexdigest() | |
| df = pd.DataFrame.from_dict(d1, orient="index") | |
| dict | summary = {} |
| s = df[col].dropna() | |
| values = list(chain.from_iterable(s)) | |
| str | sumStr = max(values) else f"{min(values)}" |
| dict | allSummaries = {} |
| result | |
| list | records = [] |
| list | setNum = [] |
| text = df.to_string() | |
| lines = text.splitlines() | |
| header = lines[:2] | |
| rows = lines[2:] | |
| last = None | |
| prev = df.iloc[i - 1] | |
| load_comments | ( | filename | ) |
Definition at line 33 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.allGlobalTags = set() |
Definition at line 69 of file cmd-l1calo-conditions.py.
| dict cmd-l1calo-conditions.allSummaries = {} |
Definition at line 151 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.args = parser.parse_args() |
Definition at line 23 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.b = o.payload().field(s.name()).data() |
Definition at line 111 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.channelId = o.channelId() |
Definition at line 107 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.comments = load_comments(RunToTimestampData.__file__) |
Definition at line 51 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.db = dbSvc.openDatabase(dbName) |
Definition at line 80 of file cmd-l1calo-conditions.py.
| str cmd-l1calo-conditions.dbName = f"sqlite://;schema={dbName};dbname=OFLP200" |
Definition at line 76 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.dbSvc = cool.DatabaseSvcFactory.databaseService() |
Definition at line 64 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.default |
Definition at line 20 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.df = pd.DataFrame.from_dict(d1, orient="index") |
Definition at line 128 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.folder = db.getFolder(folder) |
Definition at line 92 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.folderName = folder.fullPath().split("/")[-1] |
Definition at line 93 of file cmd-l1calo-conditions.py.
| str cmd-l1calo-conditions.folderPath = "/TRIGGER/L1Calo/V1/Calibration/" |
Definition at line 4 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.ftag = "sqlite" else "" |
Definition at line 96 of file cmd-l1calo-conditions.py.
| list globalTagList = list(args.globalTag) |
Definition at line 72 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.globalTags = db.getFolderSet("/").listTags() |
Definition at line 82 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.hashVal = hashlib.sha256(json.dumps(d1, sort_keys=True).encode()).hexdigest() |
Definition at line 122 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.header = lines[:2] |
Definition at line 186 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.help |
Definition at line 20 of file cmd-l1calo-conditions.py.
| dict cmd-l1calo-conditions.iovs = {} |
Definition at line 103 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.last = None |
Definition at line 191 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.lines = text.splitlines() |
Definition at line 183 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.nargs |
Definition at line 20 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.objs = list(folder.browseObjects(0,9223372036854775807,cool.ChannelSelection.all(),ftag)) |
Definition at line 102 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.parser = argparse.ArgumentParser(description='Check what conditions are defined for MC',formatter_class=argparse.ArgumentDefaultsHelpFormatter) |
Definition at line 19 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.prev = df.iloc[i - 1] |
Definition at line 195 of file cmd-l1calo-conditions.py.
| dict record = {} |
Definition at line 108 of file cmd-l1calo-conditions.py.
| list cmd-l1calo-conditions.records = [] |
Definition at line 162 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.result |
Definition at line 154 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.rows = lines[2:] |
Definition at line 187 of file cmd-l1calo-conditions.py.
| dict cmd-l1calo-conditions.RunToTimestampDict = {k: v for k, v in RunToTimestampDict.items() if k > 313000} |
Definition at line 30 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.s = df[col].dropna() |
Definition at line 131 of file cmd-l1calo-conditions.py.
| list cmd-l1calo-conditions.setNum = [] |
Definition at line 167 of file cmd-l1calo-conditions.py.
| dict cmd-l1calo-conditions.summaries = {} |
Definition at line 67 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.summary = {} |
Definition at line 129 of file cmd-l1calo-conditions.py.
Definition at line 138 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.text = df.to_string() |
Definition at line 182 of file cmd-l1calo-conditions.py.
| tuple cmd-l1calo-conditions.timePair = (globalTag,int(o.since()*1e-9),int(o.until()*1e-9)) |
Definition at line 105 of file cmd-l1calo-conditions.py.
| cmd-l1calo-conditions.values = list(chain.from_iterable(s)) |
Definition at line 135 of file cmd-l1calo-conditions.py.