#from Tree_to_D1H_CutnGenerate import REGENERATE_TREE_WITH_CUT NEW_Tree_PATH = REGENERATE_TREE_WITH_CUT(To_Tree, ".") if TGraph_2d_basic == 1: TGraph_2D_basic = "root -l -q /Users/leejunho/Desktop/git/python3Env/group_study/fruit_team/ROOT/Project/functions/TGraph_saver/Tree_branches_to_vector.C\(" + "'" + '"' + NEW_Tree_PATH + '"' + "'" + Marker_style + poly19_fit + "\)" os.system(TGraph_2D_basic) # os.system("rm -rf ROOT_TGraph_basic") os.system("mkdir ROOT_TGraph_basic") os.system("mv *basic_*.pdf ROOT_TGraph_basic") from Tree_to_D2H_Convert import CONVERT_WORKING2D from Tree_to_D1H_Convert import CONVERT_WORKING if PYTHON_HIST == 1: from Tree_to_D1H_Convert_largeBin import CONVERT_WORKING_largeBin if TH1D_transfer == 1: HistROOT_PATH = CONVERT_WORKING(NEW_Tree_PATH, "", D1_NBins=oneD_NBins) if PYTHON_HIST == 1: HistROOT_PATH_largeBin = CONVERT_WORKING_largeBin(NEW_Tree_PATH, "") if TH2D_transfer == 1: HistROOT_PATH_2D = CONVERT_WORKING2D(NEW_Tree_PATH, "", NBins=BIN_Num_2D, NYBins=YBIN_Num_2D) if TH2D_colz_surf3 == 1: twoD_plot_save = "root -l -q /Users/leejunho/Desktop/git/python3Env/group_study/fruit_team/ROOT/Project/functions/2Dplots_Saver/TwoD_Plot_Saver_default.C\(" + "'" + '"' + HistROOT_PATH_2D + '"' + "'" + "\)" os.system(twoD_plot_save) #os.system("mkdir ROOT_2D_defalut") # os.system("rm -rf ROOT_2D_colz") # os.system("rm -rf ROOT_2D_surf3") os.system("mkdir ROOT_2D_colz") os.system("mkdir ROOT_2D_surf3")
"../output_files/tea_0323Fri_LA_s_P_n_N.txt", "../output_files/tea_0324Sat_LA_s_P_n_N.txt", "../output_files/tea_0325Sun_LA_s_P_n_N.txt" ] for Infile in Jinfile: from Raw_text_to_Tree_root import Raw_text_to_Tree_root To_Tree = Raw_text_to_Tree_root(Infile, ".") # from Tree_to_D1H_CutnGenerate import REGENERATE_TREE_WITH_CUT # NEW_Tree_PATH = REGENERATE_TREE_WITH_CUT(To_Tree,".") NEW_Tree_PATH = To_Tree #from Tree_to_D2H_Convert import CONVERT_WORKING2D from Tree_to_D1H_Convert import CONVERT_WORKING HistROOT_PATH = CONVERT_WORKING(NEW_Tree_PATH, "") #CONVERT_WORKING2D(NEW_Tree_PATH,"") sys.path.append( "/Users/leejunho/Desktop/git/python3Env/group_study/fruit_team/ROOT/Project/functions/rootHist_TXT/func" ) from D1H_rootHist_TXT_conversion import D1H_roothist_to_txt TXT_FILE_LIST = D1H_roothist_to_txt(HistROOT_PATH, "") sys.path.append( "/Users/leejunho/Desktop/git/python3Env/group_study/project_pre/func") from c1_basic_statistic import * from c2_basic_histo_plotting import Basic_histo from c3_Fit_Gaus_histo_plotting import Fit_Gaus_histo for Input_file in TXT_FILE_LIST: print("The file Name is :", Input_file)