ATLAS Offline Software
|
Functions | |
def | makeListFromString (s, token=',') |
def | findBeamspots (file, dir, pattern) |
def | makePoint (tree, prefix, xval='x0', xlow=-8, xhigh=8, xbins=100, doGausFit=True, cuts="") |
def | AddText (xmin, ymin, text, size=0.015, font=None) |
def | makeFloatFromString (s) |
def | splitBeamspotTreeTitle (title, cutToken="CUT") |
def | getTree (name, file, dir) |
def | getObject (chain, name) |
def | AddStatText (h, minx=0.7, miny=0.7, title="", units="", pars=['Mean', 'RMS']) |
def | makeHists (tree, name) |
def | makeCanvas (name, hists, xlabel, ylabel, doStats=True, doLegend=True, units="", logy=False, setMinZero=True, drawOptions="", histLabels=[]) |
def | getObjects (file, prefix, names) |
def | makeStandardPlots (file, prefix, names=[], nameLabels=[], doMC=False, logy=True) |
def | makeDeltaPlots (file, prefix, names=[], nameLabels=[]) |
Variables | |
string | __author__ = 'James Walder' |
string | __version__ = '$Id$' |
string | __usage__ = '%prog [options] ' |
parser = OptionParser(usage=__usage__, version=__version__) | |
dest | |
default | |
help | |
action | |
False | |
options | |
args | |
list | legends = [] |
list | pdglines = [] |
list | labels = [] |
list | ghists = [] |
list | failed = [] |
list | graphs = [] |
list | canvases = [] |
float | PointSize = 1.6 |
float | MaxHeightFactor = 1.5 |
list | colours = [ EColor.kRed+1, EColor.kBlue+1, EColor.kGreen-8, EColor.kYellow+2] |
list | markers = [20,25,22,27,23,28,30,21] |
float | plotTextSize = 0.03 |
def | files = makeListFromString(options.files) |
fii = TFile(files[0]) | |
list | cs = [] |
bsfii = TFile(options.beamspotFile) | |
def | bs = findBeamspots(bsfii,"Beamspot","Beamspots.*") |
list | type = ['Adaptive','InDetPriVxFinderFastFinder','InDetPriVxFinderFullFinder'] |
def | bsAdaptive = findBeamspots(bsfii,"Beamspot","Beamspots.*"+t+".*") |
list | hx = [] |
list | hy = [] |
list | hz = [] |
list | hsx = [] |
list | hsy = [] |
list | hsz = [] |
list | hax = [] |
list | hay = [] |
list | hk = [] |
list | hrhoxy = [] |
string | name = "SCT" |
def | hists = makeHists(i,name) |
s = raw_input('--> ') | |
def beamspotVtxAnalysis.AddStatText | ( | h, | |
minx = 0.7 , |
|||
miny = 0.7 , |
|||
title = "" , |
|||
units = "" , |
|||
pars = ['Mean','RMS'] |
|||
) |
Definition at line 175 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.AddText | ( | xmin, | |
ymin, | |||
text, | |||
size = 0.015 , |
|||
font = None |
|||
) |
Definition at line 110 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.findBeamspots | ( | file, | |
dir, | |||
pattern | |||
) |
Definition at line 58 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.getObject | ( | chain, | |
name | |||
) |
Definition at line 164 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.getObjects | ( | file, | |
prefix, | |||
names | |||
) |
Definition at line 301 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.getTree | ( | name, | |
file, | |||
dir | |||
) |
Definition at line 144 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makeCanvas | ( | name, | |
hists, | |||
xlabel, | |||
ylabel, | |||
doStats = True , |
|||
doLegend = True , |
|||
units = "" , |
|||
logy = False , |
|||
setMinZero = True , |
|||
drawOptions = "" , |
|||
histLabels = [] |
|||
) |
Definition at line 225 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makeDeltaPlots | ( | file, | |
prefix, | |||
names = [] , |
|||
nameLabels = [] |
|||
) |
Definition at line 345 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makeFloatFromString | ( | s | ) |
Definition at line 122 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makeHists | ( | tree, | |
name | |||
) |
Definition at line 204 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makeListFromString | ( | s, | |
token = ',' |
|||
) |
Definition at line 14 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makePoint | ( | tree, | |
prefix, | |||
xval = 'x0' , |
|||
xlow = -8 , |
|||
xhigh = 8 , |
|||
xbins = 100 , |
|||
doGausFit = True , |
|||
cuts = "" |
|||
) |
Definition at line 80 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.makeStandardPlots | ( | file, | |
prefix, | |||
names = [] , |
|||
nameLabels = [] , |
|||
doMC = False , |
|||
logy = True |
|||
) |
Definition at line 307 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.splitBeamspotTreeTitle | ( | title, | |
cutToken = "CUT" |
|||
) |
Definition at line 133 of file beamspotVtxAnalysis.py.
|
private |
Definition at line 10 of file beamspotVtxAnalysis.py.
|
private |
Definition at line 12 of file beamspotVtxAnalysis.py.
|
private |
Definition at line 11 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.action |
Definition at line 23 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.args |
Definition at line 25 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.bs = findBeamspots(bsfii,"Beamspot","Beamspots.*") |
Definition at line 418 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.bsAdaptive = findBeamspots(bsfii,"Beamspot","Beamspots.*"+t+".*") |
Definition at line 422 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.bsfii = TFile(options.beamspotFile) |
Definition at line 415 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.canvases = [] |
Definition at line 45 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.colours = [ EColor.kRed+1, EColor.kBlue+1, EColor.kGreen-8, EColor.kYellow+2] |
Definition at line 50 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.cs = [] |
Definition at line 391 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.default |
Definition at line 19 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.dest |
Definition at line 19 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.failed = [] |
Definition at line 43 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.False |
Definition at line 23 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.fii = TFile(files[0]) |
Definition at line 156 of file beamspotVtxAnalysis.py.
def beamspotVtxAnalysis.files = makeListFromString(options.files) |
Definition at line 154 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.ghists = [] |
Definition at line 42 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.graphs = [] |
Definition at line 44 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hax = [] |
Definition at line 430 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hay = [] |
Definition at line 431 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.help |
Definition at line 19 of file beamspotVtxAnalysis.py.
Definition at line 452 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hk = [] |
Definition at line 432 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hrhoxy = [] |
Definition at line 433 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hsx = [] |
Definition at line 427 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hsy = [] |
Definition at line 428 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hsz = [] |
Definition at line 429 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hx = [] |
Definition at line 424 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hy = [] |
Definition at line 425 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.hz = [] |
Definition at line 426 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.labels = [] |
Definition at line 41 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.legends = [] |
Definition at line 39 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.markers = [20,25,22,27,23,28,30,21] |
Definition at line 51 of file beamspotVtxAnalysis.py.
float beamspotVtxAnalysis.MaxHeightFactor = 1.5 |
Definition at line 48 of file beamspotVtxAnalysis.py.
string beamspotVtxAnalysis.name = "SCT" |
Definition at line 441 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.options |
Definition at line 25 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.parser = OptionParser(usage=__usage__, version=__version__) |
Definition at line 18 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.pdglines = [] |
Definition at line 40 of file beamspotVtxAnalysis.py.
float beamspotVtxAnalysis.plotTextSize = 0.03 |
Definition at line 52 of file beamspotVtxAnalysis.py.
float beamspotVtxAnalysis.PointSize = 1.6 |
Definition at line 47 of file beamspotVtxAnalysis.py.
beamspotVtxAnalysis.s = raw_input('--> ') |
Definition at line 481 of file beamspotVtxAnalysis.py.
list beamspotVtxAnalysis.type = ['Adaptive','InDetPriVxFinderFastFinder','InDetPriVxFinderFullFinder'] |
Definition at line 420 of file beamspotVtxAnalysis.py.