Logo ROOT  
Reference Guide
df105 Namespace Reference

Functions

 merge_histos (label)

Variables

 action
 align
 args = parser.parse_args()
 bottom
 c = RCanvas.Create("df105_WBosonAnalysis")
 data = merge_histos("data")
str dataset_path = "root://eospublic.cern.ch//eos/opendata/atlas/OutreachDatasets/2020-01-22"
 default
dict df = {}
 diboson = merge_histos("diboson")
 drawAxes
 False
 files = json.load(open(os.path.join(ROOT.gROOT.GetTutorialsDir(), "analysis/dataframe/df105_WBosonAnalysis.json")))
 folder = d[0]
 font
 frame = c.AddFrame()
 help
dict histos = {}
 lbl1 = c.Add[RText](RPadPos(0.05, 0.88), "ATLAS")
 lbl2 = c.Add[RText](RPadPos(0.05 + 0.20, 0.88), "Open Data")
 lbl3
 left
 legend = ROOT.TLegend(0.60, 0.65, 0.92, 0.92)
 log
float lumi = 10064.0
float lumi_scale = 0.001
 max
 min
 num_events = d[4]
 offset
 onFrame
 parser = argparse.ArgumentParser()
 processes = files.keys()
 right
 sample = d[1]
list samples = []
 singletop = merge_histos("singletop")
 size
 stack = ROOT.THStack()
dict sumws = {}
 top
 ttbar = merge_histos("ttbar")
 type
 value
 wjets = merge_histos("wjets")
dict xsecs = {}
 zjets = merge_histos("zjets")

Function Documentation

◆ merge_histos()

df105.merge_histos ( label)

Definition at line 178 of file df105.py.

Variable Documentation

◆ action

df105.action

Definition at line 40 of file df105.py.

◆ align

df105.align

Definition at line 270 of file df105.py.

◆ args

df105.args = parser.parse_args()

Definition at line 53 of file df105.py.

◆ bottom

df105.bottom

Definition at line 208 of file df105.py.

◆ c

df105.c = RCanvas.Create("df105_WBosonAnalysis")

Definition at line 203 of file df105.py.

◆ data

df105.data = merge_histos("data")

Definition at line 190 of file df105.py.

◆ dataset_path

str df105.dataset_path = "root://eospublic.cern.ch//eos/opendata/atlas/OutreachDatasets/2020-01-22"

Definition at line 71 of file df105.py.

◆ default

df105.default

Definition at line 35 of file df105.py.

◆ df

dict df105.df = {}

Definition at line 79 of file df105.py.

◆ diboson

df105.diboson = merge_histos("diboson")

Definition at line 194 of file df105.py.

◆ drawAxes

df105.drawAxes

Definition at line 227 of file df105.py.

◆ False

df105.False

Definition at line 44 of file df105.py.

◆ files

df105.files = json.load(open(os.path.join(ROOT.gROOT.GetTutorialsDir(), "analysis/dataframe/df105_WBosonAnalysis.json")))

Definition at line 77 of file df105.py.

◆ folder

df105.folder = d[0]

Definition at line 86 of file df105.py.

◆ font

df105.font

Definition at line 268 of file df105.py.

◆ frame

df105.frame = c.AddFrame()

Definition at line 204 of file df105.py.

◆ help

df105.help

Definition at line 36 of file df105.py.

◆ histos

dict df105.histos = {}

Definition at line 162 of file df105.py.

◆ lbl1

df105.lbl1 = c.Add[RText](RPadPos(0.05, 0.88), "ATLAS")

Definition at line 266 of file df105.py.

◆ lbl2

df105.lbl2 = c.Add[RText](RPadPos(0.05 + 0.20, 0.88), "Open Data")

Definition at line 271 of file df105.py.

◆ lbl3

df105.lbl3
Initial value:
1= c.Add[RText](
2 RPadPos(0.05, 0.82), "#sqrt{{s}} = 13 TeV, {:.2f} fb^{{-1}}".format(lumi * args.lumi_scale / 1000.0)
3)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format

Definition at line 276 of file df105.py.

◆ left

df105.left

Definition at line 207 of file df105.py.

◆ legend

df105.legend = ROOT.TLegend(0.60, 0.65, 0.92, 0.92)

Definition at line 251 of file df105.py.

◆ log

df105.log

Definition at line 221 of file df105.py.

◆ lumi

float df105.lumi = 10064.0

Definition at line 67 of file df105.py.

◆ lumi_scale

float df105.lumi_scale = 0.001

Definition at line 64 of file df105.py.

◆ max

df105.max

Definition at line 213 of file df105.py.

◆ min

df105.min

Definition at line 212 of file df105.py.

◆ num_events

df105.num_events = d[4]

Definition at line 90 of file df105.py.

◆ offset

df105.offset

Definition at line 216 of file df105.py.

◆ onFrame

df105.onFrame

Definition at line 267 of file df105.py.

◆ parser

df105.parser = argparse.ArgumentParser()

Definition at line 31 of file df105.py.

◆ processes

df105.processes = files.keys()

Definition at line 78 of file df105.py.

◆ right

df105.right

Definition at line 206 of file df105.py.

◆ sample

df105.sample = d[1]

Definition at line 87 of file df105.py.

◆ samples

list df105.samples = []

Definition at line 82 of file df105.py.

◆ singletop

df105.singletop = merge_histos("singletop")

Definition at line 195 of file df105.py.

◆ size

df105.size

Definition at line 215 of file df105.py.

◆ stack

df105.stack = ROOT.THStack()

Definition at line 230 of file df105.py.

◆ sumws

dict df105.sumws = {}

Definition at line 81 of file df105.py.

◆ top

df105.top

Definition at line 205 of file df105.py.

◆ ttbar

df105.ttbar = merge_histos("ttbar")

Definition at line 193 of file df105.py.

◆ type

df105.type

Definition at line 34 of file df105.py.

◆ value

df105.value

Definition at line 214 of file df105.py.

◆ wjets

df105.wjets = merge_histos("wjets")

Definition at line 191 of file df105.py.

◆ xsecs

dict df105.xsecs = {}

Definition at line 80 of file df105.py.

◆ zjets

df105.zjets = merge_histos("zjets")

Definition at line 192 of file df105.py.