|
string | plotBeamSpotCompare.__author__ = 'Martina Hurwitz' |
|
string | plotBeamSpotCompare.__version__ = '$Id $' |
|
string | plotBeamSpotCompare.__usage__ = '%prog [options] file1/tag1 file2/tag2' |
|
dictionary | plotBeamSpotCompare.varDef |
|
| plotBeamSpotCompare.parser = OptionParser(usage=__usage__, version=__version__) |
|
| plotBeamSpotCompare.dest |
|
| plotBeamSpotCompare.action |
|
| plotBeamSpotCompare.default |
|
| plotBeamSpotCompare.False |
|
| plotBeamSpotCompare.help |
|
| plotBeamSpotCompare.type |
|
| plotBeamSpotCompare.options |
|
| plotBeamSpotCompare.args |
|
string | plotBeamSpotCompare.tag1 = '' |
|
string | plotBeamSpotCompare.tag2 = '' |
|
| plotBeamSpotCompare.runNumber = int(options.runNumber) |
|
int | plotBeamSpotCompare.ndp = 5 |
|
int | plotBeamSpotCompare.ndptilt = 8 |
|
bool | plotBeamSpotCompare.fromDB = False |
|
bool | plotBeamSpotCompare.fromCSV = False |
|
| plotBeamSpotCompare.BSData1 = BeamSpotFinderNt(tag1) |
|
| plotBeamSpotCompare.BSData2 = BeamSpotFinderNt(tag2) |
|
list | plotBeamSpotCompare.varColl = [] |
|
bool | plotBeamSpotCompare.doOnePlot = True |
|
| plotBeamSpotCompare.runMin |
|
| plotBeamSpotCompare.runMax |
|
| plotBeamSpotCompare.lbmin = BS1.lbStart |
|
| plotBeamSpotCompare.lbmax = BS1.lbEnd |
|
| plotBeamSpotCompare.BS2_status = options.status |
|
| plotBeamSpotCompare.statusList |
|
| plotBeamSpotCompare.BS2Dict = BSData2.getDataCache() |
|
int | plotBeamSpotCompare.numNew = 0 |
|
int | plotBeamSpotCompare.numOld = 0 |
|
| plotBeamSpotCompare.x1 = array('d') |
|
| plotBeamSpotCompare.ex1 = array('d') |
|
| plotBeamSpotCompare.x2 = array('d') |
|
| plotBeamSpotCompare.ex2 = array('d') |
|
| plotBeamSpotCompare.xd = array('d') |
|
| plotBeamSpotCompare.exd = array('d') |
|
dictionary | plotBeamSpotCompare.y1Dict = {} |
|
dictionary | plotBeamSpotCompare.ey1Dict = {} |
|
dictionary | plotBeamSpotCompare.y2Dict = {} |
|
dictionary | plotBeamSpotCompare.ey2Dict = {} |
|
dictionary | plotBeamSpotCompare.ydDict = {} |
|
dictionary | plotBeamSpotCompare.eydDict = {} |
|
bool | plotBeamSpotCompare.pass1 = False |
|
| plotBeamSpotCompare.run = BS1.run |
|
| plotBeamSpotCompare.BS2 = BS2Dict[run][lb] |
|
bool | plotBeamSpotCompare.pass2 = False |
|
| plotBeamSpotCompare.diff = getattr(BS1, var) - getattr(BS2, var) |
|
| plotBeamSpotCompare.ediff = max(getattr(BS1, var+'Err'), getattr(BS2, var+'Err')) |
|
| plotBeamSpotCompare.percdiff = diff / max(getattr(BS1, var), getattr(BS2, var)) |
|
| plotBeamSpotCompare.sigmaChange = diff/ediff |
|
| plotBeamSpotCompare.canvas = ROOT.TCanvas('BeamSpotComparison', 'BeamSpotComparison', 600, 500) |
|
dictionary | plotBeamSpotCompare.canvases = {} |
|
dictionary | plotBeamSpotCompare.ratiopad = {} |
|
dictionary | plotBeamSpotCompare.primarypad = {} |
|
dictionary | plotBeamSpotCompare.zeroline = {} |
|
int | plotBeamSpotCompare.ivar = 0 |
|
list | plotBeamSpotCompare.graphColl = [] |
|
list | plotBeamSpotCompare.dummyColl = [] |
|
list | plotBeamSpotCompare.histColl = [] |
|
| plotBeamSpotCompare.gr1 = ROOT.TGraphErrors(len(x1), x1, y1Dict[var], ex1, ey1Dict[var]) |
|
| plotBeamSpotCompare.gr2 = ROOT.TGraphErrors(len(x2), x2, y2Dict[var], ex2, ey2Dict[var]) |
|
| plotBeamSpotCompare.grdiff = ROOT.TGraphErrors(len(xd), xd, ydDict[var], exd, eydDict[var]) |
|
| plotBeamSpotCompare.xmin = min(min(x1), min(x2)) |
|
| plotBeamSpotCompare.xmax = max(max(x1), max(x2)) |
|
| plotBeamSpotCompare.ymin = min(min(y1Dict[var]), min(y2Dict[var])) |
|
| plotBeamSpotCompare.ymax = max(max(y1Dict[var]), max(y2Dict[var])) |
|
tuple | plotBeamSpotCompare.h = (ymax-ymin) |
|
| plotBeamSpotCompare.diffmin = min(ydDict[var]) |
|
| plotBeamSpotCompare.diffmax = max(ydDict[var]) |
|
| plotBeamSpotCompare.histo = ROOT.TH1F(var, var, 40, diffmin, diffmax) |
|
| plotBeamSpotCompare.hdummy = ROOT.TH2D('hd'+var, 'hd'+var, 10, xmin, xmax, 10, ymin, ymax) |
|
int | plotBeamSpotCompare.primarytextscale = 1./(primarypad[var].GetWh()*primarypad[var].GetAbsHNDC()); |
|
int | plotBeamSpotCompare.ratiotextscale = 1./(ratiopad[var].GetWh()*ratiopad[var].GetAbsHNDC()) |
|
| plotBeamSpotCompare.minyaxis = hdummy.GetYaxis().GetXmin() |
|
| plotBeamSpotCompare.maxyaxis = hdummy.GetYaxis().GetXmax() |
|
| plotBeamSpotCompare.rangeyaxis = abs(minyaxis-maxyaxis) |
|
| plotBeamSpotCompare.diffymax = grdiff.GetYaxis().GetXmax() |
|
| plotBeamSpotCompare.diffymin = grdiff.GetYaxis().GetXmin() |
|
string | plotBeamSpotCompare.newText = 'New fits: %i' % numNew |
|
string | plotBeamSpotCompare.oldText = 'Missing fits: %i' %numOld |
|
| plotBeamSpotCompare.basename = options.outtag |
|
int | plotBeamSpotCompare.htmlstart = 0 |
|
string | plotBeamSpotCompare.htmlfilename = basename[htmlstart:-1]+".html" |
|
| plotBeamSpotCompare.html = open(htmlfilename,'w') |
|