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

Go to the source code of this file.

Namespaces

 rename_histos_in_files_from_old_code
 

Functions

def rename_histos_in_files_from_old_code.get_name_associations (list)
 

Variables

string rename_histos_in_files_from_old_code.input_file_name = '/afs/cern.ch/user/j/juhofer/WORK/validation/data/QSP_on/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.merge.NTUP_PHYSVAL.e4993_s3641_r12287_p4360_p3821_tid24086162_00/NTUP_PHYSVAL.24086162._000001.pool.root.1'
 
string rename_histos_in_files_from_old_code.production_process = 'ttbar'
 
bool rename_histos_in_files_from_old_code.verbose = False
 
list rename_histos_in_files_from_old_code.jet_collections
 
list rename_histos_in_files_from_old_code.var_name_list
 don't change here More...
 
list rename_histos_in_files_from_old_code.name_list = []
 
def rename_histos_in_files_from_old_code.name_associations = get_name_associations(name_list)
 
string rename_histos_in_files_from_old_code.output_file_name = input_file_name[:-5] + '_renamed.root'
 
 rename_histos_in_files_from_old_code.output_file = ROOT.TFile(output_file_name, 'RECREATE')
 
string rename_histos_in_files_from_old_code.path = "BTag/" + jet_col + "/"
 
 rename_histos_in_files_from_old_code.input_file = ROOT.TFile(input_file_name, 'READ')
 
 rename_histos_in_files_from_old_code.currentdir = ROOT.gDirectory.GetPath()
 
 rename_histos_in_files_from_old_code.dirlist = input_file.Get(currentdir).GetListOfKeys()
 
list rename_histos_in_files_from_old_code.histograms = []
 
 rename_histos_in_files_from_old_code.obj = subdir.ReadObj()
 
 rename_histos_in_files_from_old_code.new_histo = obj