ATLAS Offline Software
Namespaces | Functions | Variables
create_input.py File Reference

Go to the source code of this file.

Namespaces

 create_input
 

Functions

def create_input.qsum_histograms (histo1, histo2)
 
def create_input.copy_bin (histo, eta_range)
 
def create_input.copy_dir (source, destination)
 
def create_input.create_structured_file (path)
 
def create_input.create_new_directories (output_file)
 
def create_input.merge_histograms (old, new, merge_error=True)
 

Variables

string create_input.old_filename = "/home/turra/simon/latest_simon.root"
 
 create_input.old_file = ROOT.TFile.Open(old_filename)
 
 create_input.old_scale_histogram = old_file.Get("Scales/es2012c/alphaZee_errStat")
 
 create_input.old_ct_histogram = old_file.Get("Resolution/es2012c/ctZee_errStat")
 
 create_input.old_scale_sys = old_file.Get("Scales/es2012c/alphaZee_errSyst")
 
 create_input.old_ct_sys = old_file.Get("Resolution/es2012c/ctZee_errSyst")
 
 create_input.file_christophe = ROOT.TFile("~/ElectronEnergyScaleFactor.root")
 
 create_input.scales_christophe = file_christophe.Get("alpha68")
 
 create_input.ct_christophe = file_christophe.Get("sigma24")
 
 create_input.scales_sys_christophe = file_christophe.Get("systAlpha")
 
 create_input.ct_sys_christophe = file_christophe.Get("systSigma")
 
def create_input.histo_scale = merge_histograms(old_scale_histogram, scales_christophe)
 
def create_input.histo_ct = merge_histograms(old_ct_histogram, ct_christophe)
 
 create_input.canvas1 = ROOT.TCanvas()
 
 create_input.canvas2 = ROOT.TCanvas()
 
 create_input.output_file = ROOT.TFile("xxx.root", "update")
 
def create_input.new_scale_sys = qsum_histograms(scales_sys_christophe, old_scale_sys)
 
def create_input.new_ct_sys = qsum_histograms(ct_sys_christophe, old_ct_sys)
 
 create_input.legend3 = ROOT.TLegend(0.6, 0.7, 0.9, 0.9)
 
 create_input.canvas3 = ROOT.TCanvas()
 
 create_input.legend4 = ROOT.TLegend(0.6, 0.7, 0.9, 0.9)
 
 create_input.canvas4 = ROOT.TCanvas()
 
 create_input.stefano_file = ROOT.TFile("egammaEnergyCorrectionDataMC15.root")
 
 create_input.f_ua2mev = ROOT.TFile.Open("~/uA2MeV.root")
 
 create_input.histo_ua2mev = f_ua2mev.Get("histo_uA2MeV_week12")