![]() |
ATLAS Offline Software
|
Classes | |
| class | Plots |
Functions | |
| def | getPlotDef (what, property, default='') |
| def | drawLabels () |
| def | drawInfo (c, h, more, x=0.6, size=0.04) |
Variables | |
| string | __author__ = 'Juerg Beringer' |
| string | __version__ = '$Id:$' |
| string | __usage__ = '%prog [options] nt.root' |
| parser = OptionParser(usage=__usage__, version=__version__) | |
| dest | |
| default | |
| help | |
| None | |
| type | |
| action | |
| False | |
| options | |
| args | |
| ntFile = args[0] | |
| ntName = ntFile.split('/')[-1][:-5] if not options.name else options.name | |
| dictionary | plotDef |
| def | xmin = options.xmin if options.xmin else getPlotDef(options.plot,'xmin',-500) |
| def | xmax = options.xmax if options.xmax else getPlotDef(options.plot,'xmax',+500) |
| def | ymin = options.ymin if options.ymin else getPlotDef(options.plot,'ymin',-500) |
| def | ymax = options.ymax if options.ymax else getPlotDef(options.plot,'ymax',+500) |
| def | nbins = getPlotDef(options.plot,'nbins',options.nbins) |
| atlasx | |
| atlasy | |
| atlasdx | |
| string | cuts = 'vType==1 && lb>=%i && lb<%i' % (options.lbmin,options.lbmax) |
| run = getRunFromName(ntFile) | |
| string | runFillInfo = 'Fill %s' % (lhcFillData.get(run,'') if lhcFillData.get(run,'') else '') |
| string | lhcEnergyInfo = '#sqrt{s} = %s;' % lhcEnergyData.get(run,'') if lhcEnergyData.get(run,'') else '' |
| f = ROOT.TFile(ntFile) | |
| nt = f.Get('Vertices') | |
| saveAsList | |
| autoName | |
| plots = Plots('Primary Vertex Plots',['hist','histErr']) | |
| def plotBeamSpotVert.drawInfo | ( | c, | |
| h, | |||
| more, | |||
x = 0.6, |
|||
size = 0.04 |
|||
| ) |
Definition at line 135 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.drawLabels | ( | ) |
Definition at line 122 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.getPlotDef | ( | what, | |
| property, | |||
default = '' |
|||
| ) |
Definition at line 67 of file plotBeamSpotVert.py.
|
private |
Definition at line 9 of file plotBeamSpotVert.py.
|
private |
Definition at line 11 of file plotBeamSpotVert.py.
|
private |
Definition at line 10 of file plotBeamSpotVert.py.
| plotBeamSpotVert.action |
Definition at line 29 of file plotBeamSpotVert.py.
| plotBeamSpotVert.args |
Definition at line 46 of file plotBeamSpotVert.py.
| plotBeamSpotVert.atlasdx |
Definition at line 89 of file plotBeamSpotVert.py.
| plotBeamSpotVert.atlasx |
Definition at line 83 of file plotBeamSpotVert.py.
| plotBeamSpotVert.atlasy |
Definition at line 87 of file plotBeamSpotVert.py.
| plotBeamSpotVert.autoName |
Definition at line 283 of file plotBeamSpotVert.py.
Definition at line 92 of file plotBeamSpotVert.py.
| plotBeamSpotVert.default |
Definition at line 17 of file plotBeamSpotVert.py.
| plotBeamSpotVert.dest |
Definition at line 17 of file plotBeamSpotVert.py.
| plotBeamSpotVert.f = ROOT.TFile(ntFile) |
Definition at line 275 of file plotBeamSpotVert.py.
| plotBeamSpotVert.False |
Definition at line 29 of file plotBeamSpotVert.py.
| plotBeamSpotVert.help |
Definition at line 17 of file plotBeamSpotVert.py.
| string plotBeamSpotVert.lhcEnergyInfo = '#sqrt{s} = %s;' % lhcEnergyData.get(run,'') if lhcEnergyData.get(run,'') else '' |
Definition at line 271 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.nbins = getPlotDef(options.plot,'nbins',options.nbins) |
Definition at line 78 of file plotBeamSpotVert.py.
| plotBeamSpotVert.None |
Definition at line 18 of file plotBeamSpotVert.py.
| plotBeamSpotVert.nt = f.Get('Vertices') |
Definition at line 277 of file plotBeamSpotVert.py.
| plotBeamSpotVert.ntFile = args[0] |
Definition at line 49 of file plotBeamSpotVert.py.
| plotBeamSpotVert.ntName = ntFile.split('/')[-1][:-5] if not options.name else options.name |
Definition at line 50 of file plotBeamSpotVert.py.
| plotBeamSpotVert.options |
Definition at line 46 of file plotBeamSpotVert.py.
| plotBeamSpotVert.parser = OptionParser(usage=__usage__, version=__version__) |
Definition at line 16 of file plotBeamSpotVert.py.
| dictionary plotBeamSpotVert.plotDef |
Definition at line 54 of file plotBeamSpotVert.py.
Definition at line 285 of file plotBeamSpotVert.py.
| plotBeamSpotVert.run = getRunFromName(ntFile) |
Definition at line 264 of file plotBeamSpotVert.py.
| string plotBeamSpotVert.runFillInfo = 'Fill %s' % (lhcFillData.get(run,'') if lhcFillData.get(run,'') else '') |
Definition at line 266 of file plotBeamSpotVert.py.
| plotBeamSpotVert.saveAsList |
Definition at line 282 of file plotBeamSpotVert.py.
| plotBeamSpotVert.type |
Definition at line 22 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.xmax = options.xmax if options.xmax else getPlotDef(options.plot,'xmax',+500) |
Definition at line 75 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.xmin = options.xmin if options.xmin else getPlotDef(options.plot,'xmin',-500) |
Definition at line 74 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.ymax = options.ymax if options.ymax else getPlotDef(options.plot,'ymax',+500) |
Definition at line 77 of file plotBeamSpotVert.py.
| def plotBeamSpotVert.ymin = options.ymin if options.ymin else getPlotDef(options.plot,'ymin',-500) |
Definition at line 76 of file plotBeamSpotVert.py.
1.8.18