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

Variables

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

Variable Documentation

list add_histos.bXs [1508071, 3016509, 4524020, 6032112, 7540028, 9048092, 10556072, 12064371, 13572143, 15080178, 16588072, 18096105]

Definition at line 9 of file add_histos.py.

View newest version in sPHENIX GitHub at line 9 of file add_histos.py

Referenced by Fun4All_FillChargesMap_300evts_MDC2(), Fun4All_FillDCMap(), and readBeamXings().

string add_histos.dirName './Files/'

Definition at line 8 of file add_histos.py.

View newest version in sPHENIX GitHub at line 8 of file add_histos.py

tuple add_histos.f TFile.Open(dirName+file)

Definition at line 26 of file add_histos.py.

View newest version in sPHENIX GitHub at line 26 of file add_histos.py

add_histos.filePattern dirName+name

Definition at line 23 of file add_histos.py.

View newest version in sPHENIX GitHub at line 23 of file add_histos.py

tuple add_histos.files [f for f in os.listdir(dirName) if re.match(name, f)]

Definition at line 21 of file add_histos.py.

View newest version in sPHENIX GitHub at line 21 of file add_histos.py

Referenced by compareRootFiles(), and MergeFiles().

int add_histos.h 0

Definition at line 25 of file add_histos.py.

View newest version in sPHENIX GitHub at line 25 of file add_histos.py

list add_histos.h_names
Initial value:
1 ['_h_DC_E',
2  '_h_DC_SC',
3  '_h_DC_SC_XY',
4  '_h_R',
5  '_h_SC_ibf',
6  '_h_hits']

Definition at line 10 of file add_histos.py.

View newest version in sPHENIX GitHub at line 10 of file add_histos.py

int add_histos.n 0

Definition at line 22 of file add_histos.py.

View newest version in sPHENIX GitHub at line 22 of file add_histos.py

string add_histos.name 'hist_G4Hits_sHijing_0-12fm_bX{}'

Definition at line 19 of file add_histos.py.

View newest version in sPHENIX GitHub at line 19 of file add_histos.py

string add_histos.newName '_{}'

Definition at line 28 of file add_histos.py.

View newest version in sPHENIX GitHub at line 28 of file add_histos.py

string add_histos.outputName './Files/Summary_ADC_NoW_hist_AA_event_0_bX{}.root'

Definition at line 20 of file add_histos.py.

View newest version in sPHENIX GitHub at line 20 of file add_histos.py

Referenced by Acts::Python.addOutput(), and Acts::GeometryView3D.drawTrackingVolume().