ATLAS Offline Software
Loading...
Searching...
No Matches
plotBeamSpotVert.py File Reference

Go to the source code of this file.

Classes

class  plotBeamSpotVert.Plots

Namespaces

namespace  plotBeamSpotVert

Functions

 plotBeamSpotVert.getPlotDef (what, property, default='')
 plotBeamSpotVert.drawLabels ()
 plotBeamSpotVert.drawInfo (c, h, more, x=0.6, size=0.04)

Variables

str plotBeamSpotVert.__author__ = 'Juerg Beringer'
str plotBeamSpotVert.__version__ = '$Id:$'
str plotBeamSpotVert.__usage__ = '%prog [options] nt.root'
 plotBeamSpotVert.parser = OptionParser(usage=__usage__, version=__version__)
 plotBeamSpotVert.dest
 plotBeamSpotVert.default
 plotBeamSpotVert.help
 plotBeamSpotVert.None
 plotBeamSpotVert.type
 plotBeamSpotVert.action
 plotBeamSpotVert.False
 plotBeamSpotVert.options
 plotBeamSpotVert.args
 plotBeamSpotVert.ntFile = args[0]
 plotBeamSpotVert.ntName = ntFile.split('/')[-1][:-5] if not options.name else options.name
dict plotBeamSpotVert.plotDef
 plotBeamSpotVert.xmin = options.xmin if options.xmin else getPlotDef(options.plot,'xmin',-500)
 plotBeamSpotVert.xmax = options.xmax if options.xmax else getPlotDef(options.plot,'xmax',+500)
 plotBeamSpotVert.ymin = options.ymin if options.ymin else getPlotDef(options.plot,'ymin',-500)
 plotBeamSpotVert.ymax = options.ymax if options.ymax else getPlotDef(options.plot,'ymax',+500)
 plotBeamSpotVert.nbins = getPlotDef(options.plot,'nbins',options.nbins)
 plotBeamSpotVert.atlasx
 plotBeamSpotVert.atlasy
 plotBeamSpotVert.atlasdx
str plotBeamSpotVert.cuts = 'vType==1 && lb>=%i && lb<%i' % (options.lbmin,options.lbmax)
 plotBeamSpotVert.run = getRunFromName(ntFile)
str plotBeamSpotVert.runFillInfo = 'Fill %s' % (lhcFillData.get(run,'') if lhcFillData.get(run,'') else '')
str plotBeamSpotVert.lhcEnergyInfo = '#sqrt{s} = %s;' % lhcEnergyData.get(run,'') if lhcEnergyData.get(run,'') else ''
 plotBeamSpotVert.f = ROOT.TFile(ntFile)
 plotBeamSpotVert.nt = f.Get('Vertices')
 plotBeamSpotVert.saveAsList
 plotBeamSpotVert.autoName
 plotBeamSpotVert.plots = Plots('Primary Vertex Plots',['hist','histErr'])