ATLAS Offline Software
Namespaces | Functions | Variables
checkCorrelInHIST.py File Reference

Go to the source code of this file.

Namespaces

 checkCorrelInHIST
 

Functions

def checkCorrelInHIST.expandWildCard (histlist)
 
def checkCorrelInHIST.convHname (hname)
 
def checkCorrelInHIST.LIDProposal (hname, eta, phi, delta=0.15)
 
def checkCorrelInHIST.setupDqmAPI ()
 
def checkCorrelInHIST.lbStr (lb)
 
def checkCorrelInHIST.hType (hist, verbose=False)
 
def checkCorrelInHIST.checkCorrel (histos, listLB, checkList)
 
def checkCorrelInHIST.getSummary (histos, correls, fractionNonZero)
 
def checkCorrelInHIST.topNBins (histname, h, topn, bins, h_fracQth=None)
 

Variables

int checkCorrelInHIST.nLB = 8000
 
string checkCorrelInHIST.dqmpassfile = "/afs/cern.ch/user/l/larmon/public/atlasdqmpass.txt"
 
 checkCorrelInHIST.conn = None
 
 checkCorrelInHIST.cursor = None
 
dictionary checkCorrelInHIST.wildcards = {}
 
list checkCorrelInHIST.wildcardplots = ["CellOccupancyVsEtaPhi", "fractionOverQthVsEtaPhi","DatabaseNoiseVsEtaPhi","CellAvgEnergyVsEtaPhi"]
 
 checkCorrelInHIST.parser = argparse.ArgumentParser(description='Process some integers.')
 
 checkCorrelInHIST.type
 
 checkCorrelInHIST.int
 
 checkCorrelInHIST.dest
 
 checkCorrelInHIST.default
 
 checkCorrelInHIST.help
 
 checkCorrelInHIST.action
 
 checkCorrelInHIST.float
 
 checkCorrelInHIST.nargs
 
 checkCorrelInHIST.False
 
 checkCorrelInHIST.args = parser.parse_args()
 
dictionary checkCorrelInHIST.run_spec = {'stream': 'physics_CosmicCalo', 'proc_ver': 1,'source': 'tier0', 'low_run': args.runNumber, 'high_run':args.runNumber}
 
 checkCorrelInHIST.dqmAPI = None
 
dictionary checkCorrelInHIST.grouped = {}
 
 checkCorrelInHIST.run_info = dqmAPI.get_run_information(run_spec)
 
 checkCorrelInHIST.tag
 
 checkCorrelInHIST.hArgs = args.histo
 
 checkCorrelInHIST.histoWD
 
dictionary checkCorrelInHIST.prefix = {'express':'express_','Egamma':'physics_','CosmicCalo':'physics_','JetTauEtmiss':'physics_','Main':'physics_','ZeroBias':'physics_','MinBias':'physics_'}
 
 checkCorrelInHIST.dqmf_config = dqmAPI.get_dqmf_configs(run_spec, hist)
 
 checkCorrelInHIST.histpath = dqmf_config['%d'%args.runNumber]['annotations']['inputname']
 
list checkCorrelInHIST.gk = [ k for k,b in grouped.items() if hist in grouped[k] ][0]
 
dictionary checkCorrelInHIST.gi = grouped[gk].index(hist)
 
dictionary checkCorrelInHIST.histos = {}
 
dictionary checkCorrelInHIST.canvs = {}
 
 checkCorrelInHIST.mergedFilePath
 
string checkCorrelInHIST.runFilePath = "root://eosatlas.cern.ch/%s"%(mergedFilePath).rstrip()
 
dictionary checkCorrelInHIST.drawngroup = {}
 
 checkCorrelInHIST.f = R.TFile.Open(runFilePath)
 
string checkCorrelInHIST.hpath = "run_%d/%s"%(args.runNumber,hist)
 
 checkCorrelInHIST.tmp_x = args.globalX
 
 checkCorrelInHIST.tmp_delta = args.globalDelta
 
int checkCorrelInHIST.nSteps = 1000
 
int checkCorrelInHIST.subStep = 2*tmp_delta/nSteps
 
 checkCorrelInHIST.groupname = None
 
dictionary checkCorrelInHIST.thiscanv = canvs[hist]["canv"]
 
int checkCorrelInHIST.iX = tmp_x - tmp_delta + ix * subStep
 
dictionary checkCorrelInHIST.tmp_bin = histos[hist]["merged"].FindBin(iX)
 
 checkCorrelInHIST.tmp_y = args.globalY
 
 checkCorrelInHIST.QthHist = None
 
 checkCorrelInHIST.QthHistPath = hist.replace("2d_Occupancy/CellOccupancyVsEtaPhi", "2d_PoorQualityFraction/fractionOverQthVsEtaPhi").replace("_5Sigma_CSCveto", "_hiEth_noVeto").replace("_hiEth_CSCveto", "_hiEth_noVeto")
 
int checkCorrelInHIST.iY = tmp_y - tmp_delta + iy * subStep
 
 checkCorrelInHIST.objs
 
 checkCorrelInHIST.lbFilePathList
 
list checkCorrelInHIST.listLB = []
 
string checkCorrelInHIST.lbFilePath = "root://eosatlas.cern.ch/%s"%(lbFile).rstrip()
 
 checkCorrelInHIST.ilb = int((lbFile.split("_lb")[1]).split("._")[0])
 
 checkCorrelInHIST.fLB = R.TFile.Open(lbFilePath)
 
 checkCorrelInHIST.correls
 
 checkCorrelInHIST.fractionNonZero