ATLAS Offline Software
|
Functions | |
def | qsum_histograms (histo1, histo2) |
def | copy_bin (histo, eta_range) |
def | copy_dir (source, destination) |
def | create_structured_file (path) |
def | create_new_directories (output_file) |
def | merge_histograms (old, new, merge_error=True) |
Variables | |
string | old_filename = "/home/turra/simon/latest_simon.root" |
old_file = ROOT.TFile.Open(old_filename) | |
old_scale_histogram = old_file.Get("Scales/es2012c/alphaZee_errStat") | |
old_ct_histogram = old_file.Get("Resolution/es2012c/ctZee_errStat") | |
old_scale_sys = old_file.Get("Scales/es2012c/alphaZee_errSyst") | |
old_ct_sys = old_file.Get("Resolution/es2012c/ctZee_errSyst") | |
file_christophe = ROOT.TFile("~/ElectronEnergyScaleFactor.root") | |
scales_christophe = file_christophe.Get("alpha68") | |
ct_christophe = file_christophe.Get("sigma24") | |
scales_sys_christophe = file_christophe.Get("systAlpha") | |
ct_sys_christophe = file_christophe.Get("systSigma") | |
def | histo_scale = merge_histograms(old_scale_histogram, scales_christophe) |
def | histo_ct = merge_histograms(old_ct_histogram, ct_christophe) |
canvas1 = ROOT.TCanvas() | |
canvas2 = ROOT.TCanvas() | |
output_file = ROOT.TFile("xxx.root", "update") | |
def | new_scale_sys = qsum_histograms(scales_sys_christophe, old_scale_sys) |
def | new_ct_sys = qsum_histograms(ct_sys_christophe, old_ct_sys) |
legend3 = ROOT.TLegend(0.6, 0.7, 0.9, 0.9) | |
canvas3 = ROOT.TCanvas() | |
legend4 = ROOT.TLegend(0.6, 0.7, 0.9, 0.9) | |
canvas4 = ROOT.TCanvas() | |
stefano_file = ROOT.TFile("egammaEnergyCorrectionDataMC15.root") | |
f_ua2mev = ROOT.TFile.Open("~/uA2MeV.root") | |
histo_ua2mev = f_ua2mev.Get("histo_uA2MeV_week12") | |
def create_input.copy_bin | ( | histo, | |
eta_range | |||
) |
def create_input.copy_dir | ( | source, | |
destination | |||
) |
Definition at line 73 of file create_input.py.
def create_input.create_new_directories | ( | output_file | ) |
Definition at line 118 of file create_input.py.
def create_input.create_structured_file | ( | path | ) |
Definition at line 109 of file create_input.py.
def create_input.merge_histograms | ( | old, | |
new, | |||
merge_error = True |
|||
) |
Definition at line 125 of file create_input.py.
def create_input.qsum_histograms | ( | histo1, | |
histo2 | |||
) |
Definition at line 41 of file create_input.py.
create_input.canvas1 = ROOT.TCanvas() |
Definition at line 217 of file create_input.py.
create_input.canvas2 = ROOT.TCanvas() |
Definition at line 222 of file create_input.py.
create_input.canvas3 = ROOT.TCanvas() |
Definition at line 258 of file create_input.py.
create_input.canvas4 = ROOT.TCanvas() |
Definition at line 273 of file create_input.py.
create_input.ct_christophe = file_christophe.Get("sigma24") |
Definition at line 30 of file create_input.py.
create_input.ct_sys_christophe = file_christophe.Get("systSigma") |
Definition at line 33 of file create_input.py.
create_input.f_ua2mev = ROOT.TFile.Open("~/uA2MeV.root") |
Definition at line 296 of file create_input.py.
create_input.file_christophe = ROOT.TFile("~/ElectronEnergyScaleFactor.root") |
Definition at line 28 of file create_input.py.
def create_input.histo_ct = merge_histograms(old_ct_histogram, ct_christophe) |
Definition at line 200 of file create_input.py.
def create_input.histo_scale = merge_histograms(old_scale_histogram, scales_christophe) |
Definition at line 199 of file create_input.py.
create_input.histo_ua2mev = f_ua2mev.Get("histo_uA2MeV_week12") |
Definition at line 297 of file create_input.py.
create_input.legend3 = ROOT.TLegend(0.6, 0.7, 0.9, 0.9) |
Definition at line 256 of file create_input.py.
create_input.legend4 = ROOT.TLegend(0.6, 0.7, 0.9, 0.9) |
Definition at line 271 of file create_input.py.
def create_input.new_ct_sys = qsum_histograms(ct_sys_christophe, old_ct_sys) |
Definition at line 245 of file create_input.py.
def create_input.new_scale_sys = qsum_histograms(scales_sys_christophe, old_scale_sys) |
Definition at line 244 of file create_input.py.
create_input.old_ct_histogram = old_file.Get("Resolution/es2012c/ctZee_errStat") |
Definition at line 19 of file create_input.py.
create_input.old_ct_sys = old_file.Get("Resolution/es2012c/ctZee_errSyst") |
Definition at line 21 of file create_input.py.
create_input.old_file = ROOT.TFile.Open(old_filename) |
Definition at line 17 of file create_input.py.
string create_input.old_filename = "/home/turra/simon/latest_simon.root" |
Definition at line 16 of file create_input.py.
create_input.old_scale_histogram = old_file.Get("Scales/es2012c/alphaZee_errStat") |
Definition at line 18 of file create_input.py.
create_input.old_scale_sys = old_file.Get("Scales/es2012c/alphaZee_errSyst") |
Definition at line 20 of file create_input.py.
create_input.output_file = ROOT.TFile("xxx.root", "update") |
Definition at line 234 of file create_input.py.
create_input.scales_christophe = file_christophe.Get("alpha68") |
Definition at line 29 of file create_input.py.
create_input.scales_sys_christophe = file_christophe.Get("systAlpha") |
Definition at line 32 of file create_input.py.
create_input.stefano_file = ROOT.TFile("egammaEnergyCorrectionDataMC15.root") |
Definition at line 288 of file create_input.py.