Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
add_histos.py File Reference

Go to the source code of this file.

Namespaces

namespace  add_histos
 

Variables

string add_histos.dirName './Files/'
 
list add_histos.bXs [1508071, 3016509, 4524020, 6032112, 7540028, 9048092, 10556072, 12064371, 13572143, 15080178, 16588072, 18096105]
 
list add_histos.h_names
 
string add_histos.name 'hist_G4Hits_sHijing_0-12fm_bX{}'
 
string add_histos.outputName './Files/Summary_ADC_NoW_hist_AA_event_0_bX{}.root'
 
list add_histos.files [f for f in os.listdir(dirName) if re.match(name, f)]
 
int add_histos.n 0
 
list add_histos.histos []
 
int add_histos.h 0
 
tuple add_histos.f TFile.Open(dirName+file)
 
string add_histos.newName '_{}'
 
tuple add_histos.hist f.Get(h_name)
 
tuple add_histos.outfile TFile(outputName, "RECREATE")