EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
charm_jet_coverage.py File Reference

Go to the source code of this file.

Namespaces

namespace  charm_jet_coverage
 

Variables

tuple charm_jet_coverage.parser argparse.ArgumentParser()
 
string charm_jet_coverage.help "Directory containing input files"
 
tuple charm_jet_coverage.args parser.parse_args()
 
string charm_jet_coverage.pt_name "Jet.PT"
 
string charm_jet_coverage.eta_name "Jet.Eta"
 
string charm_jet_coverage.flavor_name "Jet.Flavor"
 
list charm_jet_coverage.branchlist [pt_name, eta_name, flavor_name]
 
tuple charm_jet_coverage.df eat.UprootLoad([f"../{args.input}/*/out.root"], "Delphes", branches=branchlist)
 
tuple charm_jet_coverage.n_gen len(df)
 
tuple charm_jet_coverage.jet_pt np.concatenate(df[pt_name].to_numpy())
 
tuple charm_jet_coverage.jet_eta np.concatenate(df[eta_name].to_numpy())
 
tuple charm_jet_coverage.jet_flavor np.concatenate(df[flavor_name].to_numpy())
 
int charm_jet_coverage.jet_theta 2
 
tuple charm_jet_coverage.jet_p jet_pt*np.cosh(jet_eta)
 
tuple charm_jet_coverage.charm_flavor ( jet_flavor == 4 )
 
tuple charm_jet_coverage.angles np.radians(np.linspace(0, 180, 90))
 
tuple charm_jet_coverage.mom np.linspace(0,100,10)
 
string charm_jet_coverage.xlabel "Jet $p_T$ [GeV]"
 
list charm_jet_coverage.xvals jet_pt[charm_flavor]
 
list charm_jet_coverage.thetavals jet_theta[charm_flavor]
 
list charm_jet_coverage.list [0,np.pi/6,np.pi/3,np.pi/2,4*np.pi/6,5*np.pi/6,np.pi]