![]() |
ATLAS Offline Software
|
Functions | |
| def | expandWildCard (histlist) |
| def | convHname (hname) |
| def | LIDProposal (hname, eta, phi, delta=0.15) |
| def | setupDqmAPI () |
| def | lbStr (lb) |
| def | hType (hist, verbose=False) |
| def | checkCorrel (histos, listLB, checkList) |
| def | getSummary (histos, correls, fractionNonZero) |
| def | topNBins (histname, h, topn, bins, h_fracQth=None) |
Variables | |
| int | nLB = 8000 |
| string | dqmpassfile = "/afs/cern.ch/user/l/larmon/public/atlasdqmpass.txt" |
| conn = None | |
| cursor = None | |
| dictionary | wildcards = {} |
| list | wildcardplots = ["CellOccupancyVsEtaPhi", "fractionOverQthVsEtaPhi","DatabaseNoiseVsEtaPhi","CellAvgEnergyVsEtaPhi"] |
| parser = argparse.ArgumentParser(description='Process some integers.') | |
| type | |
| int | |
| dest | |
| default | |
| help | |
| action | |
| float | |
| nargs | |
| False | |
| args = parser.parse_args() | |
| dictionary | run_spec = {'stream': 'physics_CosmicCalo', 'proc_ver': 1,'source': 'tier0', 'low_run': args.runNumber, 'high_run':args.runNumber} |
| dqmAPI = None | |
| dictionary | grouped = {} |
| run_info = dqmAPI.get_run_information(run_spec) | |
| tag | |
| hArgs = args.histo | |
| histoWD | |
| dictionary | prefix = {'express':'express_','Egamma':'physics_','CosmicCalo':'physics_','JetTauEtmiss':'physics_','Main':'physics_','ZeroBias':'physics_','MinBias':'physics_'} |
| dqmf_config = dqmAPI.get_dqmf_configs(run_spec, hist) | |
| histpath = dqmf_config['%d'%args.runNumber]['annotations']['inputname'] | |
| list | gk = [ k for k,b in grouped.items() if hist in grouped[k] ][0] |
| dictionary | gi = grouped[gk].index(hist) |
| dictionary | histos = {} |
| dictionary | canvs = {} |
| mergedFilePath | |
| string | runFilePath = "root://eosatlas.cern.ch/%s"%(mergedFilePath).rstrip() |
| dictionary | drawngroup = {} |
| f = R.TFile.Open(runFilePath) | |
| string | hpath = "run_%d/%s"%(args.runNumber,hist) |
| tmp_x = args.globalX | |
| tmp_delta = args.globalDelta | |
| int | nSteps = 1000 |
| int | subStep = 2*tmp_delta/nSteps |
| groupname = None | |
| dictionary | thiscanv = canvs[hist]["canv"] |
| int | iX = tmp_x - tmp_delta + ix * subStep |
| dictionary | tmp_bin = histos[hist]["merged"].FindBin(iX) |
| tmp_y = args.globalY | |
| QthHist = None | |
| QthHistPath = hist.replace("2d_Occupancy/CellOccupancyVsEtaPhi", "2d_PoorQualityFraction/fractionOverQthVsEtaPhi").replace("_5Sigma_CSCveto", "_hiEth_noVeto").replace("_hiEth_CSCveto", "_hiEth_noVeto") | |
| int | iY = tmp_y - tmp_delta + iy * subStep |
| objs | |
| lbFilePathList | |
| list | listLB = [] |
| string | lbFilePath = "root://eosatlas.cern.ch/%s"%(lbFile).rstrip() |
| ilb = int((lbFile.split("_lb")[1]).split("._")[0]) | |
| fLB = R.TFile.Open(lbFilePath) | |
| correls | |
| fractionNonZero | |
| def checkCorrelInHIST.checkCorrel | ( | histos, | |
| listLB, | |||
| checkList | |||
| ) |
Definition at line 138 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.convHname | ( | hname | ) |
Definition at line 86 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.expandWildCard | ( | histlist | ) |
Definition at line 44 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.getSummary | ( | histos, | |
| correls, | |||
| fractionNonZero | |||
| ) |
Definition at line 243 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.hType | ( | hist, | |
verbose = False |
|||
| ) |
Return type of the provided hist as a string, or None if it's not a hist
Definition at line 126 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.lbStr | ( | lb | ) |
Return the lb number in string format, e.g. _lb0001
Definition at line 122 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.LIDProposal | ( | hname, | |
| eta, | |||
| phi, | |||
delta = 0.15 |
|||
| ) |
Print a proposed LArID translator (https://atlas-larmon.cern.ch/LArIdtranslator/) SQL query
Definition at line 98 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.setupDqmAPI | ( | ) |
Connect to the atlasDQM web API service: https://twiki.cern.ch/twiki/bin/viewauth/Atlas/DQWebServiceAPIs
Definition at line 110 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.topNBins | ( | histname, | |
| h, | |||
| topn, | |||
| bins, | |||
h_fracQth = None |
|||
| ) |
Definition at line 278 of file checkCorrelInHIST.py.
| checkCorrelInHIST.action |
Definition at line 345 of file checkCorrelInHIST.py.
| checkCorrelInHIST.args = parser.parse_args() |
Definition at line 361 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.canvs = {} |
Definition at line 414 of file checkCorrelInHIST.py.
| checkCorrelInHIST.conn = None |
Definition at line 25 of file checkCorrelInHIST.py.
| checkCorrelInHIST.correls |
Definition at line 582 of file checkCorrelInHIST.py.
| checkCorrelInHIST.cursor = None |
Definition at line 26 of file checkCorrelInHIST.py.
| checkCorrelInHIST.default |
Definition at line 345 of file checkCorrelInHIST.py.
| checkCorrelInHIST.dest |
Definition at line 345 of file checkCorrelInHIST.py.
| def checkCorrelInHIST.dqmAPI = None |
Definition at line 366 of file checkCorrelInHIST.py.
| checkCorrelInHIST.dqmf_config = dqmAPI.get_dqmf_configs(run_spec, hist) |
Definition at line 395 of file checkCorrelInHIST.py.
| string checkCorrelInHIST.dqmpassfile = "/afs/cern.ch/user/l/larmon/public/atlasdqmpass.txt" |
Definition at line 23 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.drawngroup = {} |
Definition at line 436 of file checkCorrelInHIST.py.
| checkCorrelInHIST.f = R.TFile.Open(runFilePath) |
Definition at line 438 of file checkCorrelInHIST.py.
| checkCorrelInHIST.False |
Definition at line 357 of file checkCorrelInHIST.py.
| checkCorrelInHIST.fLB = R.TFile.Open(lbFilePath) |
Definition at line 570 of file checkCorrelInHIST.py.
| checkCorrelInHIST.float |
Definition at line 351 of file checkCorrelInHIST.py.
| checkCorrelInHIST.fractionNonZero |
Definition at line 582 of file checkCorrelInHIST.py.
Definition at line 404 of file checkCorrelInHIST.py.
Definition at line 403 of file checkCorrelInHIST.py.
| checkCorrelInHIST.grouped = {} |
Definition at line 368 of file checkCorrelInHIST.py.
| list checkCorrelInHIST.groupname = None |
Definition at line 461 of file checkCorrelInHIST.py.
| list checkCorrelInHIST.hArgs = args.histo |
Definition at line 380 of file checkCorrelInHIST.py.
| checkCorrelInHIST.help |
Definition at line 345 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.histos = {} |
Definition at line 413 of file checkCorrelInHIST.py.
| checkCorrelInHIST.histoWD |
Definition at line 387 of file checkCorrelInHIST.py.
| checkCorrelInHIST.histpath = dqmf_config['%d'%args.runNumber]['annotations']['inputname'] |
Definition at line 400 of file checkCorrelInHIST.py.
| string checkCorrelInHIST.hpath = "run_%d/%s"%(args.runNumber,hist) |
Definition at line 441 of file checkCorrelInHIST.py.
| checkCorrelInHIST.ilb = int((lbFile.split("_lb")[1]).split("._")[0]) |
Definition at line 563 of file checkCorrelInHIST.py.
| checkCorrelInHIST.int |
Definition at line 345 of file checkCorrelInHIST.py.
Definition at line 491 of file checkCorrelInHIST.py.
Definition at line 518 of file checkCorrelInHIST.py.
| string checkCorrelInHIST.lbFilePath = "root://eosatlas.cern.ch/%s"%(lbFile).rstrip() |
Definition at line 561 of file checkCorrelInHIST.py.
| checkCorrelInHIST.lbFilePathList |
Definition at line 543 of file checkCorrelInHIST.py.
| list checkCorrelInHIST.listLB = [] |
Definition at line 559 of file checkCorrelInHIST.py.
| checkCorrelInHIST.mergedFilePath |
Definition at line 426 of file checkCorrelInHIST.py.
| checkCorrelInHIST.nargs |
Definition at line 355 of file checkCorrelInHIST.py.
| int checkCorrelInHIST.nLB = 8000 |
Definition at line 21 of file checkCorrelInHIST.py.
| int checkCorrelInHIST.nSteps = 1000 |
Definition at line 458 of file checkCorrelInHIST.py.
| checkCorrelInHIST.objs |
Definition at line 529 of file checkCorrelInHIST.py.
| checkCorrelInHIST.parser = argparse.ArgumentParser(description='Process some integers.') |
Definition at line 344 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.prefix = {'express':'express_','Egamma':'physics_','CosmicCalo':'physics_','JetTauEtmiss':'physics_','Main':'physics_','ZeroBias':'physics_','MinBias':'physics_'} |
Definition at line 391 of file checkCorrelInHIST.py.
| checkCorrelInHIST.QthHist = None |
Definition at line 507 of file checkCorrelInHIST.py.
| checkCorrelInHIST.QthHistPath = hist.replace("2d_Occupancy/CellOccupancyVsEtaPhi", "2d_PoorQualityFraction/fractionOverQthVsEtaPhi").replace("_5Sigma_CSCveto", "_hiEth_noVeto").replace("_hiEth_CSCveto", "_hiEth_noVeto") |
Definition at line 509 of file checkCorrelInHIST.py.
| checkCorrelInHIST.run_info = dqmAPI.get_run_information(run_spec) |
Definition at line 372 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.run_spec = {'stream': 'physics_CosmicCalo', 'proc_ver': 1,'source': 'tier0', 'low_run': args.runNumber, 'high_run':args.runNumber} |
Definition at line 364 of file checkCorrelInHIST.py.
| string checkCorrelInHIST.runFilePath = "root://eosatlas.cern.ch/%s"%(mergedFilePath).rstrip() |
Definition at line 429 of file checkCorrelInHIST.py.
Definition at line 459 of file checkCorrelInHIST.py.
| checkCorrelInHIST.tag |
Definition at line 376 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.thiscanv = canvs[hist]["canv"] |
Definition at line 476 of file checkCorrelInHIST.py.
Definition at line 492 of file checkCorrelInHIST.py.
| checkCorrelInHIST.tmp_delta = args.globalDelta |
Definition at line 456 of file checkCorrelInHIST.py.
| checkCorrelInHIST.tmp_x = args.globalX |
Definition at line 455 of file checkCorrelInHIST.py.
| checkCorrelInHIST.tmp_y = args.globalY |
Definition at line 496 of file checkCorrelInHIST.py.
| checkCorrelInHIST.type |
Definition at line 345 of file checkCorrelInHIST.py.
| list checkCorrelInHIST.wildcardplots = ["CellOccupancyVsEtaPhi", "fractionOverQthVsEtaPhi","DatabaseNoiseVsEtaPhi","CellAvgEnergyVsEtaPhi"] |
Definition at line 30 of file checkCorrelInHIST.py.
| dictionary checkCorrelInHIST.wildcards = {} |
Definition at line 29 of file checkCorrelInHIST.py.
1.8.18