CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Variables
isotrackRootTreeMaker.py File Reference

Go to the source code of this file.

Namespaces

 isotrackRootTreeMaker
 

Variables

list isotrackRootTreeMaker.branchesnpu = ['t_Event','t_ieta','t_iphi','t_p','t_eHcal','t_eHcal10','t_eHcal30']
 
list isotrackRootTreeMaker.branchespu = ['t_Run','t_Event','t_nVtx','t_ieta','t_iphi','t_p','t_pt','t_gentrackP','t_eMipDR','t_eHcal','t_eHcal10','t_eHcal30','t_hmaxNearP','t_emaxNearP','t_hAnnular','t_eAnnular','t_rhoh','t_selectTk','t_qltyFlag']
 
tuple isotrackRootTreeMaker.cuts3 = (merged['t_selectTk'])
 split ieta > 24 More...
 
tuple isotrackRootTreeMaker.dfsnpu = pd.DataFrame.from_dict(dictnpu)
 
tuple isotrackRootTreeMaker.dfspu = pd.DataFrame.from_dict(dictpu)
 
tuple isotrackRootTreeMaker.dictnpu = tree2.arrays(branches=branchesnpu)
 
tuple isotrackRootTreeMaker.dictpu = tree1.arrays(branches=branchespu)
 
list isotrackRootTreeMaker.final_df_hi = merged3[keepvars]
 
tuple isotrackRootTreeMaker.fName1 = parser.parse_args()
 
tuple isotrackRootTreeMaker.fName2 = parser.parse_args()
 
tuple isotrackRootTreeMaker.foutput = parser.parse_args()
 
list isotrackRootTreeMaker.keepvars = ['t_nVtx','t_ieta','t_eHcal10_x','t_eHcal30_x','t_delta_x','t_eHcal10_y','t_eHcal30_y','t_delta_y','t_hmaxNearP','t_emaxNearP','t_hAnnular','t_eAnnular','t_rhoh','t_pt','t_eHcal_x','t_eHcal_y','t_p_x','t_p_y','t_eMipDR']
 
tuple isotrackRootTreeMaker.merged = pd.merge(dfspu, dfsnpu , on=['t_Event','t_ieta','t_iphi'])
 
list isotrackRootTreeMaker.merged3 = merged.loc[cuts3]
 
tuple isotrackRootTreeMaker.parser = argparse.ArgumentParser()
 
tuple isotrackRootTreeMaker.tree1 = uproot.open(fName1,xrootdsource=dict(chunkbytes=1024**3, limitbytes=1024**3))
 
tuple isotrackRootTreeMaker.tree2 = uproot.open(fName2,xrootdsource=dict(chunkbytes=1024**3, limitbytes=1024**3))