ATLAS Offline Software
Classes | Namespaces | Functions | Variables
plotBeamSpotVert.py File Reference

Go to the source code of this file.

Classes

class  plotBeamSpotVert.Plots
 

Namespaces

 plotBeamSpotVert
 

Functions

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

Variables

string plotBeamSpotVert.__author__ = 'Juerg Beringer'
 
string plotBeamSpotVert.__version__ = '$Id:$'
 
string 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
 
dictionary plotBeamSpotVert.plotDef
 
def plotBeamSpotVert.xmin = options.xmin if options.xmin else getPlotDef(options.plot,'xmin',-500)
 
def plotBeamSpotVert.xmax = options.xmax if options.xmax else getPlotDef(options.plot,'xmax',+500)
 
def plotBeamSpotVert.ymin = options.ymin if options.ymin else getPlotDef(options.plot,'ymin',-500)
 
def plotBeamSpotVert.ymax = options.ymax if options.ymax else getPlotDef(options.plot,'ymax',+500)
 
def plotBeamSpotVert.nbins = getPlotDef(options.plot,'nbins',options.nbins)
 
 plotBeamSpotVert.atlasx
 
 plotBeamSpotVert.atlasy
 
 plotBeamSpotVert.atlasdx
 
string plotBeamSpotVert.cuts = 'vType==1 && lb>=%i && lb<%i' % (options.lbmin,options.lbmax)
 
 plotBeamSpotVert.run = getRunFromName(ntFile)
 
string plotBeamSpotVert.runFillInfo = 'Fill %s' % (lhcFillData.get(run,'') if lhcFillData.get(run,'') else '')
 
string 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'])