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

Go to the source code of this file.

Namespaces

 merge_scale_histograms
 

Functions

def merge_scale_histograms.merge_histograms (old, new, merge_error=True)
 

Variables

string merge_scale_histograms.doc
 
 merge_scale_histograms.IgnoreCommandLineOptions
 
 merge_scale_histograms.level
 
 merge_scale_histograms.parser
 
 merge_scale_histograms.help
 
 merge_scale_histograms.action
 
 merge_scale_histograms.default
 
 merge_scale_histograms.args = parser.parse_args()
 
 merge_scale_histograms.file_old = ROOT.TFile.Open(args.histo_old.split(":")[0])
 
 merge_scale_histograms.file_new = ROOT.TFile.Open(args.histo_new.split(":")[0])
 
 merge_scale_histograms.histo_old = file_old.Get(args.histo_old.split(":")[1])
 
 merge_scale_histograms.histo_new = file_new.Get(args.histo_new.split(":")[1])
 
def merge_scale_histograms.histo_merged = merge_histograms(histo_old, histo_new)
 
 merge_scale_histograms.canvas = ROOT.TCanvas()
 
 merge_scale_histograms.legend = ROOT.TLegend(0.6, 0.7, 0.9, 0.9)
 
 merge_scale_histograms.fout
 
 merge_scale_histograms.name = args.name or histo_old.GetName()