import sys import os INfile = "Aqi_Beijing_TempM.txt" BIN_Num = 100 N_sigma = 4 ## Skiming of txt outof specific sigma region os.system("rd /s /q python_2D_scatter") os.system("rd /s /q python_plots") os.system("rd /s /s python_hist_texts") sys.path.append("../../../../func") from d1_remake_txt import MakeTXT from txt_cut_apply import cut_apply from d0_Nsigma_skiming import N_sigma_skimming INFile = MakeTXT(INfile) Infile_1 = cut_apply(INFile) Infile = N_sigma_skimming(Infile_1, N_sigma) #sys.path.append("../../func") from RAW_to_HIST_txt import Converting from RAW_to_HIST_txt_largeBin import Converting_largeBin from man_pyscat import man_py_scatter man_py_scatter(INfile) os.system("mkdir python_2D_scatter") os.system("move *_others*.pdf python_2D_scatter") TXT_FILE_LIST = Converting(Infile, NBINS=BIN_Num) TXT_FILE_LIST_largeBin = Converting_largeBin(Infile) #sys.path.append("/Users/leejunho/Desktop/git/python3Env/group_study/project_pre/func") #sys.path.append("../../func")
Marker_style = ",2" poly19_fit = ",0" TH1D_transfer = 1 TH2D_transfer = 1 if TH2D_transfer == 1: TH2D_colz_surf3 = 1 TH2D_profileX = 1 PYTHON_HIST = 1 sys.path.append( "/Users/leejunho/Desktop/git/python3Env/group_study/project_pre/func") from d1_remake_txt import MakeTXT from txt_cut_apply_py2 import cut_apply from d0_Nsigma_skiming import N_sigma_skimming Infile = MakeTXT(INfile) Infile = cut_apply(Infile) Infile = N_sigma_skimming(Infile, N_sigma) sys.path.append( "/Users/leejunho/Desktop/git/python3Env/group_study/fruit_team/ROOT/Project/functions/rawTxt_Tree_root" ) from Raw_text_to_Tree_root import Raw_text_to_Tree_root To_Tree = Raw_text_to_Tree_root(Infile, ".") #To_Tree = "/Users/leejunho/Desktop/git/My_git/My_temp/n43_VBSWW_LL_TT_TL_lhe/madspin_root_generator/output_madspin_VBSWW_1_small.root" print("\n********************************************************************") print("** THIS is before cut applied **") print("Name_OF_Tree->MakeClass('NAME OF YOUR CODE')") print("********************************************************************")