CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
isotrackRootTreeMaker Namespace Reference

Variables

list branchesnpu = ['t_Event','t_ieta','t_iphi','t_p','t_eHcal','t_eHcal10','t_eHcal30']
 
list 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 cuts3 = (merged['t_selectTk'])
 split ieta > 24 More...
 
tuple dfsnpu = pd.DataFrame.from_dict(dictnpu)
 
tuple dfspu = pd.DataFrame.from_dict(dictpu)
 
tuple dictnpu = tree2.arrays(branches=branchesnpu)
 
tuple dictpu = tree1.arrays(branches=branchespu)
 
list final_df_hi = merged3[keepvars]
 
tuple fName1 = parser.parse_args()
 
tuple fName2 = parser.parse_args()
 
tuple foutput = parser.parse_args()
 
list 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 merged = pd.merge(dfspu, dfsnpu , on=['t_Event','t_ieta','t_iphi'])
 
list merged3 = merged.loc[cuts3]
 
tuple parser = argparse.ArgumentParser()
 
tuple tree1 = uproot.open(fName1,xrootdsource=dict(chunkbytes=1024**3, limitbytes=1024**3))
 
tuple tree2 = uproot.open(fName2,xrootdsource=dict(chunkbytes=1024**3, limitbytes=1024**3))
 

Variable Documentation

list isotrackRootTreeMaker.branchesnpu = ['t_Event','t_ieta','t_iphi','t_p','t_eHcal','t_eHcal10','t_eHcal30']

Definition at line 32 of file isotrackRootTreeMaker.py.

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']

Definition at line 31 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.cuts3 = (merged['t_selectTk'])

split ieta > 24

Definition at line 79 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.dfsnpu = pd.DataFrame.from_dict(dictnpu)

Definition at line 38 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.dfspu = pd.DataFrame.from_dict(dictpu)

Definition at line 36 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.dictnpu = tree2.arrays(branches=branchesnpu)

Definition at line 35 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.dictpu = tree1.arrays(branches=branchespu)

Definition at line 34 of file isotrackRootTreeMaker.py.

list isotrackRootTreeMaker.final_df_hi = merged3[keepvars]

Definition at line 86 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.fName1 = parser.parse_args()

Definition at line 19 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.fName2 = parser.parse_args()

Definition at line 20 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.foutput = parser.parse_args()

Definition at line 21 of file isotrackRootTreeMaker.py.

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']

Definition at line 47 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.merged = pd.merge(dfspu, dfsnpu , on=['t_Event','t_ieta','t_iphi'])

Definition at line 44 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.merged3 = merged.loc[cuts3]

Definition at line 80 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.parser = argparse.ArgumentParser()

Definition at line 14 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.tree1 = uproot.open(fName1,xrootdsource=dict(chunkbytes=1024**3, limitbytes=1024**3))

Definition at line 24 of file isotrackRootTreeMaker.py.

tuple isotrackRootTreeMaker.tree2 = uproot.open(fName2,xrootdsource=dict(chunkbytes=1024**3, limitbytes=1024**3))

Definition at line 27 of file isotrackRootTreeMaker.py.